drm/amdgpu: Clear reset flags from ras context
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 4 Jun 2025 04:06:09 +0000 (09:36 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2025 16:19:18 +0000 (12:19 -0400)
commit3bdf8dd84e55e9ea0806eb62bd4437c8c7746521
tree1511537b2a6b1ff12063800b37863cc858f2a3fe
parent87fbe3a5480044c403b149d9c8e7d72b504ebcf8
drm/amdgpu: Clear reset flags from ras context

Once RAS errors are cleared with appropriate recovery mechanism, clear
reset flags also from RAS context. Otherwise, stale flag values could
affect the subsequent RAS reset handling on the device.

Signed-off-by: Lijo Lazar <lijo.lazar@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