search for: base_fence_ctx

Displaying 1 result from an estimated 1 matches for "base_fence_ctx".

2023 Mar 22
0
[PATCH v2 1/2] drm/virtio: Refactor job submission code path
...gs & ~VIRTGPU_EXECBUF_FLAGS)) > + return ret; > + > + if ((exbuf->flags & VIRTGPU_EXECBUF_RING_IDX)) { > + if (exbuf->ring_idx >= vfpriv->num_rings) > + return ret; > + > + if (!vfpriv->base_fence_ctx) > + return ret; > + > + fence_ctx = vfpriv->base_fence_ctx; > + ring_idx = exbuf->ring_idx; > + } > + > + virtio_gpu_create_context(dev, file); > + > + ret = virtio_gpu_init_submit(&submit, exb...