diff options
author | Yifan Zhang <yifan1.zhang@amd.com> | 2022-06-09 17:03:48 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-14 21:38:39 -0400 |
commit | f2a5002541d0698509d4f3adfbfcc55a9c1e2dd1 (patch) | |
tree | 05dc0598a8d89e279fb0e3de4a4ed4cdd5ae549f /drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | |
parent | 438eac25d033a1701d839bad16c6ad78f683a293 (diff) | |
download | linux-f2a5002541d0698509d4f3adfbfcc55a9c1e2dd1.tar.bz2 |
drm/amd: disable GPA mode in backdoor load
GPA mode should be disabled in direct load.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c index 05359df6c354..942d41a65f2f 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c @@ -4563,6 +4563,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); } } |