Lines Matching defs:pstate
323 struct dpu_plane_state *pstate, const struct msm_format *format)
329 fg_alpha = pstate->base.alpha >> 8;
333 if (pstate->base.pixel_blend_mode == DRM_MODE_BLEND_PIXEL_NONE ||
337 } else if (pstate->base.pixel_blend_mode == DRM_MODE_BLEND_PREMULTI) {
362 lm->ops.setup_blend_config(lm, pstate->stage,
442 struct dpu_plane_state *pstate = NULL;
459 pstate = to_dpu_plane_state(state);
462 format = msm_framebuffer_format(pstate->base.fb);
464 if (pstate->stage == DPU_STAGE_BASE && format->alpha_enable)
467 set_bit(pstate->pipe.sspp->idx, fetch_active);
470 pstate->stage,
472 &pstate->pipe, 0, stage_cfg);
474 if (pstate->r_pipe.sspp) {
475 set_bit(pstate->r_pipe.sspp->idx, fetch_active);
478 pstate->stage,
480 &pstate->r_pipe, 1, stage_cfg);
485 _dpu_crtc_setup_blend_cfg(mixer + lm_idx, pstate, format);
491 1 << pstate->stage;
1179 const struct drm_plane_state *pstate;
1204 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, crtc_state) {
1205 struct dpu_plane_state *dpu_pstate = to_dpu_plane_state(pstate);
1207 if (IS_ERR_OR_NULL(pstate)) {
1208 rc = PTR_ERR(pstate);
1214 if (!pstate->visible)
1268 struct dpu_plane_state *pstate = NULL;
1304 pstate = to_dpu_plane_state(plane->state);
1307 if (!pstate || !state)
1311 pstate->stage);
1347 pstate->pipe.sspp->cap->name);
1349 pstate->pipe.multirect_mode, pstate->pipe.multirect_index);
1350 if (pstate->r_pipe.sspp) {
1352 pstate->r_pipe.sspp->cap->name);
1354 pstate->r_pipe.multirect_mode, pstate->r_pipe.multirect_index);