]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove chipset flush after cache flush
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 6 Nov 2016 12:59:59 +0000 (12:59 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 8 Nov 2016 11:04:04 +0000 (11:04 +0000)
commit2fd262fdee2e005dca2128726118befb004e4f1f
tree12d72a6fb7580be94b086f0a864608d1aaee3437
parent672e17701816cdb9be7b29bb385100b049210255
drm/i915: Remove chipset flush after cache flush

We always flush the chipset prior to executing with the GPU, so we can
skip the flush during ordinary domain management.

This should help mitigate some of the potential performance regressions,
but likely trivial, from doing the flush unconditionally before execbuf
introduced in commit 85be9286142f ("drm/i915: Unconditionally flush any
chipset buffers before execbuf")

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20161106130001.9509-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c