drm/i915: Disable AsyncFlip performance optimisations
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 20 Jan 2013 16:11:20 +0000 (16:11 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 22 Jan 2013 23:58:22 +0000 (00:58 +0100)
commit1c8c38c588ea91f8deeae21284840459d1bb58e3
treed712ba6c0702c7950e540d40608c584c8e64312e
parent014b34409fb2015f63663b6cafdf557fdf289628
drm/i915: Disable AsyncFlip performance optimisations

This is a required workarounds for all products, especially on gen6+
where it causes the command streamer to fail to parse instructions
following a WAIT_FOR_EVENT. We use WAIT_FOR_EVENT for synchronising
between the GPU and the display engines, and so this bit being unset may
cause hangs.

References: https://bugzilla.kernel.org/show_bug.cgi?id=52311
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ringbuffer.c