search for: virtio_gpu_init_submit_buflist

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

2023 Mar 22
0
[PATCH v2 1/2] drm/virtio: Refactor job submission code path
...; > + > + ret = drm_event_reserve_init(dev, file, &e->base, &e->event); > + if (ret) { > + kfree(e); > + return ret; > + } > + > + fence->e = e; > + > + return 0; > +} > + > +static int virtio_gpu_init_submit_buflist(struct virtio_gpu_submit *submit) > +{ > + struct drm_virtgpu_execbuffer *exbuf = submit->exbuf; > + uint32_t *bo_handles; > + > + if (!exbuf->num_bo_handles) > + return 0; > + > + bo_handles = kvmalloc_array(exbuf->num_bo_handl...