drm/amd/ras: add device lost check to early exit psp cmd wait loop

Add device lost status check in PSP fence wait loop to exit
polling early when GPU device lost

Signed-off-by: Ce Sun <cesun102@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Ce Sun 2026-07-24 12:03:30 +08:00 • committed by Alex Deucher
commit 9ba8e75d2e
4 changed files with 22 additions and 0 deletions