• Home
  • Raw
  • Download

Lines Matching refs:output

89 	struct virtio_gpu_output *output = drm_crtc_to_virtio_gpu_output(crtc);  in virtio_gpu_crtc_mode_set_nofb()  local
91 virtio_gpu_cmd_set_scanout(vgdev, output->index, 0, in virtio_gpu_crtc_mode_set_nofb()
107 struct virtio_gpu_output *output = drm_crtc_to_virtio_gpu_output(crtc); in virtio_gpu_crtc_atomic_disable() local
109 virtio_gpu_cmd_set_scanout(vgdev, output->index, 0, 0, 0, 0, 0); in virtio_gpu_crtc_atomic_disable()
122 struct virtio_gpu_output *output = drm_crtc_to_virtio_gpu_output(crtc); in virtio_gpu_crtc_atomic_flush() local
131 output->needs_modeset = true; in virtio_gpu_crtc_atomic_flush()
159 struct virtio_gpu_output *output = in virtio_gpu_conn_get_modes() local
164 if (output->edid) { in virtio_gpu_conn_get_modes()
165 count = drm_add_edid_modes(connector, output->edid); in virtio_gpu_conn_get_modes()
170 width = le32_to_cpu(output->info.r.width); in virtio_gpu_conn_get_modes()
171 height = le32_to_cpu(output->info.r.height); in virtio_gpu_conn_get_modes()
193 struct virtio_gpu_output *output = in virtio_gpu_conn_mode_valid() local
197 width = le32_to_cpu(output->info.r.width); in virtio_gpu_conn_mode_valid()
198 height = le32_to_cpu(output->info.r.height); in virtio_gpu_conn_mode_valid()
227 struct virtio_gpu_output *output = in virtio_gpu_conn_detect() local
230 if (output->info.enabled) in virtio_gpu_conn_detect()
254 struct virtio_gpu_output *output = vgdev->outputs + index; in vgdev_output_init() local
255 struct drm_connector *connector = &output->conn; in vgdev_output_init()
256 struct drm_encoder *encoder = &output->enc; in vgdev_output_init()
257 struct drm_crtc *crtc = &output->crtc; in vgdev_output_init()
260 output->index = index; in vgdev_output_init()
262 output->info.enabled = cpu_to_le32(true); in vgdev_output_init()
263 output->info.r.width = cpu_to_le32(XRES_DEF); in vgdev_output_init()
264 output->info.r.height = cpu_to_le32(YRES_DEF); in vgdev_output_init()