Sanity check the edid block (base or extension)
bool drm_edid_block_valid(u8 * raw_edid, int block, bool print_bad_edid);
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
Validate a base or extension EDID block and optionally dump bad blocks to the console.
True if the block is valid, false otherwise.
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