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