Home
last modified time | relevance | path

Searched refs:priv_state (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_kms.c53 struct drm_private_state *priv_state; in vc4_get_ctm_state() local
60 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() local
418 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()
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c90 struct drm_private_state *priv_state; in mdp5_get_global_state() local
97 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()
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c1905 struct drm_private_state *priv_state; in dm_atomic_get_state() local
1910 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()