Lines Matching refs:pstate

334 		struct dpu_plane_state *pstate, struct dpu_format *format)  in _dpu_crtc_setup_blend_cfg()  argument
340 fg_alpha = pstate->base.alpha >> 8; in _dpu_crtc_setup_blend_cfg()
344 if (pstate->base.pixel_blend_mode == DRM_MODE_BLEND_PIXEL_NONE || in _dpu_crtc_setup_blend_cfg()
348 } else if (pstate->base.pixel_blend_mode == DRM_MODE_BLEND_PREMULTI) { in _dpu_crtc_setup_blend_cfg()
373 lm->ops.setup_blend_config(lm, pstate->stage, in _dpu_crtc_setup_blend_cfg()
453 struct dpu_plane_state *pstate = NULL; in _dpu_crtc_blend_setup_mixer() local
470 pstate = to_dpu_plane_state(state); in _dpu_crtc_blend_setup_mixer()
473 format = to_dpu_format(msm_framebuffer_format(pstate->base.fb)); in _dpu_crtc_blend_setup_mixer()
475 if (pstate->stage == DPU_STAGE_BASE && format->alpha_enable) in _dpu_crtc_blend_setup_mixer()
478 set_bit(pstate->pipe.sspp->idx, fetch_active); in _dpu_crtc_blend_setup_mixer()
481 pstate->stage, in _dpu_crtc_blend_setup_mixer()
483 &pstate->pipe, 0, stage_cfg); in _dpu_crtc_blend_setup_mixer()
485 if (pstate->r_pipe.sspp) { in _dpu_crtc_blend_setup_mixer()
486 set_bit(pstate->r_pipe.sspp->idx, fetch_active); in _dpu_crtc_blend_setup_mixer()
489 pstate->stage, in _dpu_crtc_blend_setup_mixer()
491 &pstate->r_pipe, 1, stage_cfg); in _dpu_crtc_blend_setup_mixer()
496 _dpu_crtc_setup_blend_cfg(mixer + lm_idx, pstate, format); in _dpu_crtc_blend_setup_mixer()
502 1 << pstate->stage; in _dpu_crtc_blend_setup_mixer()
1190 const struct drm_plane_state *pstate; in dpu_crtc_atomic_check() local
1215 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, crtc_state) { in dpu_crtc_atomic_check()
1216 struct dpu_plane_state *dpu_pstate = to_dpu_plane_state(pstate); in dpu_crtc_atomic_check()
1218 if (IS_ERR_OR_NULL(pstate)) { in dpu_crtc_atomic_check()
1219 rc = PTR_ERR(pstate); in dpu_crtc_atomic_check()
1225 if (!pstate->visible) in dpu_crtc_atomic_check()
1279 struct dpu_plane_state *pstate = NULL; in _dpu_debugfs_status_show() local
1315 pstate = to_dpu_plane_state(plane->state); in _dpu_debugfs_status_show()
1318 if (!pstate || !state) in _dpu_debugfs_status_show()
1322 pstate->stage); in _dpu_debugfs_status_show()
1358 pstate->pipe.sspp->cap->name); in _dpu_debugfs_status_show()
1360 pstate->pipe.multirect_mode, pstate->pipe.multirect_index); in _dpu_debugfs_status_show()
1361 if (pstate->r_pipe.sspp) { in _dpu_debugfs_status_show()
1363 pstate->r_pipe.sspp->cap->name); in _dpu_debugfs_status_show()
1365 pstate->r_pipe.multirect_mode, pstate->r_pipe.multirect_index); in _dpu_debugfs_status_show()