Searched refs:priv_state (Results 1 – 4 of 4) sorted by relevance
72 struct drm_private_state *priv_state; in vc4_get_ctm_state() local79 priv_state = drm_atomic_get_private_obj_state(state, manager); in vc4_get_ctm_state()80 if (IS_ERR(priv_state)) in vc4_get_ctm_state()81 return ERR_CAST(priv_state); in vc4_get_ctm_state()83 return to_vc4_ctm_state(priv_state); in vc4_get_ctm_state()193 struct drm_private_state *priv_state; in vc4_hvs_get_new_global_state() local195 priv_state = drm_atomic_get_new_private_obj_state(state, &vc4->hvs_channels); in vc4_hvs_get_new_global_state()196 if (!priv_state) in vc4_hvs_get_new_global_state()199 return to_vc4_hvs_state(priv_state); in vc4_hvs_get_new_global_state()206 struct drm_private_state *priv_state; in vc4_hvs_get_old_global_state() local[all …]
86 struct drm_private_state *priv_state; in mdp5_get_global_state() local93 priv_state = drm_atomic_get_private_obj_state(s, &mdp5_kms->glob_state); in mdp5_get_global_state()94 if (IS_ERR(priv_state)) in mdp5_get_global_state()95 return ERR_CAST(priv_state); in mdp5_get_global_state()97 return to_mdp5_global_state(priv_state); in mdp5_get_global_state()
234 struct drm_private_state *priv_state; in dpu_kms_get_global_state() local241 priv_state = drm_atomic_get_private_obj_state(s, in dpu_kms_get_global_state()243 if (IS_ERR(priv_state)) in dpu_kms_get_global_state()244 return ERR_CAST(priv_state); in dpu_kms_get_global_state()246 return to_dpu_global_state(priv_state); in dpu_kms_get_global_state()
3779 struct drm_private_state *priv_state; in dm_atomic_get_state() local3784 priv_state = drm_atomic_get_private_obj_state(state, &dm->atomic_obj); in dm_atomic_get_state()3785 if (IS_ERR(priv_state)) in dm_atomic_get_state()3786 return PTR_ERR(priv_state); in dm_atomic_get_state()3788 *dm_state = to_dm_atomic_state(priv_state); in dm_atomic_get_state()