From 8c5884e8d739ed0271da051034f5c4f475a00b55 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 30 Apr 2017 08:28:05 +0200 Subject: lib/edid.c: Differentiate between absent and non-conformant EDID Change-Id: Id90aa210ff72092c4ab638a7bafb82bd11889bdc Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/19502 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/include/edid.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/include') diff --git a/src/include/edid.h b/src/include/edid.h index cf812583a5..100dbe9ba3 100644 --- a/src/include/edid.h +++ b/src/include/edid.h @@ -91,6 +91,12 @@ struct edid { int hdmi_monitor_detected; }; +enum edid_status { + EDID_CONFORMANT, + EDID_NOT_CONFORMANT, + EDID_ABSENT, +}; + /* Defined in src/lib/edid.c */ int decode_edid(unsigned char *edid, int size, struct edid *out); void edid_set_framebuffer_bits_per_pixel(struct edid *edid, int fb_bpp, -- cgit v1.2.3