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 <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
[danvet: Pimped commit message.]
Signed-off-by: Daniel Vetter <[email protected]>
int pipe = intel_crtc->pipe;
u32 reg, temp;
+ assert_transcoder_disabled(dev_priv, pipe);
+
/* For PCH output, training FDI link */
dev_priv->display.fdi_link_train(crtc);