Lines Matching refs:scanout_id
43 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
127 if (pos->scanout_id >= g->parent_obj.conf.max_outputs) { in vhost_user_gpu_handle_cursor()
130 s = &g->parent_obj.scanout[pos->scanout_id]; in vhost_user_gpu_handle_cursor()
217 if (m->scanout_id >= g->parent_obj.conf.max_outputs) { in vhost_user_gpu_handle_display()
218 error_report("invalid scanout: %d", m->scanout_id); in vhost_user_gpu_handle_display()
223 virtio_gpu_base_generate_edid(VIRTIO_GPU_BASE(g), m->scanout_id, &resp); in vhost_user_gpu_handle_display()
231 if (m->scanout_id >= g->parent_obj.conf.max_outputs) { in vhost_user_gpu_handle_display()
236 s = &g->parent_obj.scanout[m->scanout_id]; in vhost_user_gpu_handle_display()
255 if (m->scanout_id >= g->parent_obj.conf.max_outputs) { in vhost_user_gpu_handle_display()
256 error_report("invalid scanout: %d", m->scanout_id); in vhost_user_gpu_handle_display()
264 con = g->parent_obj.scanout[m->scanout_id].con; 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()
298 if (m->scanout_id >= g->parent_obj.conf.max_outputs || in vhost_user_gpu_handle_display()
299 !g->parent_obj.scanout[m->scanout_id].con) { in vhost_user_gpu_handle_display()
300 error_report("invalid scanout update: %d", m->scanout_id); in vhost_user_gpu_handle_display()
305 con = g->parent_obj.scanout[m->scanout_id].con; in vhost_user_gpu_handle_display()
319 if (m->scanout_id >= g->parent_obj.conf.max_outputs) { in vhost_user_gpu_handle_display()
322 s = &g->parent_obj.scanout[m->scanout_id]; in vhost_user_gpu_handle_display()