linux/drivers/gpu/drm/amd
Dennis Li 53b3f8f40e drm/amdgpu: refine codes to avoid reentering GPU recovery
if other threads have holden the reset lock, recovery will
fail to try_lock. Therefore we introduce atomic hive->in_reset
and adev->in_gpu_reset, to avoid reentering GPU recovery.

v2:
drop "? true : false" in the definition of amdgpu_in_reset

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Dennis Li <Dennis.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-08-24 12:22:56 -04:00
..
acp
amdgpu drm/amdgpu: refine codes to avoid reentering GPU recovery 2020-08-24 12:22:56 -04:00
amdkfd drm/amdkfd: sparse: Fix warning in reading SDMA counters 2020-08-24 12:22:32 -04:00
display drm/amdgpu: refine codes to avoid reentering GPU recovery 2020-08-24 12:22:56 -04:00
include drm/amd/display: Add DSC_DBG_EN shift/mask for dcn3 2020-08-17 14:09:27 -04:00
pm drm/amdgpu: refine codes to avoid reentering GPU recovery 2020-08-24 12:22:56 -04:00