diff options
| author | Eric Anholt <eric@anholt.net> | 2018-06-05 12:03:01 -0700 |
|---|---|---|
| committer | Eric Anholt <eric@anholt.net> | 2018-06-21 14:46:05 -0700 |
| commit | 14d1d190869685d3a1e8a3f63924e20594557cb2 (patch) | |
| tree | e098772294a69023decb35b72ecf972e655d62ef /drivers/gpu/drm/v3d/v3d_irq.c | |
| parent | drm/v3d: Take a lock across GPU scheduler job creation and queuing. (diff) | |
| download | linux-14d1d190869685d3a1e8a3f63924e20594557cb2.tar.gz linux-14d1d190869685d3a1e8a3f63924e20594557cb2.zip | |
drm/v3d: Remove the bad signaled() implementation.
Since our seqno value comes from a counter associated with the GPU
ring, not the entity (aka client), they'll be completed out of order.
There's actually no need for this code at all, since we don't have
enable_signaling() and thus DMA_FENCE_SIGNALED_BIT will be set before
we could be called.
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180605190302.18279-2-eric@anholt.net
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/v3d/v3d_irq.c')
| -rw-r--r-- | drivers/gpu/drm/v3d/v3d_irq.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/v3d/v3d_irq.c b/drivers/gpu/drm/v3d/v3d_irq.c index 77e1fa046c10..e07514eb11b5 100644 --- a/drivers/gpu/drm/v3d/v3d_irq.c +++ b/drivers/gpu/drm/v3d/v3d_irq.c @@ -87,15 +87,12 @@ v3d_irq(int irq, void *arg) } if (intsts & V3D_INT_FLDONE) { - v3d->queue[V3D_BIN].finished_seqno++; dma_fence_signal(v3d->bin_job->bin.done_fence); status = IRQ_HANDLED; } if (intsts & V3D_INT_FRDONE) { - v3d->queue[V3D_RENDER].finished_seqno++; dma_fence_signal(v3d->render_job->render.done_fence); - status = IRQ_HANDLED; } |
