drm/i915: apply CS reg readback trick against missed IRQ on snb
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Mar 2012 07:31:24 +0000 (09:31 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 1 Apr 2012 10:30:24 +0000 (12:30 +0200)
commit1c7eaac737e4cca24703531ebcb566afc3ed285f
treecfdbf8ca115e1de50e83f6f9f049144f901ddecb
parent25e341cfc33d94435472983825163e97fe370a6c
drm/i915: apply CS reg readback trick against missed IRQ on snb

Ben Widawsky reported missed IRQ issues and this patch here helps.

We have one other missed IRQ report still left on snb, reported by QA:

https://bugs.freedesktop.org/show_bug.cgi?id=46145

This is _not_ a regression due to the forcewake voodoo though, it
started showing up before that was applied and has been on-and-off for
the past few weeks. According to QA this patch does not help. But the
missed IRQ is always from the blt ring (despite running piglit, so
also render activity expected), so I'm hopefully that this is an issue
with the blt ring itself.

Tested-by: Ben Widawsky <ben@bwidawsk.net>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c