Searched refs:priv_state (Results 1 – 3 of 3) sorted by relevance
53 struct drm_private_state *priv_state; in vc4_get_ctm_state() local60 priv_state = drm_atomic_get_private_obj_state(state, manager); in vc4_get_ctm_state()61 if (IS_ERR(priv_state)) in vc4_get_ctm_state()62 return ERR_CAST(priv_state); in vc4_get_ctm_state()64 return to_vc4_ctm_state(priv_state); in vc4_get_ctm_state()414 struct drm_private_state *priv_state; in vc4_load_tracker_atomic_check() local418 priv_state = drm_atomic_get_private_obj_state(state, in vc4_load_tracker_atomic_check()420 if (IS_ERR(priv_state)) in vc4_load_tracker_atomic_check()421 return PTR_ERR(priv_state); in vc4_load_tracker_atomic_check()423 load_state = to_vc4_load_tracker_state(priv_state); in vc4_load_tracker_atomic_check()
90 struct drm_private_state *priv_state; in mdp5_get_global_state() local97 priv_state = drm_atomic_get_private_obj_state(s, &mdp5_kms->glob_state); in mdp5_get_global_state()98 if (IS_ERR(priv_state)) in mdp5_get_global_state()99 return ERR_CAST(priv_state); in mdp5_get_global_state()101 return to_mdp5_global_state(priv_state); in mdp5_get_global_state()
1905 struct drm_private_state *priv_state; in dm_atomic_get_state() local1910 priv_state = drm_atomic_get_private_obj_state(state, &dm->atomic_obj); in dm_atomic_get_state()1911 if (IS_ERR(priv_state)) in dm_atomic_get_state()1912 return PTR_ERR(priv_state); in dm_atomic_get_state()1914 *dm_state = to_dm_atomic_state(priv_state); in dm_atomic_get_state()