---
name: "drm_add_edid_modes"
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_add_edid_modes"
---

# drm\_add\_edid\_modes(9)

add modes from EDID data, if available

## NAME

drm\_add\_edid\_modes - add modes from EDID data, if available

## SYNOPSIS

**int drm\_add\_edid\_modes(struct drm\_connector \*** *connector***, struct edid \*** *edid***);**

## ARGUMENTS

*connector*

connector we're probing

*edid*

EDID data

## DESCRIPTION

Add the specified modes to the connector's mode list.

## RETURN

The number of modes added or 0 if we couldn't find any.

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