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)
commitd0da48cf92110bfbdcc01ec1398a32b6cbf2d47e
tree12d72a6fb7580be94b086f0a864608d1aaee3437
parent24327f837f07fbab99fe3d4abb1e4158e7ca2d76
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 dcd79934b0dd ("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