Lines Matching full:pstate
256 const struct drm_plane_state *pstate;
271 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, state) {
282 h_upscale_factor = div_u64((u64)pstate->crtc_w << 32,
283 pstate->src_w);
284 v_upscale_factor = div_u64((u64)pstate->crtc_h << 32,
285 pstate->src_h);
290 if (pstate->rotation & MALIDP_ROTATED_MASK) {
291 s->input_w = pstate->src_h >> 16;
292 s->input_h = pstate->src_w >> 16;
294 s->input_w = pstate->src_w >> 16;
295 s->input_h = pstate->src_h >> 16;
298 s->output_w = pstate->crtc_w;
299 s->output_h = pstate->crtc_h;
343 const struct drm_plane_state *pstate;
374 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, state) {
375 struct drm_framebuffer *fb = pstate->fb;
377 if ((pstate->rotation & MALIDP_ROTATED_MASK) || fb->modifier)
390 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, state) {
392 struct malidp_plane_state *ms = to_malidp_plane_state(pstate);
393 struct drm_framebuffer *fb = pstate->fb;
395 if ((pstate->rotation & MALIDP_ROTATED_MASK) || fb->modifier) {