Lines Matching refs:newstate
783 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in ltdc_plane_atomic_update() local
785 struct drm_framebuffer *fb = newstate->fb; in ltdc_plane_atomic_update()
787 u32 x0 = newstate->crtc_x; in ltdc_plane_atomic_update()
788 u32 x1 = newstate->crtc_x + newstate->crtc_w - 1; in ltdc_plane_atomic_update()
789 u32 y0 = newstate->crtc_y; in ltdc_plane_atomic_update()
790 u32 y1 = newstate->crtc_y + newstate->crtc_h - 1; in ltdc_plane_atomic_update()
795 if (!newstate->crtc || !fb) { in ltdc_plane_atomic_update()
801 src_x = newstate->src_x >> 16; in ltdc_plane_atomic_update()
802 src_y = newstate->src_y >> 16; in ltdc_plane_atomic_update()
803 src_w = newstate->src_w >> 16; in ltdc_plane_atomic_update()
804 src_h = newstate->src_h >> 16; in ltdc_plane_atomic_update()
809 newstate->crtc_w, newstate->crtc_h, in ltdc_plane_atomic_update()
810 newstate->crtc_x, newstate->crtc_y); in ltdc_plane_atomic_update()
848 val = newstate->alpha >> 8; in ltdc_plane_atomic_update()
869 paddr = (u32)drm_fb_cma_get_gem_addr(fb, newstate, 0); in ltdc_plane_atomic_update()