---
name: "drm_add_modes_noedid"
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_modes_noedid"
---

# drm\_add\_modes\_noedid(9)

add modes for the connectors without EDID

## NAME

drm\_add\_modes\_noedid - add modes for the connectors without EDID

## SYNOPSIS

**int drm\_add\_modes\_noedid(struct drm\_connector \*** *connector***, int** *hdisplay***, int** *vdisplay***);**

## ARGUMENTS

*connector*

connector we're probing

*hdisplay*

the horizontal display limit

*vdisplay*

the vertical display limit

## DESCRIPTION

Add the specified modes to the connector's mode list. Only when the hdisplay/vdisplay is not beyond the given limit, it will be added.

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