drm/i915: Discard some redundant cache domain flushes
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 14 Jun 2019 11:10:52 +0000 (12:10 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 14 Jun 2019 11:16:30 +0000 (12:16 +0100)
commita09507682e45d62e64c93cdb810de6a280424f17
tree98d93f487c6fa7ec80cbe8b3cd27f1e68351324f
parent5e3fb2a5b528bbb6090bea3f345eb72d8c8b808d
drm/i915: Discard some redundant cache domain flushes

Since commit a679f58d0510 ("drm/i915: Flush pages on acquisition"), we
flush objects on acquire their pages and as such when we create an
object for the purpose of writing into it, we do not need to manually
flush.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190614111053.25615-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
drivers/gpu/drm/i915/gt/selftest_workarounds.c
drivers/gpu/drm/i915/intel_guc_log.c
drivers/gpu/drm/i915/intel_overlay.c