---
name: "drm_object_property_get_value"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_object_property_get_value"
---

# drm\_object\_property\_get\_value(9)

retrieve the value of a property

## NAME

drm\_object\_property\_get\_value - retrieve the value of a property

## 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** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
