diff options
| author | Alex Deucher <[email protected]> | 2024-03-24 00:46:53 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-03-27 05:45:22 +0000 |
| commit | d7f1487643552f18d1855474eba54a8ff3655935 (patch) | |
| tree | 2049576c3e160228bbebcdb51788db71dda1a382 /drivers/gpu/drm/amd/amdgpu/soc21.c | |
| parent | drm/amdkfd: Reset GPU on queue preemption failure (diff) | |
| download | kernel-d7f1487643552f18d1855474eba54a8ff3655935.tar.gz kernel-d7f1487643552f18d1855474eba54a8ff3655935.zip | |
drm/amdgpu: always force full reset for SOC21
There are cases where soft reset seems to succeed, but
does not, so always use mode1/2 for now.
Reviewed-by: Harish Kasiviswanathan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc21.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc21.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c index 581a3bd11481..8526282f4da1 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -457,10 +457,8 @@ static bool soc21_need_full_reset(struct amdgpu_device *adev) { switch (amdgpu_ip_version(adev, GC_HWIP, 0)) { case IP_VERSION(11, 0, 0): - return amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__UMC); case IP_VERSION(11, 0, 2): case IP_VERSION(11, 0, 3): - return false; default: return true; } |
