diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2017-11-29 14:49:04 +0100 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2018-02-12 16:30:58 +0100 |
commit | 8bc4d885bd42e9a1d47a53aa4efbb818597ef9a0 (patch) | |
tree | 21665e3f10ed8eb49a87f893b0de3b95e1f68ffa /drivers/gpu/drm/etnaviv/etnaviv_gem.h | |
parent | drm/etnaviv: add missing major features field to debugfs (diff) | |
download | linux-8bc4d885bd42e9a1d47a53aa4efbb818597ef9a0.tar.xz linux-8bc4d885bd42e9a1d47a53aa4efbb818597ef9a0.zip |
drm/etnaviv: track fences by IDR instead of seqno
This moves away from using the internal seqno as the userspace fence
reference. By moving to a generic ID, we can later replace the internal
fence by something different than the etnaviv seqno fence.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gem.h')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_gem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gem.h b/drivers/gpu/drm/etnaviv/etnaviv_gem.h index be72a9833f2b..c30964152381 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gem.h +++ b/drivers/gpu/drm/etnaviv/etnaviv_gem.h @@ -104,6 +104,7 @@ struct etnaviv_gem_submit { struct kref refcount; struct etnaviv_gpu *gpu; struct dma_fence *out_fence, *in_fence; + int out_fence_id; struct list_head node; /* GPU active submit list */ struct etnaviv_cmdbuf cmdbuf; bool runtime_resumed; |