search for: create_resource_blob

Displaying 3 results from an estimated 3 matches for "create_resource_blob".

2020 Feb 06
1
[PATCH 4/4] drm/virtio: move virtio_gpu_mem_entry initialization to new function
...obj->ents, obj->nents, > > fence); > > + obj->ents = NULL; > > + obj->nents = 0; > Hm, if the entries are temporary, can we allocate and initialize them > in this function? Well, the plan for CREATE_RESOURCE_BLOB is to use obj->ents too ... cheers, Gerd
2020 Feb 05
2
[PATCH 4/4] drm/virtio: move virtio_gpu_mem_entry initialization to new function
Introduce new virtio_gpu_object_shmem_init() helper function which will create the virtio_gpu_mem_entry array, containing the backing storage information for the host. For the most path this just moves code from virtio_gpu_object_attach(). Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> --- drivers/gpu/drm/virtio/virtgpu_drv.h | 4 ++ drivers/gpu/drm/virtio/virtgpu_object.c | 49
2020 Feb 05
2
[PATCH 4/4] drm/virtio: move virtio_gpu_mem_entry initialization to new function
Introduce new virtio_gpu_object_shmem_init() helper function which will create the virtio_gpu_mem_entry array, containing the backing storage information for the host. For the most path this just moves code from virtio_gpu_object_attach(). Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> --- drivers/gpu/drm/virtio/virtgpu_drv.h | 4 ++ drivers/gpu/drm/virtio/virtgpu_object.c | 49