Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/vc4/
Dvc4_kms.c68 struct drm_private_state *priv_state; in vc4_get_ctm_state() local
75 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() local
191 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 …]
/Linux-v5.10/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()
/Linux-v5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.c230 struct drm_private_state *priv_state; in dpu_kms_get_global_state() local
237 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()
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2876 struct drm_private_state *priv_state; in dm_atomic_get_state() local
2881 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()