Home
last modified time | relevance | path

Searched refs:num_scanouts (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_kms.c46 if (vgdev->num_scanouts) { in virtio_gpu_config_changed_work_func()
127 u32 num_scanouts, num_capsets; in virtio_gpu_init() local
225 num_scanouts, &num_scanouts); in virtio_gpu_init()
226 vgdev->num_scanouts = min_t(uint32_t, num_scanouts, in virtio_gpu_init()
229 if (!IS_ENABLED(CONFIG_DRM_VIRTIO_GPU_KMS) || !vgdev->num_scanouts) { in virtio_gpu_init()
231 vgdev->num_scanouts = 0; in virtio_gpu_init()
235 DRM_INFO("number of scanouts: %d\n", num_scanouts); in virtio_gpu_init()
252 if (vgdev->num_scanouts) { in virtio_gpu_init()
H A Dvirtgpu_display.c339 if (!vgdev->num_scanouts) in virtio_gpu_modeset_init()
357 for (i = 0 ; i < vgdev->num_scanouts; ++i) in virtio_gpu_modeset_init()
368 if (!vgdev->num_scanouts) in virtio_gpu_modeset_fini()
371 for (i = 0 ; i < vgdev->num_scanouts; ++i) in virtio_gpu_modeset_fini()
H A Dvirtgpu_debugfs.c59 virtio_gpu_add_int(m, "scanouts", vgdev->num_scanouts); in virtio_gpu_features()
H A Dvirtgpu_drv.h223 uint32_t num_scanouts; member
H A Dvirtgpu_vq.c656 for (i = 0; i < vgdev->num_scanouts; i++) { in virtio_gpu_cmd_get_display_info_cb()
746 if (scanout >= vgdev->num_scanouts) in virtio_gpu_cmd_get_edid_cb()
894 for (scanout = 0; scanout < vgdev->num_scanouts; scanout++) { in virtio_gpu_cmd_get_edids()
/openbmc/linux/include/uapi/linux/
H A Dvirtio_gpu.h362 __le32 num_scanouts; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_gpu.h364 uint32_t num_scanouts; member
/openbmc/qemu/hw/display/
H A Dvhost-user-gpu.c488 vgconfig->num_scanouts = b->virtio_config.num_scanouts; in vhost_user_gpu_get_config()
H A Dvirtio-gpu-base.c192 g->virtio_config.num_scanouts = cpu_to_le32(g->conf.max_outputs); in virtio_gpu_base_device_realize()