]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu/gfxhub: Program CRASH_ON_*_FAULT bits to 0 as needed
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 25 May 2026 11:45:02 +0000 (13:45 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 18:53:54 +0000 (14:53 -0400)
commit40bab7c606702e8ea3e95c6f30c99cc8295826af
treeb90717a8bb0fe69a07a403f13b8f357bd245f2c5
parent58bafc666c484b21839a2d27e923ae1b2727a1df
drm/amdgpu/gfxhub: Program CRASH_ON_*_FAULT bits to 0 as needed

When the fault stop mode isn't AMDGPU_VM_FAULT_STOP_ALWAYS,
these bits should be programmed to 0.

Program CRASH_ON_NO_RETRY_FAULT and CRASH_ON_RETRY_FAULT
always, to make sure to clear the bits when we don't want
to crash.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d0cd99e73090700b7a942b98a3327ec966597d0a)
drivers/gpu/drm/amd/amdgpu/gfxhub_v11_5_0.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v12_1.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0_3.c