mirror of https://gitee.com/openkylin/linux.git
drm/i915: don't assert_pch_ports_disabled on LPT
That function is made for IBX. Running it on LPT will trigger tons of "unclaimed register" errors. The only port remaining on LPT is PCH_ADPA. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
25f3ef11cd
commit
69d3ed5a6f
|
@ -1774,9 +1774,6 @@ static void lpt_disable_pch_transcoder(struct drm_i915_private *dev_priv,
|
||||||
assert_fdi_tx_disabled(dev_priv, pipe);
|
assert_fdi_tx_disabled(dev_priv, pipe);
|
||||||
assert_fdi_rx_disabled(dev_priv, pipe);
|
assert_fdi_rx_disabled(dev_priv, pipe);
|
||||||
|
|
||||||
/* Ports must be off as well */
|
|
||||||
assert_pch_ports_disabled(dev_priv, pipe);
|
|
||||||
|
|
||||||
reg = TRANSCONF(pipe);
|
reg = TRANSCONF(pipe);
|
||||||
val = I915_READ(reg);
|
val = I915_READ(reg);
|
||||||
val &= ~TRANS_ENABLE;
|
val &= ~TRANS_ENABLE;
|
||||||
|
|
Loading…
Reference in New Issue