Lines Matching full:objects

31  * - An 'owner' is a &struct drm_master that is not leasing objects from
32 * another &struct drm_master, and hence 'owns' the objects. The owner can be
35 * - A 'lessor' is a &struct drm_master which is leasing objects to one or more
39 * - A 'lessee' is a &struct drm_master which is leasing objects from some
41 * lessor recorded in &drm_master.lessor, and holds the set of objects that
49 * The set of objects any &struct drm_master 'controls' is limited to the set
50 * of objects it leases (for lessees) or all objects (for owners).
52 * Objects not controlled by a &struct drm_master cannot be modified through
58 * Since each lessee may lease objects from a single lessor, display resource
65 * objects from the owner can be searched via the owner's
198 * make sure all of the desired objects can be leased, atomically
348 struct drm_mode_object **objects, in validate_lease() argument
360 if (objects[o]->type == DRM_MODE_OBJECT_CRTC && has_crtc == -1) { in validate_lease()
363 if (objects[o]->type == DRM_MODE_OBJECT_CONNECTOR && has_connector == -1) in validate_lease()
367 if (objects[o]->type == DRM_MODE_OBJECT_PLANE && has_plane == -1) in validate_lease()
384 struct drm_mode_object **objects; in fill_object_idr() local
389 objects = kcalloc(object_count, sizeof(struct drm_mode_object *), in fill_object_idr()
391 if (!objects) in fill_object_idr()
394 /* step one - get references to all the mode objects in fill_object_idr()
397 objects[o] = drm_mode_object_find(dev, lessor_priv, in fill_object_idr()
400 if (!objects[o]) { in fill_object_idr()
405 if (!drm_mode_object_lease_required(objects[o]->type)) { in fill_object_idr()
412 ret = validate_lease(dev, object_count, objects, universal_planes); in fill_object_idr()
421 struct drm_mode_object *obj = objects[o]; in fill_object_idr()
422 u32 object_id = objects[o]->id; in fill_object_idr()
428 * objects, but we don't need to point at the object's in fill_object_idr()
463 if (objects[o]) in fill_object_idr()
464 drm_mode_object_put(objects[o]); in fill_object_idr()
466 kfree(objects); in fill_object_idr()
472 * created containing the objects specified in the ioctl structure.
510 /* Handle leased objects, if any */ in drm_mode_create_lease_ioctl()
636 /* Return the list of leased objects for the specified lessee */
663 /* owner can use all objects */ in drm_mode_get_lease_ioctl()
680 DRM_DEBUG("lease holds %d objects\n", count); in drm_mode_get_lease_ioctl()
691 * This removes all of the objects from the lease without