summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lichmanov <Andrew.Lichmanov@amd.com>2026-06-19 15:04:15 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-07-01 11:38:23 -0400
commit94b9b67fec954dc7cfdb22164ca00e5980307a1e (patch)
tree03ead20c7c10939e4d768b8cbd1d3742650ed6f1
parent1cc0fbdd9578cf9755bf571f5a3ef44dbe388dee (diff)
downloadlinux-stable-94b9b67fec954dc7cfdb22164ca00e5980307a1e.tar.gz
linux-stable-94b9b67fec954dc7cfdb22164ca00e5980307a1e.zip
drm/amd/display: Disable mem gating for DCHVM on DCHVM init
[Why] Hang occurs with global gating enabled if req=1 Reviewed-by: Leo Chen <leo.chen@amd.com> Signed-off-by: Andrew Lichmanov <Andrew.Lichmanov@amd.com> Signed-off-by: George Zhang <george.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/hubbub/dcn35/dcn35_hubbub.c2
1 files changed, 1 insertions, 1 deletions
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,