Lines Matching refs:pstate
69 struct mdp5_plane_state *pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_print_state() local
72 drm_printf(p, "\thwpipe=%s\n", pstate->hwpipe ? in mdp5_plane_atomic_print_state()
73 pstate->hwpipe->name : "(null)"); in mdp5_plane_atomic_print_state()
76 pstate->r_hwpipe ? pstate->r_hwpipe->name : in mdp5_plane_atomic_print_state()
78 drm_printf(p, "\tblend_mode=%u\n", pstate->base.pixel_blend_mode); in mdp5_plane_atomic_print_state()
79 drm_printf(p, "\tzpos=%u\n", pstate->base.zpos); in mdp5_plane_atomic_print_state()
80 drm_printf(p, "\tnormalized_zpos=%u\n", pstate->base.normalized_zpos); in mdp5_plane_atomic_print_state()
81 drm_printf(p, "\talpha=%u\n", pstate->base.alpha); in mdp5_plane_atomic_print_state()
82 drm_printf(p, "\tstage=%s\n", stage2name(pstate->stage)); in mdp5_plane_atomic_print_state()
125 struct mdp5_plane_state *pstate = to_mdp5_plane_state(state); in mdp5_plane_destroy_state() local
130 kfree(pstate); in mdp5_plane_destroy_state()
831 struct drm_plane_state *pstate = plane->state; in mdp5_plane_mode_set() local
832 struct mdp5_hw_pipe *hwpipe = to_mdp5_plane_state(pstate)->hwpipe; in mdp5_plane_mode_set()
883 right_hwpipe = to_mdp5_plane_state(pstate)->r_hwpipe; in mdp5_plane_mode_set()
917 rotation = drm_rotation_simplify(pstate->rotation, in mdp5_plane_mode_set()
945 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); in mdp5_plane_pipe() local
947 if (WARN_ON(!pstate->hwpipe)) in mdp5_plane_pipe()
950 return pstate->hwpipe->pipe; in mdp5_plane_pipe()
955 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); in mdp5_plane_right_pipe() local
957 if (!pstate->r_hwpipe) in mdp5_plane_right_pipe()
960 return pstate->r_hwpipe->pipe; in mdp5_plane_right_pipe()
965 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); in mdp5_plane_get_flush() local
968 if (WARN_ON(!pstate->hwpipe)) in mdp5_plane_get_flush()
971 mask = pstate->hwpipe->flush_mask; in mdp5_plane_get_flush()
973 if (pstate->r_hwpipe) in mdp5_plane_get_flush()
974 mask |= pstate->r_hwpipe->flush_mask; in mdp5_plane_get_flush()