Home
last modified time | relevance | path

Searched refs:vugbm_buffer (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvugbm.h22 struct vugbm_buffer;
31 bool (*alloc_bo)(struct vugbm_buffer *buf);
32 void (*free_bo)(struct vugbm_buffer *buf);
33 bool (*get_fd)(struct vugbm_buffer *buf, int *fd);
34 bool (*map_bo)(struct vugbm_buffer *buf);
35 void (*unmap_bo)(struct vugbm_buffer *buf);
39 struct vugbm_buffer { struct
60 bool vugbm_buffer_create(struct vugbm_buffer *buffer, struct vugbm_device *dev, argument
62 bool vugbm_buffer_can_get_dmabuf_fd(struct vugbm_buffer *buffer);
63 bool vugbm_buffer_get_dmabuf_fd(struct vugbm_buffer *buffer, int *fd);
[all …]
H A Dvugbm.c14 mem_alloc_bo(struct vugbm_buffer *buf) in mem_alloc_bo()
22 mem_free_bo(struct vugbm_buffer *buf) in mem_free_bo()
28 mem_map_bo(struct vugbm_buffer *buf) in mem_map_bo()
34 mem_unmap_bo(struct vugbm_buffer *buf) in mem_unmap_bo()
54 udmabuf_get_size(struct vugbm_buffer *buf) in udmabuf_get_size()
60 udmabuf_alloc_bo(struct vugbm_buffer *buf) in udmabuf_alloc_bo()
93 udmabuf_map_bo(struct vugbm_buffer *buf) in udmabuf_map_bo()
133 alloc_bo(struct vugbm_buffer *buf) in alloc_bo()
152 free_bo(struct vugbm_buffer *buf) in free_bo()
158 map_bo(struct vugbm_buffer *buf) in map_bo()
[all …]
H A Dvhost-user-gpu.c41 struct vugbm_buffer buffer;
713 struct vugbm_buffer *buffer = &res->buffer; in vg_set_scanout()