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