Lines Matching refs:old_state
188 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in virtio_gpu_primary_plane_update() local
198 if (old_state->crtc) in virtio_gpu_primary_plane_update()
199 output = drm_crtc_to_virtio_gpu_output(old_state->crtc); in virtio_gpu_primary_plane_update()
213 if (!drm_atomic_helper_damage_merged(old_state, plane->state, &rect)) in virtio_gpu_primary_plane_update()
220 if (plane->state->fb != old_state->fb || in virtio_gpu_primary_plane_update()
221 plane->state->src_w != old_state->src_w || in virtio_gpu_primary_plane_update()
222 plane->state->src_h != old_state->src_h || in virtio_gpu_primary_plane_update()
223 plane->state->src_x != old_state->src_x || in virtio_gpu_primary_plane_update()
224 plane->state->src_y != old_state->src_y || in virtio_gpu_primary_plane_update()
308 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in virtio_gpu_cursor_plane_update() local
320 if (old_state->crtc) in virtio_gpu_cursor_plane_update()
321 output = drm_crtc_to_virtio_gpu_output(old_state->crtc); in virtio_gpu_cursor_plane_update()
334 if (bo && bo->dumb && (plane->state->fb != old_state->fb)) { in virtio_gpu_cursor_plane_update()
352 if (plane->state->fb != old_state->fb) { in virtio_gpu_cursor_plane_update()