Lines Matching refs:priv_state
68 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()
590 struct drm_private_state *priv_state; in vc4_load_tracker_atomic_check() local
597 priv_state = drm_atomic_get_private_obj_state(state, in vc4_load_tracker_atomic_check()
599 if (IS_ERR(priv_state)) in vc4_load_tracker_atomic_check()
600 return PTR_ERR(priv_state); in vc4_load_tracker_atomic_check()
602 load_state = to_vc4_load_tracker_state(priv_state); in vc4_load_tracker_atomic_check()