]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Improve ras fatal error handling function
authorYiPeng Chai <YiPeng.Chai@amd.com>
Mon, 21 Jul 2025 07:14:03 +0000 (15:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Oct 2025 22:18:35 +0000 (18:18 -0400)
commit408bd841ad24fd9891a1cd9ca11cf4f48d9667dc
tree9fb77c5f5f04b1f54fbdb3143c121a78f54c4b66
parent3d72d2e5f4c47d88f292c915ce31ef14092df3f2
drm/amdgpu: Improve ras fatal error handling function

In multi-gpu case, a fatal error will generate several
fatal error interrupts. After improving this function,
the ras module can reuse this function to only
handle the first interrupt.

V3:
  Initialize event_id using RAS_EVENT_INVALID_ID.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c