diff options
author | Evan Quan <evan.quan@amd.com> | 2019-04-29 16:51:17 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-05-24 12:20:48 -0500 |
commit | 912dfc846aad77e4a61ac39ca92bd7149062e590 (patch) | |
tree | 075891020a1edf876cd4c185137124607c018222 /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | |
parent | f120386d74f193301d808ccfec1a778af62b6797 (diff) | |
download | linux-912dfc846aad77e4a61ac39ca92bd7149062e590.tar.gz linux-912dfc846aad77e4a61ac39ca92bd7149062e590.tar.bz2 linux-912dfc846aad77e4a61ac39ca92bd7149062e590.zip |
drm/amdgpu: enable separate timeout setting for every ring type V4
Every ring type can have its own timeout setting.
- V2: update lockup_timeout parameter format and cosmetic fixes
- V3: invalidate 0 and negative values
- V4: update lockup_timeout parameter format
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c index 2471e7cf75ea..64a7b1fb1d1b 100644 --- a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c +++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c @@ -343,7 +343,7 @@ flr_done: /* Trigger recovery for world switch failure if no TDR */ if (amdgpu_device_should_recover_gpu(adev) - && amdgpu_lockup_timeout == MAX_SCHEDULE_TIMEOUT) + && adev->sdma_timeout == MAX_SCHEDULE_TIMEOUT) amdgpu_device_gpu_recover(adev, NULL); } |