Lines Matching refs:objects
351 struct drm_mode_object **objects, in validate_lease() argument
363 if (objects[o]->type == DRM_MODE_OBJECT_CRTC && has_crtc == -1) { in validate_lease()
366 if (objects[o]->type == DRM_MODE_OBJECT_CONNECTOR && has_connector == -1) in validate_lease()
370 if (objects[o]->type == DRM_MODE_OBJECT_PLANE && has_plane == -1) in validate_lease()
387 struct drm_mode_object **objects; in fill_object_idr() local
392 objects = kcalloc(object_count, sizeof(struct drm_mode_object *), in fill_object_idr()
394 if (!objects) in fill_object_idr()
400 objects[o] = drm_mode_object_find(dev, lessor_priv, in fill_object_idr()
403 if (!objects[o]) { in fill_object_idr()
408 if (!drm_mode_object_lease_required(objects[o]->type)) { in fill_object_idr()
415 ret = validate_lease(dev, object_count, objects, universal_planes); in fill_object_idr()
424 struct drm_mode_object *obj = objects[o]; in fill_object_idr()
425 u32 object_id = objects[o]->id; in fill_object_idr()
464 if (objects[o]) in fill_object_idr()
465 drm_mode_object_put(objects[o]); in fill_object_idr()
467 kfree(objects); in fill_object_idr()