]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Avoid VF for RAS recovery source check
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 9 Dec 2024 03:44:53 +0000 (09:14 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Dec 2024 22:30:59 +0000 (17:30 -0500)
commitfccb446f82b9155c05758d1fa30af4a06494e0ec
tree6c5f95e1fa748135a58d153abc208d4f91ed7a6b
parentf4d583cd3f1634f1d62bf193f4dbccb7611db56a
drm/amdgpu: Avoid VF for RAS recovery source check

VF device sets the RAS flag when mailbox data can't be read properly.
There is no conclusive way to tell if the real source is RAS error.
Therefore VF schedules a KFD based reset which doesn't set RAS source.
SKip checking RAS source for any VF scheduled recovery.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reported-by: Vojislav Tomasevic <vojislav.tomasevic@amd.com>
Reviewed-by: Yiqing Yao <yiqing.yao@amd.com>
Tested-by: Yiqing Yao <yiqing.yao@amd.com>
Fixes: e1ee2111ca48 ("drm/amdgpu: Prefer RAS recovery for scheduler hang")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c