Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e95d41e1 authored by Daniel Vetter's avatar Daniel Vetter
Browse files

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: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 572deb37
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -3096,9 +3096,7 @@ static void ironlake_pch_enable(struct drm_crtc *crtc)
			temp |= TRANS_DP_PORT_SEL_D;
			break;
		default:
			DRM_DEBUG_KMS("Wrong PCH DP port return. Guess port B\n");
			temp |= TRANS_DP_PORT_SEL_B;
			break;
			BUG();
		}

		I915_WRITE(reg, temp);