Lines Matching refs:old_state
169 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in virtio_gpu_primary_plane_update() local
179 if (old_state->crtc) in virtio_gpu_primary_plane_update()
180 output = drm_crtc_to_virtio_gpu_output(old_state->crtc); in virtio_gpu_primary_plane_update()
194 if (!drm_atomic_helper_damage_merged(old_state, plane->state, &rect)) in virtio_gpu_primary_plane_update()
201 if (plane->state->fb != old_state->fb || in virtio_gpu_primary_plane_update()
202 plane->state->src_w != old_state->src_w || in virtio_gpu_primary_plane_update()
203 plane->state->src_h != old_state->src_h || in virtio_gpu_primary_plane_update()
204 plane->state->src_x != old_state->src_x || in virtio_gpu_primary_plane_update()
205 plane->state->src_y != old_state->src_y || in virtio_gpu_primary_plane_update()
268 struct drm_plane_state *old_state) in virtio_gpu_plane_cleanup_fb() argument
285 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in virtio_gpu_cursor_plane_update() local
296 if (old_state->crtc) in virtio_gpu_cursor_plane_update()
297 output = drm_crtc_to_virtio_gpu_output(old_state->crtc); in virtio_gpu_cursor_plane_update()
309 if (bo && bo->dumb && (plane->state->fb != old_state->fb)) { in virtio_gpu_cursor_plane_update()
329 if (plane->state->fb != old_state->fb) { in virtio_gpu_cursor_plane_update()