drm/i915: BUG on impossible pch dp port
Since it is one. We need to move this code to encoder specific callbacks eventually, to kill all that inversion of control ... Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
572deb3728
commit
e95d41e123
|
@ -3096,9 +3096,7 @@ static void ironlake_pch_enable(struct drm_crtc *crtc)
|
||||||
temp |= TRANS_DP_PORT_SEL_D;
|
temp |= TRANS_DP_PORT_SEL_D;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
DRM_DEBUG_KMS("Wrong PCH DP port return. Guess port B\n");
|
BUG();
|
||||||
temp |= TRANS_DP_PORT_SEL_B;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
I915_WRITE(reg, temp);
|
I915_WRITE(reg, temp);
|
||||||
|
|
Loading…
Reference in New Issue