Searched refs:priv_state (Results 1 – 4 of 4) sorted by relevance
68 struct drm_private_state *priv_state; in vc4_get_ctm_state() local75 priv_state = drm_atomic_get_private_obj_state(state, manager); in vc4_get_ctm_state()76 if (IS_ERR(priv_state)) in vc4_get_ctm_state()77 return ERR_CAST(priv_state); in vc4_get_ctm_state()79 return to_vc4_ctm_state(priv_state); in vc4_get_ctm_state()189 struct drm_private_state *priv_state; in vc4_hvs_get_global_state() local191 priv_state = drm_atomic_get_private_obj_state(state, &vc4->hvs_channels); in vc4_hvs_get_global_state()192 if (IS_ERR(priv_state)) in vc4_hvs_get_global_state()193 return ERR_CAST(priv_state); in vc4_hvs_get_global_state()195 return to_vc4_hvs_state(priv_state); in vc4_hvs_get_global_state()[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()
230 struct drm_private_state *priv_state; in dpu_kms_get_global_state() local237 priv_state = drm_atomic_get_private_obj_state(s, in dpu_kms_get_global_state()239 if (IS_ERR(priv_state)) in dpu_kms_get_global_state()240 return ERR_CAST(priv_state); in dpu_kms_get_global_state()242 return to_dpu_global_state(priv_state); in dpu_kms_get_global_state()
2876 struct drm_private_state *priv_state; in dm_atomic_get_state() local2881 priv_state = drm_atomic_get_private_obj_state(state, &dm->atomic_obj); in dm_atomic_get_state()2882 if (IS_ERR(priv_state)) in dm_atomic_get_state()2883 return PTR_ERR(priv_state); in dm_atomic_get_state()2885 *dm_state = to_dm_atomic_state(priv_state); in dm_atomic_get_state()