From: Zeyu Fan Date: Tue, 17 Jan 2017 20:14:11 +0000 (-0500) Subject: drm/amd/display: Fix missing conditions in hw sequencer. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=009432e58159e640e942092ca68d78f589549d14;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Fix missing conditions in hw sequencer. Signed-off-by: Zeyu Fan Acked-by: Harry Wentland Reviewed-by: Tony Cheng Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c b/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c index cd9a371ae237..0eee135bfa54 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c @@ -160,7 +160,7 @@ void dce_crtc_switch_to_clk_src(struct dce_hwseq *hws, struct clock_source *clk_src, unsigned int tg_inst) { - if (clk_src->id == CLOCK_SOURCE_ID_DP_DTO) { + if (clk_src->id == CLOCK_SOURCE_ID_DP_DTO || clk_src->dp_clk_src) { REG_UPDATE(PIXEL_RATE_CNTL[tg_inst], DP_DTO0_ENABLE, 1);