Lines Matching refs:parent_obj

84     if (cursor->pos.scanout_id >= g->parent_obj.conf.max_outputs) {  in update_cursor()
87 s = &g->parent_obj.scanout[cursor->pos.scanout_id]; in update_cursor()
367 struct virtio_gpu_scanout *scanout = &g->parent_obj.scanout[scanout_id]; in virtio_gpu_disable_scanout()
393 for (i = 0; i < g->parent_obj.conf.max_outputs; i++) { in virtio_gpu_resource_destroy()
511 for (i = 0; i < g->parent_obj.conf.max_outputs; i++) { in virtio_gpu_resource_flush()
512 scanout = &g->parent_obj.scanout[i]; in virtio_gpu_resource_flush()
557 for (i = 0; i < g->parent_obj.conf.max_outputs; i++) { in virtio_gpu_resource_flush()
563 scanout = &g->parent_obj.scanout[i]; in virtio_gpu_resource_flush()
571 dpy_gfx_update(g->parent_obj.scanout[i].con, in virtio_gpu_resource_flush()
591 scanout = &g->parent_obj.scanout[scanout_id]; in virtio_gpu_update_scanout()
616 scanout = &g->parent_obj.scanout[scanout_id]; in virtio_gpu_do_set_scanout()
635 g->parent_obj.enable = 1; in virtio_gpu_do_set_scanout()
675 dpy_gfx_replace_surface(g->parent_obj.scanout[scanout_id].con, in virtio_gpu_do_set_scanout()
695 if (ss.scanout_id >= g->parent_obj.conf.max_outputs) { in virtio_gpu_set_scanout()
772 if (ss.scanout_id >= g->parent_obj.conf.max_outputs) { in virtio_gpu_set_scanout_blob()
976 if (!virtio_gpu_blob_enabled(g->parent_obj.conf)) { in virtio_gpu_simple_process_cmd()
995 if (!virtio_gpu_blob_enabled(g->parent_obj.conf)) { in virtio_gpu_simple_process_cmd()
1012 if (!g->parent_obj.renderer_blocked) { in virtio_gpu_simple_process_cmd()
1043 if (g->parent_obj.renderer_blocked) { in virtio_gpu_process_cmdq()
1057 if (virtio_gpu_stats_enabled(g->parent_obj.conf)) { in virtio_gpu_process_cmdq()
1064 if (virtio_gpu_stats_enabled(g->parent_obj.conf)) { in virtio_gpu_process_cmdq()
1087 if (virtio_gpu_stats_enabled(g->parent_obj.conf)) { in virtio_gpu_process_fenceq()
1095 VirtIOGPU *g = container_of(b, VirtIOGPU, parent_obj); in virtio_gpu_handle_gl_flushed()
1165 virtio_gpu_handle_cursor(&g->parent_obj.parent_obj, g->cursor_vq); in virtio_gpu_cursor_bh()
1171 struct VirtIOGPU *gpu = container_of(base, VirtIOGPU, parent_obj); in scanout_vmstate_after_v2()
1210 VMSTATE_INT32(parent_obj.enable, struct VirtIOGPU),
1211 VMSTATE_UINT32_EQUAL(parent_obj.conf.max_outputs,
1213 VMSTATE_STRUCT_VARRAY_UINT32(parent_obj.scanout, struct VirtIOGPU,
1214 parent_obj.conf.max_outputs, 1,
1427 for (i = 0; i < g->parent_obj.conf.max_outputs; i++) { in virtio_gpu_post_load()
1428 scanout = &g->parent_obj.scanout[i]; in virtio_gpu_post_load()
1475 if (virtio_gpu_blob_enabled(g->parent_obj.conf)) { in virtio_gpu_device_realize()
1476 if (!virtio_gpu_rutabaga_enabled(g->parent_obj.conf) && in virtio_gpu_device_realize()
1477 !virtio_gpu_virgl_enabled(g->parent_obj.conf) && in virtio_gpu_device_realize()
1485 if (virtio_gpu_virgl_enabled(g->parent_obj.conf)) { in virtio_gpu_device_realize()
1493 if (virtio_gpu_venus_enabled(g->parent_obj.conf)) { in virtio_gpu_device_realize()
1496 if (!virtio_gpu_blob_enabled(g->parent_obj.conf) || in virtio_gpu_device_realize()
1497 !virtio_gpu_hostmem_enabled(g->parent_obj.conf)) { in virtio_gpu_device_realize()
1560 for (i = 0; i < g->parent_obj.conf.max_outputs; i++) { in virtio_gpu_reset_bh()
1561 dpy_gfx_replace_surface(g->parent_obj.scanout[i].con, NULL); in virtio_gpu_reset_bh()
1623 return virtio_gpu_blob_enabled(g->parent_obj.conf); in virtio_gpu_blob_state_needed()
1678 VIRTIO_GPU_BASE_PROPERTIES(VirtIOGPU, parent_obj.conf),
1681 DEFINE_PROP_BIT("blob", VirtIOGPU, parent_obj.conf.flags,
1683 DEFINE_PROP_SIZE("hostmem", VirtIOGPU, parent_obj.conf.hostmem, 0),