]> git.hungrycats.org Git - linux/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 17:54:10 +0000 (13:54 -0400)
commitd0cd99e73090700b7a942b98a3327ec966597d0a
treeb77e27d883f09fa28d0db467bc55c89fd135abda
parent91250893cbaa25c86872deca95a540d08de1f91e
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>
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