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