Home
last modified time | relevance | path

Searched refs:scanout_id (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/hw/display/
H A Dvhost-user-gpu.c43 uint32_t scanout_id; member
56 uint32_t scanout_id; member
62 uint32_t scanout_id; member
71 uint32_t scanout_id; member
89 uint32_t scanout_id; member
130 s = &g->parent_obj.scanout[pos->scanout_id]; in vhost_user_gpu_handle_cursor()
236 s = &g->parent_obj.scanout[m->scanout_id]; in vhost_user_gpu_handle_display()
265 dmabuf = g->dmabuf[m->scanout_id]; in vhost_user_gpu_handle_display()
275 g->dmabuf[m->scanout_id] = NULL; in vhost_user_gpu_handle_display()
292 g->dmabuf[m->scanout_id] = dmabuf; in vhost_user_gpu_handle_display()
[all …]
H A Dvirtio-gpu-udmabuf.c164 scanout = &g->parent_obj.scanout[dmabuf->scanout_id]; in virtio_gpu_free_dmabuf()
173 uint32_t scanout_id, in virtio_gpu_create_dmabuf() argument
189 dmabuf->scanout_id = scanout_id; in virtio_gpu_create_dmabuf()
196 uint32_t scanout_id, in virtio_gpu_update_dmabuf() argument
201 struct virtio_gpu_scanout *scanout = &g->parent_obj.scanout[scanout_id]; in virtio_gpu_update_dmabuf()
205 new_primary = virtio_gpu_create_dmabuf(g, scanout_id, res, fb, r); in virtio_gpu_update_dmabuf()
210 if (g->dmabuf.primary[scanout_id]) { in virtio_gpu_update_dmabuf()
211 old_primary = g->dmabuf.primary[scanout_id]; in virtio_gpu_update_dmabuf()
216 g->dmabuf.primary[scanout_id] = new_primary; in virtio_gpu_update_dmabuf()
H A Dvirtio-gpu.c86 s = &g->parent_obj.scanout[cursor->pos.scanout_id]; in update_cursor()
383 res->scanout_bitmask &= ~(1 << scanout_id); in virtio_gpu_disable_scanout()
598 scanout = &g->parent_obj.scanout[scanout_id]; in virtio_gpu_update_scanout()
601 ores->scanout_bitmask &= ~(1 << scanout_id); in virtio_gpu_update_scanout()
604 res->scanout_bitmask |= (1 << scanout_id); in virtio_gpu_update_scanout()
623 scanout = &g->parent_obj.scanout[scanout_id]; in virtio_gpu_do_set_scanout()
706 __func__, ss.scanout_id); in virtio_gpu_set_scanout()
712 virtio_gpu_disable_scanout(g, ss.scanout_id); in virtio_gpu_set_scanout()
729 virtio_gpu_do_set_scanout(g, ss.scanout_id, in virtio_gpu_set_scanout()
749 __func__, ss.scanout_id); in virtio_gpu_set_scanout_blob()
[all …]
H A Dvirtio-gpu-virgl.c159 trace_virtio_gpu_cmd_set_scanout(ss.scanout_id, ss.resource_id, in virgl_cmd_set_scanout()
162 if (ss.scanout_id >= g->parent_obj.conf.max_outputs) { in virgl_cmd_set_scanout()
164 __func__, ss.scanout_id); in virgl_cmd_set_scanout()
191 qemu_console_resize(g->parent_obj.scanout[ss.scanout_id].con, in virgl_cmd_set_scanout()
195 g->parent_obj.scanout[ss.scanout_id].con, info.tex_id, in virgl_cmd_set_scanout()
202 g->parent_obj.scanout[ss.scanout_id].con, NULL); in virgl_cmd_set_scanout()
203 dpy_gl_scanout_disable(g->parent_obj.scanout[ss.scanout_id].con); in virgl_cmd_set_scanout()
205 g->parent_obj.scanout[ss.scanout_id].resource_id = ss.resource_id; in virgl_cmd_set_scanout()
H A Dvirtio-gpu-udmabuf-stubs.c21 uint32_t scanout_id, in virtio_gpu_update_dmabuf() argument
H A Dvirtio-gpu-rutabaga.c302 trace_virtio_gpu_cmd_set_scanout(ss.scanout_id, ss.resource_id, in rutabaga_cmd_set_scanout()
305 CHECK(ss.scanout_id < VIRTIO_GPU_MAX_SCANOUTS, cmd); in rutabaga_cmd_set_scanout()
306 scanout = &vb->scanout[ss.scanout_id]; in rutabaga_cmd_set_scanout()
336 res->scanout_bitmask = ss.scanout_id; in rutabaga_cmd_set_scanout()
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvugpu.h48 uint32_t scanout_id; member
61 uint32_t scanout_id; member
67 uint32_t scanout_id; member
76 uint32_t scanout_id; member
94 uint32_t scanout_id; member
H A Dvhost-user-gpu.c410 vg_disable_scanout(VuGpu *g, int scanout_id) in vg_disable_scanout() argument
431 .payload.scanout.scanout_id = scanout_id, in vg_disable_scanout()
666 __func__, ss.scanout_id); in vg_set_scanout()
672 vg_disable_scanout(g, ss.scanout_id); in vg_set_scanout()
699 scanout = &g->scanout[ss.scanout_id]; in vg_set_scanout()
720 .scanout_id = ss.scanout_id, in vg_set_scanout()
741 .scanout_id = ss.scanout_id, in vg_set_scanout()
811 .scanout_id = i, in vg_resource_flush()
831 .scanout_id = i, in vg_resource_flush()
973 .scanout_id = cursor->pos.scanout_id, in vg_process_cursor_cmd()
[all …]
H A Dvirgl.c362 if (ss.scanout_id >= VIRTIO_GPU_MAX_SCANOUTS) { in virgl_cmd_set_scanout()
364 __func__, ss.scanout_id); in virgl_cmd_set_scanout()
390 .payload.dmabuf_scanout.scanout_id = ss.scanout_id, in virgl_cmd_set_scanout()
421 .payload.dmabuf_scanout.scanout_id = ss.scanout_id, in virgl_cmd_set_scanout()
426 g->scanout[ss.scanout_id].resource_id = ss.resource_id; in virgl_cmd_set_scanout()
450 .payload.update.scanout_id = i, in virgl_cmd_resource_flush()
/openbmc/linux/include/uapi/linux/
H A Dvirtio_gpu.h149 __le32 scanout_id; member
194 __le32 scanout_id; member
419 __le32 scanout_id; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_gpu.h149 uint32_t scanout_id; member
194 uint32_t scanout_id; member
421 uint32_t scanout_id; member
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-gpu.h173 uint32_t scanout_id; member
328 uint32_t scanout_id,
/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c549 uint32_t scanout_id, uint32_t resource_id, in virtio_gpu_cmd_set_scanout() argument
561 cmd_p->scanout_id = cpu_to_le32(scanout_id); in virtio_gpu_cmd_set_scanout()
1116 output->cursor.pos.scanout_id = cpu_to_le32(output->index); in virtio_gpu_cursor_ping()
1271 uint32_t scanout_id, in virtio_gpu_cmd_set_scanout_blob() argument
1287 cmd_p->scanout_id = cpu_to_le32(scanout_id); in virtio_gpu_cmd_set_scanout_blob()
H A Dvirtgpu_drv.h340 uint32_t scanout_id, uint32_t resource_id,
422 uint32_t scanout_id,