Lines Matching defs:new_state
537 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
539 struct tegra_plane_state *tegra_plane_state = to_tegra_plane_state(new_state);
540 struct tegra_dc *dc = to_tegra_dc(new_state->crtc);
541 unsigned int zpos = new_state->normalized_zpos;
542 struct drm_framebuffer *fb = new_state->fb;
551 if (!new_state->crtc || !new_state->fb)
554 if (!new_state->visible) {
586 min_width = min(new_state->src_w >> 16, new_state->crtc_w);
604 if (new_state->src_w != new_state->crtc_w << 16) {
605 fixed20_12 width = dfixed_init(new_state->src_w >> 16);
606 u32 incr = compute_phase_incr(width, new_state->crtc_w) & ~0x1;
615 if (new_state->src_h != new_state->crtc_h << 16) {
616 fixed20_12 height = dfixed_init(new_state->src_h >> 16);
617 u32 incr = compute_phase_incr(height, new_state->crtc_h) & ~0x1;
647 value = V_POSITION(new_state->crtc_y) |
648 H_POSITION(new_state->crtc_x);
651 value = V_SIZE(new_state->crtc_h) | H_SIZE(new_state->crtc_w);
657 value = V_SIZE(new_state->src_h >> 16) | H_SIZE(new_state->src_w >> 16);
712 value = OFFSET_X(new_state->src_y >> 16) |
713 OFFSET_Y(new_state->src_x >> 16);