diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-04-30 08:28:05 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-05-03 16:16:43 +0200 |
commit | 8c5884e8d739ed0271da051034f5c4f475a00b55 (patch) | |
tree | 6b120a66bed866c6ba8cd0ad0d20e8e7cf2bb896 /src/include/edid.h | |
parent | a459a8a145be0413d540d6cb62f9a1b6ead3175a (diff) | |
download | coreboot-8c5884e8d739ed0271da051034f5c4f475a00b55.tar.xz |
lib/edid.c: Differentiate between absent and non-conformant EDID
Change-Id: Id90aa210ff72092c4ab638a7bafb82bd11889bdc
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/19502
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/include/edid.h')
-rw-r--r-- | src/include/edid.h | 6 |
1 files changed, 6 insertions, 0 deletions
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, |