drm/amdgpu: Create an option to disable soft recovery
authorAndré Almeida <andrealmeid@igalia.com>
Mon, 11 Sep 2023 17:12:55 +0000 (14:12 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Sep 2023 21:22:23 +0000 (17:22 -0400)
commitffde72107be547d71f8074afd4f1ef1252073f3b
treed2f995b60514d11d78787f4345656098d37b7a15
parent887db1e49a73bc48554a4959eb9679d3d6d90e4e
drm/amdgpu: Create an option to disable soft recovery

Create a module option to disable soft recoveries on amdgpu, making
every recovery go through the device reset path. This option makes
easier to force device resets for testing and debugging purposes.

Signed-off-by: André Almeida <andrealmeid@igalia.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c