[PATCH] drm/amd: disable GPA mode in backdoor load
Huang, Tim
Tim.Huang at amd.com
Thu Jun 9 11:23:31 UTC 2022
[AMD Official Use Only - General]
Reviewed-by: Tim Huang <Tim.Huang at amd.com>
-----Original Message-----
From: Zhang, Yifan <Yifan1.Zhang at amd.com>
Sent: Thursday, June 9, 2022 6:23 PM
To: amd-gfx at lists.freedesktop.org
Cc: Huang, Ray <Ray.Huang at amd.com>; Deucher, Alexander <Alexander.Deucher at amd.com>; Huang, Tim <Tim.Huang at amd.com>; Zhang, Yifan <Yifan1.Zhang at amd.com>
Subject: [PATCH] drm/amd: disable GPA mode in backdoor load
GPA mode should be disabled in direct load.
Signed-off-by: Yifan Zhang <yifan1.zhang at amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index e331ea387ef0..571f13eb139d 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -4562,6 +4562,9 @@ static int gfx_v11_0_hw_init(void *handle)
if (adev->gfx.imu.funcs->start_imu)
adev->gfx.imu.funcs->start_imu(adev);
}
+
+ /* disable gpa mode in backdoor loading */
+ gfx_v11_0_disable_gpa_mode(adev);
}
}
--
2.35.1
More information about the amd-gfx
mailing list