---
name: "drm_mode_create_tv_properties"
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_mode_create_tv_properties"
---

# drm\_mode\_create\_tv\_properties(9)

create TV specific connector properties

## NAME

drm\_mode\_create\_tv\_properties - create TV specific connector properties

## SYNOPSIS

**int drm\_mode\_create\_tv\_properties(struct drm\_device \*** *dev***, int** *num\_modes***, char \*** *modes\[\]***);**

## ARGUMENTS

*dev*

DRM device

*num\_modes*

number of different TV formats (modes) supported

*modes\[\]*

array of pointers to strings containing name of each format

## DESCRIPTION

Called by a driver's TV initialization routine, this function creates the TV specific connector properties for a given device. Caller is responsible for allocating a list of format names and passing them to this routine.

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