Lines Matching refs:ring_idx
44 u32 ring_idx; member
51 u32 context = submit->fence_ctx + submit->ring_idx; in virtio_gpu_do_fence_wait()
275 u32 ring_idx) in virtio_gpu_fence_event_create() argument
371 u64 fence_ctx, u32 ring_idx) in virtio_gpu_init_submit() argument
382 (vfpriv->ring_idx_mask & BIT_ULL(ring_idx))) in virtio_gpu_init_submit()
391 out_fence = virtio_gpu_fence_alloc(vgdev, fence_ctx, ring_idx); in virtio_gpu_init_submit()
396 err = virtio_gpu_fence_event_create(dev, file, out_fence, ring_idx); in virtio_gpu_init_submit()
405 submit->ring_idx = ring_idx; in virtio_gpu_init_submit()
481 u32 ring_idx = 0; in virtio_gpu_execbuffer_ioctl() local
491 if (exbuf->ring_idx >= vfpriv->num_rings) in virtio_gpu_execbuffer_ioctl()
498 ring_idx = exbuf->ring_idx; in virtio_gpu_execbuffer_ioctl()
504 fence_ctx, ring_idx); in virtio_gpu_execbuffer_ioctl()