drm/i915/dp: correct eDP lane count and bpp
With the old check we'd never set lane_count or bpp to different values on PCH attached eDP panels. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
committed by
Chris Wilson
parent
4d9264615b
commit
51190667b3
@@ -672,7 +672,9 @@ intel_dp_set_m_n(struct drm_crtc *crtc, struct drm_display_mode *mode,
|
|||||||
intel_dp = enc_to_intel_dp(encoder);
|
intel_dp = enc_to_intel_dp(encoder);
|
||||||
if (intel_dp->base.type == INTEL_OUTPUT_DISPLAYPORT) {
|
if (intel_dp->base.type == INTEL_OUTPUT_DISPLAYPORT) {
|
||||||
lane_count = intel_dp->lane_count;
|
lane_count = intel_dp->lane_count;
|
||||||
if (is_pch_edp(intel_dp))
|
break;
|
||||||
|
} else if (is_edp(intel_dp)) {
|
||||||
|
lane_count = dev_priv->edp.lanes;
|
||||||
bpp = dev_priv->edp.bpp;
|
bpp = dev_priv->edp.bpp;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user