drm/amdgpu: fix no-vmid job
Subsystems (2)
PATCH 1/1 drm/amdgpu: fix no-vmid job
[ 132.036658] amdgpu 0000:22:00.0: VM IB without ID [ 132.036709] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs (-22) [ 132.036755] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
root cause is fence is signaled during sync transfer.
Change-Id I6193e3005fef38a45dfcb985f11e73022f25be59
Signed-off-by Chunming Zhou <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +1 -1
@@ -139,7 +139,7 @@ static struct fence *amdgpu_job_dependency(struct amd_sched_job *sched_job)struct fence *fence =amdgpu_sync_get_fence (&job->sync); -if (fence ==NULL && vm && !job->vm_id) { +while (fence ==NULL && vm && !job->vm_id) {struct amdgpu_ring *ring = job->ring;int r;
Signature · 6 lines
1.9.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1492768803-28927-1-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org
Am 21.04.2017 um 12:00 schrieb Chunming Zhou:
Quoted 8 lines
[ 132.036658] amdgpu 0000:22:00.0: VM IB without ID [ 132.036709] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs (-22) [ 132.036755] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!root cause is fence is signaled during sync transfer.
Change-Id I6193e3005fef38a45dfcb985f11e73022f25be59Signed-off-by Chunming Zhou <[email protected]>
Good catch! Reviewed-by: Christian König <[email protected]>
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c static struct fence *amdgpu_job_dependency(struct amd_sched_job *sched_job) · line 145
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +1
-1@@ -139,7 +139,7 @@ static struct fence *amdgpu_job_dependency(struct amd_sched_job *sched_job)struct fence *fence =amdgpu_sync_get_fence (&job->sync); -if (fence ==NULL && vm && !job->vm_id) { +while (fence ==NULL && vm && !job->vm_id) {struct amdgpu_ring *ring = job->ring;int r;
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx