other versions
- jessie 3.16.56-1+deb8u1
DRM_PROPERTY_CREATE_(9) | DRM Core | DRM_PROPERTY_CREATE_(9) |
NAME¶
drm_property_create_range - create a new ranged property typeSYNOPSIS¶
struct drm_property *
drm_property_create_range(struct drm_device * dev,
int flags,
const char * name,
uint64_t min,
uint64_t max);
ARGUMENTS¶
devdrm device
flags
flags specifying the property type
name
name of the property
min
minimum value of the property
max
maximum value of the property
DESCRIPTION¶
This creates a new generic drm property which can then be attached to a drm object with drm_object_attach_property. The returned property object must be freed with drm_property_destroy. Userspace is allowed to set any interger value in the (min, max) range inclusive.RETURNS¶
A pointer to the newly created property on success, NULL on failure.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |