summaryrefslogtreecommitdiffstats
path: root/drivers/video/edid.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/edid.h')
-rw-r--r--drivers/video/edid.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/video/edid.h b/drivers/video/edid.h
index 006d9f2834..60c5b6422e 100644
--- a/drivers/video/edid.h
+++ b/drivers/video/edid.h
@@ -135,4 +135,14 @@
#define DPMS_SUSPEND (1 << 6)
#define DPMS_STANDBY (1 << 7)
+/**
+ * edid_check_header - sanity check the header of the base EDID block
+ * @raw_edid: pointer to raw base EDID block
+ *
+ * Sanity check the header of the base EDID block.
+ *
+ * Return: true if the header is perfect, false if any byte is wrong.
+ */
+bool edid_check_header(unsigned char *edid);
+
#endif /* __EDID_H__ */