Commit 4e7cef16 authored by Lucas Stach's avatar Lucas Stach Committed by Guido Gunther
Browse files

drm/etnaviv: fix bogus fence complete check in timeout handler

The GPU hardware fences and the job out-fences are on different timelines
so it's wrong to compare them. Fix this by only looking at the out-fence.

Cc: <>
Fixes: 2c83a726

 (drm/etnaviv: bring back progress check in job
                     timeout handler)
Signed-off-by: default avatarLucas Stach <>
parent 68ddb659
......@@ -93,7 +93,7 @@ static void etnaviv_sched_timedout_job(struct drm_sched_job *sched_job)
* If the GPU managed to complete this jobs fence, the timout is
* spurious. Bail out.
if (fence_completed(gpu, submit->out_fence->seqno))
if (dma_fence_is_signaled(submit->out_fence))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment