From: Muhammad Ahmed <[email protected]>

[Why]
disable clock gating logic reversed bug fix

Reviewed-by: Charlene Liu <[email protected]>
Acked-by: Stylon Wang <[email protected]>
Signed-off-by: Muhammad Ahmed <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.c | 4 ++--
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.c 
b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.c
index 7445ed27852a..1f4e0b6261ad 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.c
@@ -1018,8 +1018,8 @@ void hubbub31_init(struct hubbub *hubbub)
                /*done in hwseq*/
                /*REG_UPDATE(DCFCLK_CNTL, DCFCLK_GATE_DIS, 0);*/
                REG_UPDATE_2(DCHUBBUB_CLOCK_CNTL,
-                               DISPCLK_R_DCHUBBUB_GATE_DIS, 0,
-                               DCFCLK_R_DCHUBBUB_GATE_DIS, 0);
+                               DISPCLK_R_DCHUBBUB_GATE_DIS, 1,
+                               DCFCLK_R_DCHUBBUB_GATE_DIS, 1);
        }
 
        /*
diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.c 
b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.c
index a18b9c0c5709..8bfef6d095b2 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.c
@@ -955,8 +955,8 @@ void hubbub32_init(struct hubbub *hubbub)
                /*REG_UPDATE(DCFCLK_CNTL, DCFCLK_GATE_DIS, 0);*/
 
                REG_UPDATE_2(DCHUBBUB_CLOCK_CNTL,
-                       DISPCLK_R_DCHUBBUB_GATE_DIS, 0,
-                       DCFCLK_R_DCHUBBUB_GATE_DIS, 0);
+                       DISPCLK_R_DCHUBBUB_GATE_DIS, 1,
+                       DCFCLK_R_DCHUBBUB_GATE_DIS, 1);
        }
        /*
        ignore the "df_pre_cstate_req" from the SDP port control.
-- 
2.41.0

Reply via email to