/openbmc/qemu/docs/interop/ |
H A D | vhost-user-gpu.rst | 65 | scanout-id | x | y | 68 :scanout-id: ``u32``, the scanout where the cursor is located 89 | scanout-id | w | h | 92 :scanout-id: ``u32``, the scanout configuration to set 100 | scanout-id | x | y | w | h | data | 103 :scanout-id: ``u32``, the scanout content to update 116 :scanout-id: ``u32``, the scanout configuration to set 131 | scanout-id | 134 :scanout-id: ``u32``, the scanout to get edid from 164 VhostUserGpuScanout scanout; [all …]
|
/openbmc/qemu/hw/display/ |
H A D | virtio-gpu.c | 525 scanout = &g->parent_obj.scanout[i]; in virtio_gpu_resource_flush() 527 rf.r.x < scanout->x + scanout->width && in virtio_gpu_resource_flush() 529 rf.r.y < scanout->y + scanout->height && in virtio_gpu_resource_flush() 576 scanout = &g->parent_obj.scanout[i]; in virtio_gpu_resource_flush() 578 qemu_rect_init(&rect, scanout->x, scanout->y, in virtio_gpu_resource_flush() 579 scanout->width, scanout->height); in virtio_gpu_resource_flush() 583 qemu_rect_translate(&rect, -scanout->x, -scanout->y); in virtio_gpu_resource_flush() 603 scanout = &g->parent_obj.scanout[scanout_id]; in virtio_gpu_update_scanout() 627 scanout = &g->parent_obj.scanout[scanout_id]; in virtio_gpu_do_set_scanout() 1412 scanout = &g->parent_obj.scanout[i]; in virtio_gpu_post_load() [all …]
|
H A D | virtio-gpu-base.c | 31 g->scanout[i].resource_id = 0; in virtio_gpu_base_reset() 32 g->scanout[i].width = 0; in virtio_gpu_base_reset() 33 g->scanout[i].height = 0; in virtio_gpu_base_reset() 34 g->scanout[i].x = 0; in virtio_gpu_base_reset() 35 g->scanout[i].y = 0; in virtio_gpu_base_reset() 36 g->scanout[i].ds = NULL; in virtio_gpu_base_reset() 60 .width_mm = g->req_state[scanout].width_mm, in virtio_gpu_base_generate_edid() 61 .height_mm = g->req_state[scanout].height_mm, in virtio_gpu_base_generate_edid() 62 .prefx = g->req_state[scanout].width, in virtio_gpu_base_generate_edid() 63 .prefy = g->req_state[scanout].height, in virtio_gpu_base_generate_edid() [all …]
|
H A D | virtio-gpu-udmabuf.c | 162 struct virtio_gpu_scanout *scanout; in virtio_gpu_free_dmabuf() local 164 scanout = &g->parent_obj.scanout[dmabuf->scanout_id]; in virtio_gpu_free_dmabuf() 165 dpy_gl_release_dmabuf(scanout->con, &dmabuf->buf); in virtio_gpu_free_dmabuf() 207 struct virtio_gpu_scanout *scanout = &g->parent_obj.scanout[scanout_id]; in virtio_gpu_update_dmabuf() local 220 qemu_console_resize(scanout->con, in virtio_gpu_update_dmabuf() 223 dpy_gl_scanout_dmabuf(scanout->con, &new_primary->buf); in virtio_gpu_update_dmabuf()
|
H A D | virtio-gpu-virgl.c | 127 if (!g->parent_obj.scanout[idx].con) { in virtio_gpu_rect_update() 131 dpy_gl_update(g->parent_obj.scanout[idx].con, x, y, width, height); in virtio_gpu_rect_update() 145 if (g->parent_obj.scanout[i].resource_id != rf.resource_id) { in virgl_cmd_resource_flush() 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() 553 dpy_gl_ctx_destroy(g->parent_obj.scanout[0].con, qctx); in virgl_destroy_context() 615 dpy_gfx_replace_surface(g->parent_obj.scanout[i].con, NULL); in virtio_gpu_virgl_reset_scanout() [all …]
|
H A D | vhost-user-gpu.c | 99 VhostUserGpuScanout scanout; member 130 s = &g->parent_obj.scanout[pos->scanout_id]; in vhost_user_gpu_handle_cursor() 229 VhostUserGpuScanout *m = &msg->payload.scanout; in vhost_user_gpu_handle_display() 236 s = &g->parent_obj.scanout[m->scanout_id]; in vhost_user_gpu_handle_display() 263 con = g->parent_obj.scanout[m->scanout_id].con; in vhost_user_gpu_handle_display() 294 !g->parent_obj.scanout[m->scanout_id].con) { in vhost_user_gpu_handle_display() 300 con = g->parent_obj.scanout[m->scanout_id].con; in vhost_user_gpu_handle_display() 317 s = &g->parent_obj.scanout[m->scanout_id]; in vhost_user_gpu_handle_display()
|
H A D | virtio-gpu-rutabaga.c | 216 struct virtio_gpu_scanout *scanout = NULL; in rutabaga_cmd_resource_flush() local 237 scanout = &vb->scanout[i]; in rutabaga_cmd_resource_flush() 262 dpy_gfx_update_full(scanout->con); in rutabaga_cmd_resource_flush() 269 struct virtio_gpu_scanout *scanout = NULL; in rutabaga_cmd_set_scanout() local 283 scanout = &vb->scanout[ss.scanout_id]; in rutabaga_cmd_set_scanout() 286 dpy_gfx_replace_surface(scanout->con, NULL); in rutabaga_cmd_set_scanout() 287 dpy_gl_scanout_disable(scanout->con); in rutabaga_cmd_set_scanout() 310 scanout->ds = qemu_create_displaysurface_pixman(res->image); in rutabaga_cmd_set_scanout() 311 dpy_gfx_replace_surface(scanout->con, NULL); in rutabaga_cmd_set_scanout() 312 dpy_gfx_replace_surface(scanout->con, scanout->ds); in rutabaga_cmd_set_scanout()
|
H A D | virtio-vga.c | 174 vga->con = g->scanout[0].con; in virtio_vga_base_realize() 178 object_property_set_link(OBJECT(g->scanout[i].con), "device", in virtio_vga_base_realize()
|
H A D | virtio-gpu-pci.c | 56 object_property_set_link(OBJECT(g->scanout[i].con), "device", in virtio_gpu_pci_base_realize()
|
H A D | trace-events | 35 virtio_gpu_cmd_get_edid(uint32_t scanout) "scanout %d" 53 virtio_gpu_update_cursor(uint32_t scanout, uint32_t x, uint32_t y, const char *type, uint32_t res) …
|
/openbmc/qemu/contrib/vhost-user-gpu/ |
H A D | vhost-user-gpu.c | 412 struct virtio_gpu_scanout *scanout = &g->scanout[scanout_id]; in vg_disable_scanout() local 424 scanout->width = 0; in vg_disable_scanout() 425 scanout->height = 0; in vg_disable_scanout() 699 scanout = &g->scanout[ss.scanout_id]; in vg_set_scanout() 708 scanout->x = ss.r.x; in vg_set_scanout() 709 scanout->y = ss.r.y; in vg_set_scanout() 710 scanout->width = ss.r.width; in vg_set_scanout() 711 scanout->height = ss.r.height; in vg_set_scanout() 794 scanout = &g->scanout[i]; in vg_resource_flush() 797 pixman_region_init_rect(®ion, scanout->x, scanout->y, in vg_resource_flush() [all …]
|
H A D | vugpu.h | 104 VhostUserGpuScanout scanout; member 146 struct virtio_gpu_scanout scanout[VIRTIO_GPU_MAX_SCANOUTS]; member
|
H A D | virgl.c | 426 g->scanout[ss.scanout_id].resource_id = ss.resource_id; in virgl_cmd_set_scanout() 444 if (g->scanout[i].resource_id != rf.resource_id) { in virgl_cmd_resource_flush()
|
/openbmc/qemu/ui/ |
H A D | console.c | 915 con->scanout.kind = SCANOUT_SURFACE; in dpy_gfx_replace_surface() 1099 con->scanout.kind = SCANOUT_NONE; in dpy_gl_scanout_disable() 1123 con->scanout.kind = SCANOUT_TEXTURE; in dpy_gl_scanout_texture() 1148 con->scanout.kind = SCANOUT_DMABUF; in dpy_gl_scanout_dmabuf() 1149 con->scanout.dmabuf = dmabuf; in dpy_gl_scanout_dmabuf() 1524 switch (con->scanout.kind) { in qemu_console_get_width() 1526 return con->scanout.dmabuf->width; in qemu_console_get_width() 1528 return con->scanout.texture.width; in qemu_console_get_width() 1544 switch (con->scanout.kind) { in qemu_console_get_height() 1546 return con->scanout.dmabuf->height; in qemu_console_get_height() [all …]
|
H A D | sdl2-gl.c | 33 static void sdl2_set_scanout_mode(struct sdl2_console *scon, bool scanout) in sdl2_set_scanout_mode() argument 35 if (scon->scanout_mode == scanout) { in sdl2_set_scanout_mode() 39 scon->scanout_mode = scanout; in sdl2_set_scanout_mode()
|
H A D | console-priv.h | 23 DisplayScanout scanout; member
|
H A D | gtk-gl-area.c | 21 static void gtk_gl_area_set_scanout_mode(VirtualConsole *vc, bool scanout) in gtk_gl_area_set_scanout_mode() argument 23 if (vc->gfx.scanout_mode == scanout) { in gtk_gl_area_set_scanout_mode() 27 vc->gfx.scanout_mode = scanout; in gtk_gl_area_set_scanout_mode()
|
H A D | gtk-egl.c | 27 static void gtk_egl_set_scanout_mode(VirtualConsole *vc, bool scanout) in gtk_egl_set_scanout_mode() argument 29 if (vc->gfx.scanout_mode == scanout) { in gtk_egl_set_scanout_mode() 33 vc->gfx.scanout_mode = scanout; in gtk_egl_set_scanout_mode()
|
/openbmc/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_vq.c | 742 uint32_t scanout = le32_to_cpu(cmd->scanout); in virtio_gpu_cmd_get_edid_cb() local 746 if (scanout >= vgdev->num_scanouts) in virtio_gpu_cmd_get_edid_cb() 748 output = vgdev->outputs + scanout; in virtio_gpu_cmd_get_edid_cb() 889 int scanout; in virtio_gpu_cmd_get_edids() local 894 for (scanout = 0; scanout < vgdev->num_scanouts; scanout++) { in virtio_gpu_cmd_get_edids() 905 cmd_p->scanout = cpu_to_le32(scanout); in virtio_gpu_cmd_get_edids()
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | fsl-vdoa.txt | 6 960 VPU to the conventional raster-scan order for scanout.
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-gpu.h | 151 struct virtio_gpu_scanout scanout[VIRTIO_GPU_MAX_SCANOUTS]; member 284 void virtio_gpu_base_generate_edid(VirtIOGPUBase *g, int scanout,
|
/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A D | amlogic,meson-vpu.yaml | 32 The Video Input Unit is in charge of the pixel scanout from the DDR memory. 54 tree and provides the scanout clock to the VPP and VIU.
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_gpu.h | 345 uint32_t scanout; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_gpu.h | 345 __le32 scanout; member
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_surface.c | 771 metadata->scanout = req->scanout; in vmw_surface_define_ioctl() 816 if (metadata->scanout && in vmw_surface_define_ioctl() 1488 metadata.scanout = req->base.drm_surface_flags & in vmw_gb_surface_define_internal() 2015 if (req->scanout) { in vmw_gb_surface_define() 2093 metadata->scanout && in vmw_gb_surface_define()
|