]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e552d379d84fe8c65f2dc1b1cbd0153c1e98cc3
tree98d93f487c6fa7ec80cbe8b3cd27f1e68351324f
parent119a3751029de2b02ebc6f42acc34ef2cfa31adb
drm/i915: Discard some redundant cache domain flushes

Since commit ab1030e9a338 ("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