Lines Matching refs:obj_state
785 struct drm_private_state *obj_state;
805 obj_state = obj->funcs->atomic_duplicate_state(obj);
806 if (!obj_state)
809 state->private_objs[index].state = obj_state;
811 state->private_objs[index].new_state = obj_state;
813 obj_state->state = state;
818 obj, obj_state, state);
820 return obj_state;
1051 struct drm_private_state *obj_state;
1053 obj_state = drm_atomic_get_private_obj_state(state, &bridge->base);
1054 if (IS_ERR(obj_state))
1055 return ERR_CAST(obj_state);
1057 return drm_priv_to_bridge_state(obj_state);
1073 struct drm_private_state *obj_state;
1075 obj_state = drm_atomic_get_old_private_obj_state(state, &bridge->base);
1076 if (!obj_state)
1079 return drm_priv_to_bridge_state(obj_state);
1095 struct drm_private_state *obj_state;
1097 obj_state = drm_atomic_get_new_private_obj_state(state, &bridge->base);
1098 if (!obj_state)
1101 return drm_priv_to_bridge_state(obj_state);