Lines Matching refs:pstate
218 struct mdp5_plane_state *pstate, *pstates[STAGE_MAX + 1] = {NULL}; in blend_setup() local
251 pstate = to_mdp5_plane_state(plane->state); in blend_setup()
252 pstates[pstate->stage] = pstate; in blend_setup()
253 stage[pstate->stage][PIPE_LEFT] = mdp5_plane_pipe(plane); in blend_setup()
259 r_stage[pstate->stage][PIPE_LEFT] = in blend_setup()
268 stage[pstate->stage][PIPE_RIGHT] = right_pipe; in blend_setup()
269 r_stage[pstate->stage][PIPE_RIGHT] = right_pipe; in blend_setup()
580 struct drm_plane_state *pstate) in is_fullscreen() argument
582 return (pstate->crtc_x <= 0) && (pstate->crtc_y <= 0) && in is_fullscreen()
583 ((pstate->crtc_x + pstate->crtc_w) >= cstate->mode.hdisplay) && in is_fullscreen()
584 ((pstate->crtc_y + pstate->crtc_h) >= cstate->mode.vdisplay); in is_fullscreen()
618 const struct drm_plane_state *pstate; in mdp5_crtc_atomic_check() local
628 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, state) { in mdp5_crtc_atomic_check()
629 if (!pstate->visible) in mdp5_crtc_atomic_check()
633 pstates[cnt].state = to_mdp5_plane_state(pstate); in mdp5_crtc_atomic_check()