Skip to content

Commit 97c2eba

Browse files
Muhammad Ahmedalexdeucher
authored andcommitted
drm/amd/display: disable clock gating logic reversed bug fix
[Why] disable clock gating logic reversed bug fix Reviewed-by: Charlene Liu <charlene.liu@amd.com> Acked-by: Stylon Wang <stylon.wang@amd.com> Signed-off-by: Muhammad Ahmed <ahmed.ahmed@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent ad5594a commit 97c2eba

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,8 +1018,8 @@ void hubbub31_init(struct hubbub *hubbub)
10181018
/*done in hwseq*/
10191019
/*REG_UPDATE(DCFCLK_CNTL, DCFCLK_GATE_DIS, 0);*/
10201020
REG_UPDATE_2(DCHUBBUB_CLOCK_CNTL,
1021-
DISPCLK_R_DCHUBBUB_GATE_DIS, 0,
1022-
DCFCLK_R_DCHUBBUB_GATE_DIS, 0);
1021+
DISPCLK_R_DCHUBBUB_GATE_DIS, 1,
1022+
DCFCLK_R_DCHUBBUB_GATE_DIS, 1);
10231023
}
10241024

10251025
/*

drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,8 +955,8 @@ void hubbub32_init(struct hubbub *hubbub)
955955
/*REG_UPDATE(DCFCLK_CNTL, DCFCLK_GATE_DIS, 0);*/
956956

957957
REG_UPDATE_2(DCHUBBUB_CLOCK_CNTL,
958-
DISPCLK_R_DCHUBBUB_GATE_DIS, 0,
959-
DCFCLK_R_DCHUBBUB_GATE_DIS, 0);
958+
DISPCLK_R_DCHUBBUB_GATE_DIS, 1,
959+
DCFCLK_R_DCHUBBUB_GATE_DIS, 1);
960960
}
961961
/*
962962
ignore the "df_pre_cstate_req" from the SDP port control.

0 commit comments

Comments
 (0)