drm/i915: Assert that the transcoder is indeed off before modifying it
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 May 2012 08:21:25 +0000 (09:21 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 19 May 2012 20:39:52 +0000 (22:39 +0200)
commite7e164db6db292d6f804ec6cd25f29ff62dd0618
treece7f6e532436215857ab7ba1545f1525018cacd1
parentc14f52860e9e8a6e6db65b7d10dfea7c8f82aa1e
drm/i915: Assert that the transcoder is indeed off before modifying it

Inspired by a recent regression that seems to confuse pch transcoder
state, let's be a bit more paranoid.

References: https://bugs.freedesktop.org/show_bug.cgi?id=49712
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: Pimped commit message.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c