Home
last modified time | relevance | path

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

/drivers/gpu/drm/vc4/
Dvc4_kms.c51 struct drm_private_state *priv_state; in vc4_get_ctm_state() local
58 priv_state = drm_atomic_get_private_obj_state(state, manager); in vc4_get_ctm_state()
59 if (IS_ERR(priv_state)) in vc4_get_ctm_state()
60 return ERR_CAST(priv_state); in vc4_get_ctm_state()
62 return to_vc4_ctm_state(priv_state); in vc4_get_ctm_state()
173 struct drm_private_state *priv_state; in vc4_hvs_get_new_global_state() local
175 priv_state = drm_atomic_get_new_private_obj_state(state, &vc4->hvs_channels); in vc4_hvs_get_new_global_state()
176 if (!priv_state) in vc4_hvs_get_new_global_state()
179 return to_vc4_hvs_state(priv_state); in vc4_hvs_get_new_global_state()
186 struct drm_private_state *priv_state; in vc4_hvs_get_old_global_state() local
[all …]
/drivers/gpu/drm/ingenic/
Dingenic-drm-drv.c144 struct drm_private_state *priv_state; in ingenic_drm_get_priv_state() local
146 priv_state = drm_atomic_get_private_obj_state(state, &priv->private_obj); in ingenic_drm_get_priv_state()
147 if (IS_ERR(priv_state)) in ingenic_drm_get_priv_state()
148 return ERR_CAST(priv_state); in ingenic_drm_get_priv_state()
150 return to_ingenic_drm_priv_state(priv_state); in ingenic_drm_get_priv_state()
156 struct drm_private_state *priv_state; in ingenic_drm_get_new_priv_state() local
158 priv_state = drm_atomic_get_new_private_obj_state(state, &priv->private_obj); in ingenic_drm_get_new_priv_state()
159 if (!priv_state) in ingenic_drm_get_new_priv_state()
162 return to_ingenic_drm_priv_state(priv_state); in ingenic_drm_get_new_priv_state()
246 struct ingenic_drm_private_state *priv_state; in ingenic_drm_crtc_atomic_enable() local
[all …]
Dingenic-ipu.c91 struct drm_private_state *priv_state; in ingenic_ipu_get_priv_state() local
93 priv_state = drm_atomic_get_private_obj_state(state, &priv->private_obj); in ingenic_ipu_get_priv_state()
94 if (IS_ERR(priv_state)) in ingenic_ipu_get_priv_state()
95 return ERR_CAST(priv_state); in ingenic_ipu_get_priv_state()
97 return to_ingenic_ipu_priv_state(priv_state); in ingenic_ipu_get_priv_state()
103 struct drm_private_state *priv_state; in ingenic_ipu_get_new_priv_state() local
105 priv_state = drm_atomic_get_new_private_obj_state(state, &priv->private_obj); in ingenic_ipu_get_new_priv_state()
106 if (!priv_state) in ingenic_ipu_get_new_priv_state()
109 return to_ingenic_ipu_priv_state(priv_state); in ingenic_ipu_get_new_priv_state()
748 struct ingenic_ipu_private_state *priv_state = to_ingenic_ipu_priv_state(state); in ingenic_ipu_destroy_state() local
[all …]
/drivers/gpu/drm/loongson/
Dlsdc_crtc.c412 struct lsdc_crtc_state *priv_state = to_lsdc_crtc_state(state); in lsdc_crtc_atomic_destroy_state() local
414 __drm_atomic_helper_crtc_destroy_state(&priv_state->base); in lsdc_crtc_atomic_destroy_state()
416 kfree(priv_state); in lsdc_crtc_atomic_destroy_state()
701 const struct lsdc_crtc_state *priv_state; in lsdc_crtc_atomic_print_state() local
704 priv_state = container_of_const(state, struct lsdc_crtc_state, base); in lsdc_crtc_atomic_print_state()
705 pparms = &priv_state->pparms; in lsdc_crtc_atomic_print_state()
779 struct lsdc_crtc_state *priv_state = to_lsdc_crtc_state(state); in lsdc_pixpll_atomic_check() local
783 ret = pfuncs->compute(pixpll, clock, &priv_state->pparms); in lsdc_pixpll_atomic_check()
812 struct lsdc_crtc_state *priv_state = to_lsdc_crtc_state(state); in lsdc_crtc_mode_set_nofb() local
814 pixpll_funcs->update(pixpll, &priv_state->pparms); in lsdc_crtc_mode_set_nofb()
/drivers/gpu/drm/omapdrm/
Domap_drv.c247 struct drm_private_state *priv_state; in omap_get_global_state() local
249 priv_state = drm_atomic_get_private_obj_state(s, &priv->glob_obj); in omap_get_global_state()
250 if (IS_ERR(priv_state)) in omap_get_global_state()
251 return ERR_CAST(priv_state); in omap_get_global_state()
253 return to_omap_global_state(priv_state); in omap_get_global_state()
/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.c330 struct drm_private_state *priv_state; in dpu_kms_get_global_state() local
337 priv_state = drm_atomic_get_private_obj_state(s, in dpu_kms_get_global_state()
339 if (IS_ERR(priv_state)) in dpu_kms_get_global_state()
340 return ERR_CAST(priv_state); in dpu_kms_get_global_state()
342 return to_dpu_global_state(priv_state); in dpu_kms_get_global_state()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c3910 struct drm_private_state *priv_state; in dm_atomic_get_state() local
3915 priv_state = drm_atomic_get_private_obj_state(state, &dm->atomic_obj); in dm_atomic_get_state()
3916 if (IS_ERR(priv_state)) in dm_atomic_get_state()
3917 return PTR_ERR(priv_state); in dm_atomic_get_state()
3919 *dm_state = to_dm_atomic_state(priv_state); in dm_atomic_get_state()