Lines Matching refs:old_state

139 	struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state,  in armada_drm_primary_plane_atomic_update()  local
157 old_state->visible, new_state->visible); in armada_drm_primary_plane_atomic_update()
163 if (!old_state->visible && new_state->visible) { in armada_drm_primary_plane_atomic_update()
170 if (armada_src_hw(old_state) != val) in armada_drm_primary_plane_atomic_update()
173 if (armada_dst_yx(old_state) != val) in armada_drm_primary_plane_atomic_update()
176 if (armada_dst_hw(old_state) != val) in armada_drm_primary_plane_atomic_update()
178 if (old_state->src.x1 != new_state->src.x1 || in armada_drm_primary_plane_atomic_update()
179 old_state->src.y1 != new_state->src.y1 || in armada_drm_primary_plane_atomic_update()
180 old_state->fb != new_state->fb || in armada_drm_primary_plane_atomic_update()
190 if (old_state->fb != new_state->fb || in armada_drm_primary_plane_atomic_update()
205 } else if (old_state->visible != new_state->visible) { in armada_drm_primary_plane_atomic_update()
211 if (drm_rect_width(&old_state->src) != drm_rect_width(&new_state->src) || in armada_drm_primary_plane_atomic_update()
212 drm_rect_width(&old_state->dst) != drm_rect_width(&new_state->dst)) { in armada_drm_primary_plane_atomic_update()
229 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in armada_drm_primary_plane_atomic_disable() local
237 if (!old_state->crtc) in armada_drm_primary_plane_atomic_disable()
242 old_state->crtc->base.id, old_state->crtc->name, in armada_drm_primary_plane_atomic_disable()
243 old_state->fb->base.id); in armada_drm_primary_plane_atomic_disable()
245 dcrtc = drm_to_armada_crtc(old_state->crtc); in armada_drm_primary_plane_atomic_disable()