Searched refs:priv_state (Results 1 – 2 of 2) sorted by relevance
44 struct drm_private_state *priv_state; in vc4_get_ctm_state() local51 priv_state = drm_atomic_get_private_obj_state(state, manager); in vc4_get_ctm_state()52 if (IS_ERR(priv_state)) in vc4_get_ctm_state()53 return ERR_CAST(priv_state); in vc4_get_ctm_state()55 return to_vc4_ctm_state(priv_state); in vc4_get_ctm_state()
94 struct drm_private_state *priv_state; in mdp5_get_global_state() local101 priv_state = drm_atomic_get_private_obj_state(s, &mdp5_kms->glob_state); in mdp5_get_global_state()102 if (IS_ERR(priv_state)) in mdp5_get_global_state()103 return ERR_CAST(priv_state); in mdp5_get_global_state()105 return to_mdp5_global_state(priv_state); in mdp5_get_global_state()