Lines Matching refs:priv_state
72 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
208 priv_state = drm_atomic_get_old_private_obj_state(state, &vc4->hvs_channels); in vc4_hvs_get_old_global_state()
209 if (!priv_state) in vc4_hvs_get_old_global_state()
212 return to_vc4_hvs_state(priv_state); in vc4_hvs_get_old_global_state()
219 struct drm_private_state *priv_state; in vc4_hvs_get_global_state() local
221 priv_state = drm_atomic_get_private_obj_state(state, &vc4->hvs_channels); in vc4_hvs_get_global_state()
222 if (IS_ERR(priv_state)) in vc4_hvs_get_global_state()
223 return ERR_CAST(priv_state); in vc4_hvs_get_global_state()
225 return to_vc4_hvs_state(priv_state); in vc4_hvs_get_global_state()
553 struct drm_private_state *priv_state; in vc4_load_tracker_atomic_check() local
560 priv_state = drm_atomic_get_private_obj_state(state, in vc4_load_tracker_atomic_check()
562 if (IS_ERR(priv_state)) in vc4_load_tracker_atomic_check()
563 return PTR_ERR(priv_state); in vc4_load_tracker_atomic_check()
565 load_state = to_vc4_load_tracker_state(priv_state); in vc4_load_tracker_atomic_check()