diff options
| author | Shikang Fan <[email protected]> | 2024-11-21 09:06:30 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-12-10 15:26:48 +0000 |
| commit | 0859eb540f1412cced6234922626c8b1e6072126 (patch) | |
| tree | 690a494a01bbb985eaa6f6e4569fccdb0e0c3a36 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amdkfd: Differentiate logging message for driver oversubscription (diff) | |
| download | kernel-0859eb540f1412cced6234922626c8b1e6072126.tar.gz kernel-0859eb540f1412cced6234922626c8b1e6072126.zip | |
drm/amdgpu: Check fence emitted count to identify bad jobs
In SRIOV, when host driver performs MODE 1 reset and notifies FLR to
guest driver, there is a small chance that there is no job running on hw
but the driver has not updated the pending list yet, causing the driver
not respond the FLR request. Modify the has_job_running function to
make sure if there is still running job.
v2: Use amdgpu_fence_count_emitted to determine job running status.
v3: Remove the timeout wait in has_job_running
Signed-off-by: Emily Deng <[email protected]>
Signed-off-by: Shikang Fan <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
