---
name: "drm_match_cea_mode"
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_match_cea_mode"
---

# drm\_match\_cea\_mode(9)

look for a CEA mode matching given mode

## NAME

drm\_match\_cea\_mode - look for a CEA mode matching given mode

## SYNOPSIS

**u8 drm\_match\_cea\_mode(const struct drm\_display\_mode \*** *to\_match***);**

## ARGUMENTS

*to\_match*

display mode

## RETURN

The CEA Video ID (VIC) of the mode or 0 if it isn't a CEA-861 mode.

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