Lines Matching refs:new_state
264 struct drm_plane_state *new_state) in vbox_primary_atomic_check() argument
268 if (new_state->crtc) { in vbox_primary_atomic_check()
270 new_state->state, new_state->crtc); in vbox_primary_atomic_check()
275 return drm_atomic_helper_check_plane_state(new_state, crtc_state, in vbox_primary_atomic_check()
304 struct drm_plane_state *new_state) in vbox_primary_prepare_fb() argument
309 if (!new_state->fb) in vbox_primary_prepare_fb()
312 gbo = drm_gem_vram_of_gem(to_vbox_framebuffer(new_state->fb)->obj); in vbox_primary_prepare_fb()
333 struct drm_plane_state *new_state) in vbox_cursor_atomic_check() argument
336 u32 width = new_state->crtc_w; in vbox_cursor_atomic_check()
337 u32 height = new_state->crtc_h; in vbox_cursor_atomic_check()
340 if (new_state->crtc) { in vbox_cursor_atomic_check()
342 new_state->state, new_state->crtc); in vbox_cursor_atomic_check()
347 ret = drm_atomic_helper_check_plane_state(new_state, crtc_state, in vbox_cursor_atomic_check()
354 if (!new_state->fb) in vbox_cursor_atomic_check()
463 struct drm_plane_state *new_state) in vbox_cursor_prepare_fb() argument
467 if (!new_state->fb) in vbox_cursor_prepare_fb()
470 gbo = drm_gem_vram_of_gem(to_vbox_framebuffer(new_state->fb)->obj); in vbox_cursor_prepare_fb()