]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/ras: Fix the issue of incorrect function call
authorYiPeng Chai <YiPeng.Chai@amd.com>
Wed, 5 Nov 2025 09:25:37 +0000 (17:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Nov 2025 14:57:17 +0000 (09:57 -0500)
commitbe031770bfc1662e773e2dfc696f1a0c1401f300
tree8c0df3a9d408e1c91a99f89ee410446ea1ad11c3
parent5d1b32cfe4a676fe552416cb5ae847b215463a1a
drm/amd/ras: Fix the issue of incorrect function call

When amdgpu_device_health_check fails, amdgpu_ras_pre_reset
will not be called and therefore amdgpu_ras_post_reset
cannot be called either.

Signed-off-by: YiPeng Chai <YiPeng.Chai@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_device.c