Lines Matching refs:new_state
258 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_primary_atomic_check() local
262 if (new_state->crtc) { in vbox_primary_atomic_check()
264 new_state->crtc); in vbox_primary_atomic_check()
269 return drm_atomic_helper_check_plane_state(new_state, crtc_state, in vbox_primary_atomic_check()
278 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_primary_atomic_update() local
280 struct drm_crtc *crtc = new_state->crtc; in vbox_primary_atomic_update()
281 struct drm_framebuffer *fb = new_state->fb; in vbox_primary_atomic_update()
287 new_state->src_x >> 16, in vbox_primary_atomic_update()
288 new_state->src_y >> 16); in vbox_primary_atomic_update()
292 clips = drm_plane_get_damage_clips(new_state); in vbox_primary_atomic_update()
293 num_clips = drm_plane_get_damage_clips_count(new_state); in vbox_primary_atomic_update()
337 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_cursor_atomic_check() local
340 u32 width = new_state->crtc_w; in vbox_cursor_atomic_check()
341 u32 height = new_state->crtc_h; in vbox_cursor_atomic_check()
344 if (new_state->crtc) { in vbox_cursor_atomic_check()
346 new_state->crtc); in vbox_cursor_atomic_check()
351 ret = drm_atomic_helper_check_plane_state(new_state, crtc_state, in vbox_cursor_atomic_check()
358 if (!new_state->fb) in vbox_cursor_atomic_check()
391 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_cursor_atomic_update() local
395 struct vbox_crtc *vbox_crtc = to_vbox_crtc(new_state->crtc); in vbox_cursor_atomic_update()
396 struct drm_framebuffer *fb = new_state->fb; in vbox_cursor_atomic_update()
397 u32 width = new_state->crtc_w; in vbox_cursor_atomic_update()
398 u32 height = new_state->crtc_h; in vbox_cursor_atomic_update()
400 to_drm_shadow_plane_state(new_state); in vbox_cursor_atomic_update()