Home
last modified time | relevance | path

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

/drivers/gpu/drm/vc4/
Dvc4_kms.c72 struct drm_private_state *priv_state; in vc4_get_ctm_state() local
79 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() local
195 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 …]
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c86 struct drm_private_state *priv_state; in mdp5_get_global_state() local
93 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()
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.c234 struct drm_private_state *priv_state; in dpu_kms_get_global_state() local
241 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()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c3779 struct drm_private_state *priv_state; in dm_atomic_get_state() local
3784 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()