Lines Matching refs:obj_state
843 struct drm_private_state *obj_state; in drm_atomic_get_private_obj_state() local
863 obj_state = obj->funcs->atomic_duplicate_state(obj); in drm_atomic_get_private_obj_state()
864 if (!obj_state) in drm_atomic_get_private_obj_state()
867 state->private_objs[index].state = obj_state; in drm_atomic_get_private_obj_state()
869 state->private_objs[index].new_state = obj_state; in drm_atomic_get_private_obj_state()
871 obj_state->state = state; in drm_atomic_get_private_obj_state()
877 obj, obj_state, state); in drm_atomic_get_private_obj_state()
879 return obj_state; in drm_atomic_get_private_obj_state()
1172 struct drm_private_state *obj_state; in drm_atomic_get_bridge_state() local
1174 obj_state = drm_atomic_get_private_obj_state(state, &bridge->base); in drm_atomic_get_bridge_state()
1175 if (IS_ERR(obj_state)) in drm_atomic_get_bridge_state()
1176 return ERR_CAST(obj_state); in drm_atomic_get_bridge_state()
1178 return drm_priv_to_bridge_state(obj_state); in drm_atomic_get_bridge_state()
1194 struct drm_private_state *obj_state; in drm_atomic_get_old_bridge_state() local
1196 obj_state = drm_atomic_get_old_private_obj_state(state, &bridge->base); in drm_atomic_get_old_bridge_state()
1197 if (!obj_state) in drm_atomic_get_old_bridge_state()
1200 return drm_priv_to_bridge_state(obj_state); in drm_atomic_get_old_bridge_state()
1216 struct drm_private_state *obj_state; in drm_atomic_get_new_bridge_state() local
1218 obj_state = drm_atomic_get_new_private_obj_state(state, &bridge->base); in drm_atomic_get_new_bridge_state()
1219 if (!obj_state) in drm_atomic_get_new_bridge_state()
1222 return drm_priv_to_bridge_state(obj_state); in drm_atomic_get_new_bridge_state()
1744 struct drm_private_state *obj_state; in drm_atomic_print_new_state() local
1763 for_each_new_private_obj_in_state(state, obj, obj_state, i) in drm_atomic_print_new_state()
1764 drm_atomic_private_obj_print_state(p, obj_state); in drm_atomic_print_new_state()