Lines Matching refs:objects
353 struct drm_mode_object **objects, in validate_lease() argument
365 if (objects[o]->type == DRM_MODE_OBJECT_CRTC && has_crtc == -1) { in validate_lease()
368 if (objects[o]->type == DRM_MODE_OBJECT_CONNECTOR && has_connector == -1) in validate_lease()
372 if (objects[o]->type == DRM_MODE_OBJECT_PLANE && has_plane == -1) in validate_lease()
389 struct drm_mode_object **objects; in fill_object_idr() local
394 objects = kcalloc(object_count, sizeof(struct drm_mode_object *), in fill_object_idr()
396 if (!objects) in fill_object_idr()
402 objects[o] = drm_mode_object_find(dev, lessor_priv, in fill_object_idr()
405 if (!objects[o]) { in fill_object_idr()
410 if (!drm_mode_object_lease_required(objects[o]->type)) { in fill_object_idr()
417 ret = validate_lease(dev, object_count, objects, universal_planes); in fill_object_idr()
426 struct drm_mode_object *obj = objects[o]; in fill_object_idr()
427 u32 object_id = objects[o]->id; in fill_object_idr()
468 if (objects[o]) in fill_object_idr()
469 drm_mode_object_put(objects[o]); in fill_object_idr()
471 kfree(objects); in fill_object_idr()