Lines Matching refs:newstate
1118 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state,
1122 struct drm_crtc *crtc = newstate->crtc;
1123 struct drm_framebuffer *fb = newstate->fb;
1135 if ((oldstate->fb == newstate->fb) &&
1136 (oldstate->crtc_x == newstate->crtc_x) &&
1137 (oldstate->crtc_y == newstate->crtc_y) &&
1138 (oldstate->crtc_w == newstate->crtc_w) &&
1139 (oldstate->crtc_h == newstate->crtc_h) &&
1140 (oldstate->src_x == newstate->src_x) &&
1141 (oldstate->src_y == newstate->src_y) &&
1142 (oldstate->src_w == newstate->src_w) &&
1143 (oldstate->src_h == newstate->src_h)) {
1151 dst_x = newstate->crtc_x;
1152 dst_y = newstate->crtc_y;
1153 dst_w = clamp_val(newstate->crtc_w, 0, mode->hdisplay - dst_x);
1154 dst_h = clamp_val(newstate->crtc_h, 0, mode->vdisplay - dst_y);
1156 src_x = newstate->src_x >> 16;
1157 src_y = newstate->src_y >> 16;
1158 src_w = newstate->src_w >> 16;
1159 src_h = newstate->src_h >> 16;