Lines Matching defs:newstate
708 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state,
712 struct drm_crtc *crtc = newstate->crtc;
713 struct drm_framebuffer *fb = newstate->fb;
730 if ((oldstate->fb == newstate->fb) &&
731 (oldstate->crtc_x == newstate->crtc_x) &&
732 (oldstate->crtc_y == newstate->crtc_y) &&
733 (oldstate->crtc_w == newstate->crtc_w) &&
734 (oldstate->crtc_h == newstate->crtc_h) &&
735 (oldstate->src_x == newstate->src_x) &&
736 (oldstate->src_y == newstate->src_y) &&
737 (oldstate->src_w == newstate->src_w) &&
738 (oldstate->src_h == newstate->src_h)) {
756 dst_x = newstate->crtc_x;
757 dst_y = newstate->crtc_y;
758 dst_w = clamp_val(newstate->crtc_w, 0, mode->hdisplay - dst_x);
759 dst_h = clamp_val(newstate->crtc_h, 0, mode->vdisplay - dst_y);
761 src_x = newstate->src_x >> 16;
762 src_y = newstate->src_y >> 16;
763 src_w = clamp_val(newstate->src_w >> 16, 0, GAM_GDP_SIZE_MAX_WIDTH);
764 src_h = clamp_val(newstate->src_h >> 16, 0, GAM_GDP_SIZE_MAX_HEIGHT);