• Home
  • Raw
  • Download

Lines Matching full:objects

211  * drm_lease_create - create a new drm_master with leased objects (idr_mutex not held)
212 * @lessor: lease holder (or owner) of objects
213 * @leases: objects to lease to the new drm_master
216 * make sure all of the desired objects can be leased, atomically
326 * _drm_lease_revoke - revoke access to all leased objects (idr_mutex held)
368 * drm_lease_revoke - revoke access to all leased objects (idr_mutex not held)
380 struct drm_mode_object **objects, in validate_lease() argument
392 if (objects[o]->type == DRM_MODE_OBJECT_CRTC && has_crtc == -1) { in validate_lease()
395 if (objects[o]->type == DRM_MODE_OBJECT_CONNECTOR && has_connector == -1) in validate_lease()
399 if (objects[o]->type == DRM_MODE_OBJECT_PLANE && has_plane == -1) in validate_lease()
416 struct drm_mode_object **objects; in fill_object_idr() local
421 objects = kcalloc(object_count, sizeof(struct drm_mode_object *), in fill_object_idr()
423 if (!objects) in fill_object_idr()
426 /* step one - get references to all the mode objects in fill_object_idr()
429 objects[o] = drm_mode_object_find(dev, lessor_priv, in fill_object_idr()
432 if (!objects[o]) { in fill_object_idr()
437 if (!drm_mode_object_lease_required(objects[o]->type)) { in fill_object_idr()
444 ret = validate_lease(dev, object_count, objects, universal_planes); in fill_object_idr()
453 struct drm_mode_object *obj = objects[o]; in fill_object_idr()
454 u32 object_id = objects[o]->id; in fill_object_idr()
460 * objects, but we don't need to point at the object's in fill_object_idr()
495 if (objects[o]) in fill_object_idr()
496 drm_mode_object_put(objects[o]); in fill_object_idr()
498 kfree(objects); in fill_object_idr()
509 * created containing the objects specified in the ioctl structure.
532 /* need some objects */ in drm_mode_create_lease_ioctl()
534 DRM_DEBUG_LEASE("no objects in lease\n"); in drm_mode_create_lease_ioctl()
688 * drm_mode_get_lease_ioctl - list leased objects
693 * Return the list of leased objects for the specified lessee
722 /* owner can use all objects */ in drm_mode_get_lease_ioctl()
739 DRM_DEBUG("lease holds %d objects\n", count); in drm_mode_get_lease_ioctl()
755 * This removes all of the objects from the lease without