SYNOPSIS

int drm_object_property_get_value(struct drm_mode_object * obj, struct drm_property * property, uint64_t * val);

ARGUMENTS

obj

drm mode object to get property value from

property

property to retrieve

val

storage for the property value

DESCRIPTION

This function retrieves the softare state of the given property for the given property. Since there is no driver callback to retrieve the current property value this might be out of sync with the hardware, depending upon the driver and property.

RETURNS

Zero on success, error code on failure.

AUTHORS

Jesse Barnes <[email protected]>

Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>

Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>

Intel Corporation,

Contributions all over the place

COPYRIGHT