Lines Matching defs:output
139 struct virtio_gpu_output *output = NULL;
144 output = drm_crtc_to_virtio_gpu_output(plane->state->crtc);
146 output = drm_crtc_to_virtio_gpu_output(old_state->crtc);
147 if (WARN_ON(!output))
150 if (!plane->state->fb || !output->enabled) {
152 virtio_gpu_cmd_set_scanout(vgdev, output->index, 0,
181 virtio_gpu_cmd_set_scanout(vgdev, output->index,
240 struct virtio_gpu_output *output = NULL;
246 output = drm_crtc_to_virtio_gpu_output(plane->state->crtc);
248 output = drm_crtc_to_virtio_gpu_output(old_state->crtc);
249 if (WARN_ON(!output))
285 output->cursor.hdr.type =
287 output->cursor.resource_id = cpu_to_le32(handle);
289 output->cursor.hot_x =
291 output->cursor.hot_y =
294 output->cursor.hot_x = cpu_to_le32(0);
295 output->cursor.hot_y = cpu_to_le32(0);
301 output->cursor.hdr.type =
304 output->cursor.pos.x = cpu_to_le32(plane->state->crtc_x);
305 output->cursor.pos.y = cpu_to_le32(plane->state->crtc_y);
306 virtio_gpu_cursor_ping(vgdev, output);