Lines Matching refs:pstate
79 struct mdp5_plane_state *pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_print_state() local
82 drm_printf(p, "\thwpipe=%s\n", pstate->hwpipe ? in mdp5_plane_atomic_print_state()
83 pstate->hwpipe->name : "(null)"); in mdp5_plane_atomic_print_state()
86 pstate->r_hwpipe ? pstate->r_hwpipe->name : in mdp5_plane_atomic_print_state()
88 drm_printf(p, "\tblend_mode=%u\n", pstate->base.pixel_blend_mode); in mdp5_plane_atomic_print_state()
89 drm_printf(p, "\tzpos=%u\n", pstate->base.zpos); in mdp5_plane_atomic_print_state()
90 drm_printf(p, "\tnormalized_zpos=%u\n", pstate->base.normalized_zpos); in mdp5_plane_atomic_print_state()
91 drm_printf(p, "\talpha=%u\n", pstate->base.alpha); in mdp5_plane_atomic_print_state()
92 drm_printf(p, "\tstage=%s\n", stage2name(pstate->stage)); in mdp5_plane_atomic_print_state()
131 struct mdp5_plane_state *pstate = to_mdp5_plane_state(state); in mdp5_plane_destroy_state() local
135 kfree(pstate); in mdp5_plane_destroy_state()
862 struct drm_plane_state *pstate = plane->state; in mdp5_plane_mode_set() local
863 struct mdp5_hw_pipe *hwpipe = to_mdp5_plane_state(pstate)->hwpipe; in mdp5_plane_mode_set()
914 right_hwpipe = to_mdp5_plane_state(pstate)->r_hwpipe; in mdp5_plane_mode_set()
948 rotation = drm_rotation_simplify(pstate->rotation, in mdp5_plane_mode_set()
976 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); in mdp5_plane_pipe() local
978 if (WARN_ON(!pstate->hwpipe)) in mdp5_plane_pipe()
981 return pstate->hwpipe->pipe; in mdp5_plane_pipe()
986 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); in mdp5_plane_right_pipe() local
988 if (!pstate->r_hwpipe) in mdp5_plane_right_pipe()
991 return pstate->r_hwpipe->pipe; in mdp5_plane_right_pipe()
996 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); in mdp5_plane_get_flush() local
999 if (WARN_ON(!pstate->hwpipe)) in mdp5_plane_get_flush()
1002 mask = pstate->hwpipe->flush_mask; in mdp5_plane_get_flush()
1004 if (pstate->r_hwpipe) in mdp5_plane_get_flush()
1005 mask |= pstate->r_hwpipe->flush_mask; in mdp5_plane_get_flush()