From: Andrew Lichmanov <[email protected]>

[Why] Hang occurs with global gating enabled if req=1

Reviewed-by: Leo Chen <[email protected]>
Signed-off-by: Andrew Lichmanov <[email protected]>
Signed-off-by: George Zhang <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/hubbub/dcn35/dcn35_hubbub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/hubbub/dcn35/dcn35_hubbub.c 
b/drivers/gpu/drm/amd/display/dc/hubbub/dcn35/dcn35_hubbub.c
index 82d4e3e0e5e8..5e5a7a74346d 100644
--- a/drivers/gpu/drm/amd/display/dc/hubbub/dcn35/dcn35_hubbub.c
+++ b/drivers/gpu/drm/amd/display/dc/hubbub/dcn35/dcn35_hubbub.c
@@ -571,7 +571,7 @@ void dcn35_dchvm_init(struct hubbub *hubbub)
 
        if (riommu_active) {
                // Disable gating and memory power requests
-               REG_UPDATE(DCHVM_MEM_CTRL, HVM_GPUVMRET_PWR_REQ_DIS, 1);
+               REG_UPDATE_2(DCHVM_MEM_CTRL, HVM_GPUVMRET_PWR_REQ_DIS, 1, 
HVM_GPUVMRET_FORCE_REQ, 0);
                REG_UPDATE_4(DCHVM_CLK_CTRL,
                                                HVM_DISPCLK_R_GATE_DIS, 1,
                                                HVM_DISPCLK_G_GATE_DIS, 1,
-- 
2.53.0

Reply via email to