Lines Matching refs:new_state
260 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_primary_atomic_check() local
264 if (new_state->crtc) { in vbox_primary_atomic_check()
266 new_state->crtc); in vbox_primary_atomic_check()
271 return drm_atomic_helper_check_plane_state(new_state, crtc_state, in vbox_primary_atomic_check()
280 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_primary_atomic_update() local
282 struct drm_crtc *crtc = new_state->crtc; in vbox_primary_atomic_update()
283 struct drm_framebuffer *fb = new_state->fb; in vbox_primary_atomic_update()
289 new_state->src_x >> 16, in vbox_primary_atomic_update()
290 new_state->src_y >> 16); in vbox_primary_atomic_update()
294 clips = drm_plane_get_damage_clips(new_state); in vbox_primary_atomic_update()
295 num_clips = drm_plane_get_damage_clips_count(new_state); in vbox_primary_atomic_update()
339 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_cursor_atomic_check() local
342 u32 width = new_state->crtc_w; in vbox_cursor_atomic_check()
343 u32 height = new_state->crtc_h; in vbox_cursor_atomic_check()
346 if (new_state->crtc) { in vbox_cursor_atomic_check()
348 new_state->crtc); in vbox_cursor_atomic_check()
353 ret = drm_atomic_helper_check_plane_state(new_state, crtc_state, in vbox_cursor_atomic_check()
360 if (!new_state->fb) in vbox_cursor_atomic_check()
393 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_cursor_atomic_update() local
397 struct vbox_crtc *vbox_crtc = to_vbox_crtc(new_state->crtc); in vbox_cursor_atomic_update()
398 struct drm_framebuffer *fb = new_state->fb; in vbox_cursor_atomic_update()
399 u32 width = new_state->crtc_w; in vbox_cursor_atomic_update()
400 u32 height = new_state->crtc_h; in vbox_cursor_atomic_update()
402 to_drm_shadow_plane_state(new_state); in vbox_cursor_atomic_update()