summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeyu Fan <Zeyu.Fan@amd.com>2017-01-17 15:14:11 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:11:03 -0400
commit009432e58159e640e942092ca68d78f589549d14 (patch)
treed046bcd68dd81ce70839f72e9237ee6b1e4e32f3
parent8693049a896c2c3a2bb74f0efde62318636beaef (diff)
downloadlinux-stable-009432e58159e640e942092ca68d78f589549d14.tar.gz
linux-stable-009432e58159e640e942092ca68d78f589549d14.tar.bz2
linux-stable-009432e58159e640e942092ca68d78f589549d14.zip
drm/amd/display: Fix missing conditions in hw sequencer.
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>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c2
1 files changed, 1 insertions, 1 deletions
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);