---
name: "drm_edid_header_is_valid"
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_edid_header_is_valid"
---

# drm\_edid\_header\_is\_valid(9)

sanity check the header of the base EDID block

## NAME

drm\_edid\_header\_is\_valid - sanity check the header of the base EDID block

## SYNOPSIS

**int drm\_edid\_header\_is\_valid(const u8 \*** *raw\_edid***);**

## ARGUMENTS

*raw\_edid*

pointer to raw base EDID block

## DESCRIPTION

Sanity check the header of the base EDID block.

## RETURN

8 if the header is perfect, down to 0 if it's totally wrong.

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