summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorDamien Lespiau2013-05-03 19:48:11 +0200
committerDaniel Vetter2013-05-10 21:56:34 +0200
commit8693a824873a0a97be77c1d5f1e98777f06f7305 (patch)
treed3659a095b2c86a2af17bee2c8c90c6ee235d40b /drivers/gpu/drm/i915/intel_ringbuffer.c
parentdrm/i915: Add platform information to implemented workarounds (diff)
downloadkernel-qcow2-linux-8693a824873a0a97be77c1d5f1e98777f06f7305.tar.gz
kernel-qcow2-linux-8693a824873a0a97be77c1d5f1e98777f06f7305.tar.xz
kernel-qcow2-linux-8693a824873a0a97be77c1d5f1e98777f06f7305.zip
drm/i915: Add references to some workaround we implement
We did not mention the workaround name when implementing those. This should help us track what we already implement. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 1d5d613eb6be..3d2c236e15ab 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -515,6 +515,8 @@ static int init_render_ring(struct intel_ring_buffer *ring)
/* We need to disable the AsyncFlip performance optimisations in order
* to use MI_WAIT_FOR_EVENT within the CS. It should already be
* programmed to '1' on all products.
+ *
+ * WaDisableAsyncFlipPerfMode:snb,ivb,hsw,vlv
*/
if (INTEL_INFO(dev)->gen >= 6)
I915_WRITE(MI_MODE, _MASKED_BIT_ENABLE(ASYNC_FLIP_PERF_DISABLE));