Lines Matching refs:new_state
136 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in meson_plane_atomic_update() local
138 struct drm_rect dest = drm_plane_state_dest(new_state); in meson_plane_atomic_update()
140 struct drm_framebuffer *fb = new_state->fb; in meson_plane_atomic_update()
253 if (new_state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE) { in meson_plane_atomic_update()
263 src_w = fixed16_to_int(new_state->src_w); in meson_plane_atomic_update()
264 src_h = fixed16_to_int(new_state->src_h); in meson_plane_atomic_update()
265 dst_w = new_state->crtc_w; in meson_plane_atomic_update()
266 dst_h = new_state->crtc_h; in meson_plane_atomic_update()
275 if (new_state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE) { in meson_plane_atomic_update()
284 if (new_state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE) in meson_plane_atomic_update()
316 if (new_state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE) in meson_plane_atomic_update()
351 ((fixed16_to_int(new_state->src.x2) - 1) << 16) | in meson_plane_atomic_update()
352 fixed16_to_int(new_state->src.x1); in meson_plane_atomic_update()
354 ((fixed16_to_int(new_state->src.y2) - 1) << 16) | in meson_plane_atomic_update()
355 fixed16_to_int(new_state->src.y1); in meson_plane_atomic_update()