mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 10:59:04 +07:00
drm/i915/skl: Explicitly check for eDP in skl_ddi_pll_select()
Assuming any connector that isn't DP, MST, or HDMI is eDP definitely seems likely to cover up other bugs in the future. Signed-off-by: Lyude <cpaul@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1454423709-21882-2-git-send-email-cpaul@redhat.com
This commit is contained in:
parent
78385cb398
commit
5a01d5b613
@ -1546,8 +1546,10 @@ skl_ddi_pll_select(struct intel_crtc *intel_crtc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
cfgcr1 = cfgcr2 = 0;
|
cfgcr1 = cfgcr2 = 0;
|
||||||
} else /* eDP */
|
} else if (intel_encoder->type == INTEL_OUTPUT_EDP) {
|
||||||
return true;
|
return true;
|
||||||
|
} else
|
||||||
|
return false;
|
||||||
|
|
||||||
memset(&crtc_state->dpll_hw_state, 0,
|
memset(&crtc_state->dpll_hw_state, 0,
|
||||||
sizeof(crtc_state->dpll_hw_state));
|
sizeof(crtc_state->dpll_hw_state));
|
||||||
|
Loading…
Reference in New Issue
Block a user