Lines Matching refs:pstate

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