]> 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)
commitbe1122dc39eb38ae018674aec8ae4d3934b10a27
tree98d93f487c6fa7ec80cbe8b3cd27f1e68351324f
parent0d7ae99ed5f5f1684e7df0832de55ace0af59ea6
drm/i915: Discard some redundant cache domain flushes

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