Lines Matching defs:output
134 struct virtio_gpu_output *output = NULL;
139 output = drm_crtc_to_virtio_gpu_output(plane->state->crtc);
141 output = drm_crtc_to_virtio_gpu_output(old_state->crtc);
142 if (WARN_ON(!output))
145 if (!plane->state->fb || !output->crtc.state->active) {
147 virtio_gpu_cmd_set_scanout(vgdev, output->index, 0,
167 output->needs_modeset) {
168 output->needs_modeset = false;
177 virtio_gpu_cmd_set_scanout(vgdev, output->index,
235 struct virtio_gpu_output *output = NULL;
241 output = drm_crtc_to_virtio_gpu_output(plane->state->crtc);
243 output = drm_crtc_to_virtio_gpu_output(old_state->crtc);
244 if (WARN_ON(!output))
281 output->cursor.hdr.type =
283 output->cursor.resource_id = cpu_to_le32(handle);
285 output->cursor.hot_x =
287 output->cursor.hot_y =
290 output->cursor.hot_x = cpu_to_le32(0);
291 output->cursor.hot_y = cpu_to_le32(0);
297 output->cursor.hdr.type =
300 output->cursor.pos.x = cpu_to_le32(plane->state->crtc_x);
301 output->cursor.pos.y = cpu_to_le32(plane->state->crtc_y);
302 virtio_gpu_cursor_ping(vgdev, output);