Lines Matching refs:obj_state
834 struct drm_private_state *obj_state; in drm_atomic_get_private_obj_state() local
854 obj_state = obj->funcs->atomic_duplicate_state(obj); in drm_atomic_get_private_obj_state()
855 if (!obj_state) in drm_atomic_get_private_obj_state()
858 state->private_objs[index].state = obj_state; in drm_atomic_get_private_obj_state()
860 state->private_objs[index].new_state = obj_state; in drm_atomic_get_private_obj_state()
862 obj_state->state = state; in drm_atomic_get_private_obj_state()
868 obj, obj_state, state); in drm_atomic_get_private_obj_state()
870 return obj_state; in drm_atomic_get_private_obj_state()
1101 struct drm_private_state *obj_state; in drm_atomic_get_bridge_state() local
1103 obj_state = drm_atomic_get_private_obj_state(state, &bridge->base); in drm_atomic_get_bridge_state()
1104 if (IS_ERR(obj_state)) in drm_atomic_get_bridge_state()
1105 return ERR_CAST(obj_state); in drm_atomic_get_bridge_state()
1107 return drm_priv_to_bridge_state(obj_state); in drm_atomic_get_bridge_state()
1123 struct drm_private_state *obj_state; in drm_atomic_get_old_bridge_state() local
1125 obj_state = drm_atomic_get_old_private_obj_state(state, &bridge->base); in drm_atomic_get_old_bridge_state()
1126 if (!obj_state) in drm_atomic_get_old_bridge_state()
1129 return drm_priv_to_bridge_state(obj_state); in drm_atomic_get_old_bridge_state()
1145 struct drm_private_state *obj_state; in drm_atomic_get_new_bridge_state() local
1147 obj_state = drm_atomic_get_new_private_obj_state(state, &bridge->base); in drm_atomic_get_new_bridge_state()
1148 if (!obj_state) in drm_atomic_get_new_bridge_state()
1151 return drm_priv_to_bridge_state(obj_state); in drm_atomic_get_new_bridge_state()
1673 struct drm_private_state *obj_state; in drm_atomic_print_new_state() local
1692 for_each_new_private_obj_in_state(state, obj, obj_state, i) in drm_atomic_print_new_state()
1693 drm_atomic_private_obj_print_state(p, obj_state); in drm_atomic_print_new_state()