[AMD Official Use Only - General] Reviewed-by: Tim Huang <[email protected]>
-----Original Message----- From: Zhang, Yifan <[email protected]> Sent: Thursday, June 9, 2022 6:23 PM To: [email protected] Cc: Huang, Ray <[email protected]>; Deucher, Alexander <[email protected]>; Huang, Tim <[email protected]>; Zhang, Yifan <[email protected]> Subject: [PATCH] drm/amd: disable GPA mode in backdoor load GPA mode should be disabled in direct load. Signed-off-by: Yifan Zhang <[email protected]> --- 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
