---
name: "drm_object_attach_property"
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_attach_property"
---

# drm\_object\_attach\_property(9)

attach a property to a modeset object

## NAME

drm\_object\_attach\_property - attach a property to a modeset object

## SYNOPSIS

**void drm\_object\_attach\_property(struct drm\_mode\_object \*** *obj***, struct drm\_property \*** *property***, uint64\_t** *init\_val***);**

## ARGUMENTS

*obj*

drm modeset object

*property*

property to attach

*init\_val*

initial value of the property

## DESCRIPTION

This attaches the given property to the modeset object with the given initial value. Currently this function cannot fail since the properties are stored in a statically sized array.

## 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
