diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-04-12 14:01:10 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-04-12 14:35:16 +0300 |
commit | ef74921bc679232c6590afa881d3ea605ebdddd8 (patch) | |
tree | 486080f33b4d2e9d2bdebea6dcfeb3de6a4c13e9 /drivers/gpu/drm/i915/intel_guc_log.c | |
parent | aab9094b032528da1b32cc5203964075cd04d5be (diff) | |
download | linux-ef74921bc679232c6590afa881d3ea605ebdddd8.tar.xz |
drm/i915: Combine write_domain flushes to a single function
In the next patch, we will introduce a new cache domain for
differentiating between GTT access and direct WC access. This will
require us to include WC in our write_domain flushes. Rather than
duplicate a third function, combine the existing two into one and
flushing WC writes will then be automatically handled as well.
v2: Be smarter and clearer by passing in the write domains to flush (Joonas)
v3: One missed ~ in v2 conversion
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170412110111.26626-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_guc_log.c')
0 files changed, 0 insertions, 0 deletions