diff options
| author | André Almeida <[email protected]> | 2023-09-11 17:12:55 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-09-11 21:22:23 +0000 |
| commit | ffde72107be547d71f8074afd4f1ef1252073f3b (patch) | |
| tree | d2f995b60514d11d78787f4345656098d37b7a15 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amdgpu: Merge debug module parameters (diff) | |
| download | kernel-ffde72107be547d71f8074afd4f1ef1252073f3b.tar.gz kernel-ffde72107be547d71f8074afd4f1ef1252073f3b.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index eaebd2884503..62bbfdd502af 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1102,6 +1102,7 @@ struct amdgpu_device { /* Debug */ bool debug_vm; bool debug_largebar; + bool debug_disable_soft_recovery; }; static inline struct amdgpu_device *drm_to_adev(struct drm_device *ddev) |
