Lines Matching defs:output
175 struct virtio_gpu_output *output = NULL;
180 output = drm_crtc_to_virtio_gpu_output(plane->state->crtc);
182 output = drm_crtc_to_virtio_gpu_output(old_state->crtc);
183 if (WARN_ON(!output))
186 if (!plane->state->fb || !output->crtc.state->active) {
188 virtio_gpu_cmd_set_scanout(vgdev, output->index, 0,
208 output->needs_modeset) {
209 output->needs_modeset = false;
221 (vgdev, output->index, bo,
228 virtio_gpu_cmd_set_scanout(vgdev, output->index,
292 struct virtio_gpu_output *output = NULL;
298 output = drm_crtc_to_virtio_gpu_output(plane->state->crtc);
300 output = drm_crtc_to_virtio_gpu_output(old_state->crtc);
301 if (WARN_ON(!output))
338 output->cursor.hdr.type =
340 output->cursor.resource_id = cpu_to_le32(handle);
342 output->cursor.hot_x =
344 output->cursor.hot_y =
347 output->cursor.hot_x = cpu_to_le32(0);
348 output->cursor.hot_y = cpu_to_le32(0);
354 output->cursor.hdr.type =
357 output->cursor.pos.x = cpu_to_le32(plane->state->crtc_x);
358 output->cursor.pos.y = cpu_to_le32(plane->state->crtc_y);
359 virtio_gpu_cursor_ping(vgdev, output);