]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: Create a debug option to disable ring reset
authorAndré Almeida <andrealmeid@igalia.com>
Wed, 26 Feb 2025 13:11:18 +0000 (10:11 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 21:50:04 +0000 (16:50 -0500)
commit9c696cc57c1a6dab6da6b51f4b30a7d16e233cbc
tree2f2f4a9d6005ffd52136a300084e78f36fa41772
parent63e6a77ccf239337baa9b1e7787cde9fa0462092
drm/amdgpu: Create a debug option to disable ring reset

Prior to the addition of ring reset, the debug option
`debug_disable_soft_recovery` could be used to force a full device
reset. Now that we have ring reset, create a debug option to disable
them in amdgpu, forcing the driver to go with the full device
reset path again when both options are combined.

This option is useful for testing and debugging purposes when one wants
to test the full reset from userspace.

Signed-off-by: André Almeida <andrealmeid@igalia.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_job.c