drm/amd/display: Fix missing conditions in hw sequencer.
authorZeyu Fan <Zeyu.Fan@amd.com>
Tue, 17 Jan 2017 20:14:11 +0000 (15:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:11:03 +0000 (17:11 -0400)
Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c

index cd9a371ae23745ea811e2d64a50a96325154a8c7..0eee135bfa540b9a7499ab0f74b647301b75ad83 100644 (file)
@@ -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);