drm/i915: Drop forcewake w/a for missed interrupts/seqno on Sandybridge
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 Nov 2013 20:35:24 +0000 (20:35 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Nov 2013 09:27:55 +0000 (10:27 +0100)
commit67e5871be82fec1451801d448b51d9a403d1ffac
tree973f16debeeee5678268e502b827f704f9d973f0
parent5ed1678206a392ac509cd1f6415df74b9008aa9a
drm/i915: Drop forcewake w/a for missed interrupts/seqno on Sandybridge

I believe, and an evening of i-g-t, that our original workaround for the
missed interrupts on Sandybridge, that of holding forcewake whilst we
wait for an interrupts, is no longer required. This leaves us dependent
on the second workaround of forcing an UC read of the ACTHD before
reading back the seqno from the snooped HWS. Dropping the forcewake
should allow us to conserve a little power, not much as the GPU is meant
to be busy whilst we wait for it!

Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c