Lines Matching refs:newstate

327 	struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, plane);  in ingenic_ipu_plane_atomic_update()  local
335 if (!newstate || !newstate->fb) in ingenic_ipu_plane_atomic_update()
342 finfo = drm_format_info(newstate->fb->format->format); in ingenic_ipu_plane_atomic_update()
355 needs_modeset = drm_atomic_crtc_needs_modeset(newstate->crtc->state); in ingenic_ipu_plane_atomic_update()
365 drm_fb_dma_sync_non_coherent(ipu->drm, oldstate, newstate); in ingenic_ipu_plane_atomic_update()
368 ipu->addr_y = drm_fb_dma_get_gem_addr(newstate->fb, newstate, 0); in ingenic_ipu_plane_atomic_update()
370 ipu->addr_u = drm_fb_dma_get_gem_addr(newstate->fb, newstate, in ingenic_ipu_plane_atomic_update()
373 ipu->addr_v = drm_fb_dma_get_gem_addr(newstate->fb, newstate, in ingenic_ipu_plane_atomic_update()
391 stride = ((newstate->src_w >> 16) * finfo->cpp[2] / finfo->hsub) in ingenic_ipu_plane_atomic_update()
395 stride |= ((newstate->src_w >> 16) * finfo->cpp[1] / finfo->hsub) in ingenic_ipu_plane_atomic_update()
400 stride = ((newstate->src_w >> 16) * finfo->cpp[0]) << JZ_IPU_Y_STRIDE_Y_LSB; in ingenic_ipu_plane_atomic_update()
405 ((newstate->src_h >> 16) << JZ_IPU_IN_GS_H_LSB)); in ingenic_ipu_plane_atomic_update()
474 ((newstate->crtc_w * 4) << JZ_IPU_OUT_GS_W_LSB) in ingenic_ipu_plane_atomic_update()
475 | newstate->crtc_h << JZ_IPU_OUT_GS_H_LSB); in ingenic_ipu_plane_atomic_update()
476 regmap_write(ipu->map, JZ_REG_IPU_OUT_STRIDE, newstate->crtc_w * 4); in ingenic_ipu_plane_atomic_update()
561 newstate->src_w >> 16, newstate->src_h >> 16, in ingenic_ipu_plane_atomic_update()
562 newstate->crtc_w, newstate->crtc_h, in ingenic_ipu_plane_atomic_update()