: fix ring timeout issue in gfx10 sr-iov environment
'commit 6e66dc05b54f ("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 rathe
On Tue, Jan 14, 2025 at 5:32 AM Lin.Cao wrote:
>
> 'commit 6e66dc05b54f ("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
[AMD Official Use Only - AMD Internal Distribution Only]
-Original Message-
From: Lin.Cao
Sent: Tuesday, January 14, 2025 6:06 PM
To: amd-gfx@lists.freedesktop.org
Cc: Koenig, Christian ; Deucher, Alexander
; cao, lin
Subject: [PATCH] drm/amdgpu: fix ring timeout issue in gfx10 sr-iov
'commit 6e66dc05b54f ("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.
Signed-off-by: Lin.Cao
---
drivers/gpu/drm/amd/