Lines Matching refs:new_state
89 struct drm_plane_state *new_state = in logicvc_plane_atomic_check() local
96 if (!new_state->crtc) in logicvc_plane_atomic_check()
99 crtc_state = drm_atomic_get_existing_crtc_state(new_state->state, in logicvc_plane_atomic_check()
100 new_state->crtc); in logicvc_plane_atomic_check()
104 if (new_state->crtc_x < 0 || new_state->crtc_y < 0) { in logicvc_plane_atomic_check()
111 ret = logicvc_layer_buffer_find_setup(logicvc, layer, new_state, in logicvc_plane_atomic_check()
126 ret = drm_atomic_helper_check_plane_state(new_state, crtc_state, in logicvc_plane_atomic_check()
143 struct drm_plane_state *new_state = in logicvc_plane_atomic_update() local
147 struct drm_framebuffer *fb = new_state->fb; in logicvc_plane_atomic_update()
155 new_state->crtc_w - 1); in logicvc_plane_atomic_update()
157 new_state->crtc_h - 1); in logicvc_plane_atomic_update()
160 phys_addr_t fb_addr = drm_fb_dma_get_gem_addr(fb, new_state, 0); in logicvc_plane_atomic_update()
167 logicvc_layer_buffer_find_setup(logicvc, layer, new_state, in logicvc_plane_atomic_update()
183 mode->hdisplay - 1 - new_state->crtc_x); in logicvc_plane_atomic_update()
187 mode->vdisplay - 1 - new_state->crtc_y); in logicvc_plane_atomic_update()
213 alpha = new_state->alpha * alpha_max / DRM_BLEND_ALPHA_OPAQUE; in logicvc_plane_atomic_update()