drm_edid_block_valid(9) Sanity check the EDID block (base or extension)

SYNOPSIS

bool drm_edid_block_valid(u8 * raw_edid, int block, bool print_bad_edid, bool * edid_corrupt);

ARGUMENTS

raw_edid

pointer to raw EDID block

block

type of block to validate (0 for base, extension otherwise)

print_bad_edid

if true, dump bad EDID blocks to the console

edid_corrupt

if true, the header or checksum is invalid

DESCRIPTION

Validate a base or extension EDID block and optionally dump bad blocks to the console.

RETURN

True if the block is valid, false otherwise.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT