diff options
author | Lin.Cao <lincao12@amd.com> | 2025-01-14 17:42:01 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-01-24 09:55:04 -0500 |
commit | b529093999ff052916b35356dc66eddb83258ead (patch) | |
tree | 54a581a3413c9666de8f61537edefccb7bf13b7f /rust/helpers/helpers.c | |
parent | 1bf06a1fcd7e06435e654e10f6a24784785854f7 (diff) |
drm/amdgpu: fix ring timeout issue in gfx10 sr-iov environment
commit 26c95e838e63 ("drm/amdgpu: set the VM pointer to NULL in
amdgpu_job_prepare") set job->vm as NULL if there is no fence. It will
cause emit switch buffer be skippen if job->vm set as NULL.
Check job rather than vm could solve this problem.
Fixes: 26c95e838e63 ("drm/amdgpu: set the VM pointer to NULL in amdgpu_job_prepare")
Signed-off-by: Lin.Cao <lincao12@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions