diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2016-08-31 12:26:53 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-09-20 14:25:43 +0200 |
commit | 30b9c96cf7b44d53b9165649c8be34ac234be324 (patch) | |
tree | 6d7c5b627a744733491141765f22d5cf03c8df0c /drivers/gpu/drm/virtio/virtgpu_drv.h | |
parent | 5c32c3dd8501b017e0ce139a2abcd23cc471b773 (diff) | |
download | op-kernel-dev-30b9c96cf7b44d53b9165649c8be34ac234be324.zip op-kernel-dev-30b9c96cf7b44d53b9165649c8be34ac234be324.tar.gz |
drm/virtio: add real fence context and seqno
virtio fences were created with no fence context, which would make then
clash with an allocated fence context.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Message-id: 1472660813-28219-2-git-send-email-gustavo@padovan.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_drv.h')
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h index b18ef31..06ad923 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.h +++ b/drivers/gpu/drm/virtio/virtgpu_drv.h @@ -75,6 +75,7 @@ typedef void (*virtio_gpu_resp_cb)(struct virtio_gpu_device *vgdev, struct virtio_gpu_fence_driver { atomic64_t last_seq; uint64_t sync_seq; + uint64_t context; struct list_head fences; spinlock_t lock; }; |