mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-23 18:56:40 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
1cc0fbdd95
commit
94b9b67fec
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user