summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-11-07 02:32:22 +0300
committerDave Airlie <airlied@redhat.com>2018-11-07 02:32:30 +0300
commitd99de699ac034ff1b706496a33f49bd7e1e8ae30 (patch)
tree43285595fb79e87ef40bf099e193ed9a30b80a51
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
parent6fce3a406108ee6c8a61e2a33e52e9198a626ea0 (diff)
downloadlinux-d99de699ac034ff1b706496a33f49bd7e1e8ae30.tar.xz
Merge branch 'etnaviv/fixes' of https://git.pengutronix.de/git/lst/linux into drm-fixes
Single etnaviv fence fix for GPU recovery. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Lucas Stach <l.stach@pengutronix.de> Link: https://patchwork.freedesktop.org/patch/msgid/1541522424.2508.26.camel@pengutronix.de
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_sched.c b/drivers/gpu/drm/etnaviv/etnaviv_sched.c
index e7c3ed6c9a2e..9b476368aa31 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_sched.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_sched.c
@@ -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))
return;
/*