Lines Matching refs:pstate
259 const struct drm_plane_state *pstate;
274 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, state) {
285 h_upscale_factor = div_u64((u64)pstate->crtc_w << 32,
286 pstate->src_w);
287 v_upscale_factor = div_u64((u64)pstate->crtc_h << 32,
288 pstate->src_h);
293 if (pstate->rotation & MALIDP_ROTATED_MASK) {
294 s->input_w = pstate->src_h >> 16;
295 s->input_h = pstate->src_w >> 16;
297 s->input_w = pstate->src_w >> 16;
298 s->input_h = pstate->src_h >> 16;
301 s->output_w = pstate->crtc_w;
302 s->output_h = pstate->crtc_h;
348 const struct drm_plane_state *pstate;
379 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, crtc_state) {
380 struct drm_framebuffer *fb = pstate->fb;
382 if ((pstate->rotation & MALIDP_ROTATED_MASK) || fb->modifier)
395 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, crtc_state) {
397 struct malidp_plane_state *ms = to_malidp_plane_state(pstate);
398 struct drm_framebuffer *fb = pstate->fb;
400 if ((pstate->rotation & MALIDP_ROTATED_MASK) || fb->modifier) {