Lines Matching refs:new_plane_state
495 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in malidp_de_plane_check() local
498 struct malidp_plane_state *ms = to_malidp_plane_state(new_plane_state); in malidp_de_plane_check()
499 bool rotated = new_plane_state->rotation & MALIDP_ROTATED_MASK; in malidp_de_plane_check()
501 u16 pixel_alpha = new_plane_state->pixel_blend_mode; in malidp_de_plane_check()
505 if (!new_plane_state->crtc || WARN_ON(!new_plane_state->fb)) in malidp_de_plane_check()
508 fb = new_plane_state->fb; in malidp_de_plane_check()
534 if ((new_plane_state->src_x >> 16) % block_w || (new_plane_state->src_y >> 16) % block_h) { in malidp_de_plane_check()
539 if ((new_plane_state->crtc_w > mp->hwdev->max_line_size) || in malidp_de_plane_check()
540 (new_plane_state->crtc_h > mp->hwdev->max_line_size) || in malidp_de_plane_check()
541 (new_plane_state->crtc_w < mp->hwdev->min_line_size) || in malidp_de_plane_check()
542 (new_plane_state->crtc_h < mp->hwdev->min_line_size)) in malidp_de_plane_check()
552 (new_plane_state->fb->pitches[1] != new_plane_state->fb->pitches[2])) in malidp_de_plane_check()
555 ret = malidp_se_check_scaling(mp, new_plane_state); in malidp_de_plane_check()
560 if (new_plane_state->rotation != DRM_MODE_ROTATE_0) { in malidp_de_plane_check()
581 if (new_plane_state->rotation & MALIDP_ROTATED_MASK) { in malidp_de_plane_check()
584 val = mp->hwdev->hw->rotmem_required(mp->hwdev, new_plane_state->crtc_w, in malidp_de_plane_check()
585 new_plane_state->crtc_h, in malidp_de_plane_check()
595 if ((new_plane_state->alpha != DRM_BLEND_ALPHA_OPAQUE) && in malidp_de_plane_check()