diff options
| author | John Clements <[email protected]> | 2020-01-08 08:36:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-01-14 15:18:10 +0000 |
| commit | 9c8c81fe7d2c6ef732b50d456a627fdf4383c1d5 (patch) | |
| tree | 4e5962cf53bc6ec1814e138605307eab8731b197 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
| parent | drm/amdgpu: update goldensetting for renoir (diff) | |
| download | kernel-9c8c81fe7d2c6ef732b50d456a627fdf4383c1d5.tar.gz kernel-9c8c81fe7d2c6ef732b50d456a627fdf4383c1d5.zip | |
drm/amdgpu: disable XGMI TA unload for arcturus
in event of GPU reset, XGMI TA unload causes unrecoverable GPU hang
Acked-by: Hawking Zhang <[email protected]>
Signed-off-by: John Clements <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index 281d89640344..3a1570dafe34 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -529,6 +529,11 @@ static int psp_xgmi_unload(struct psp_context *psp) { int ret; struct psp_gfx_cmd_resp *cmd; + struct amdgpu_device *adev = psp->adev; + + /* XGMI TA unload currently is not supported on Arcturus */ + if (adev->asic_type == CHIP_ARCTURUS) + return 0; /* * TODO: bypass the unloading in sriov for now |
