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/drivers/parade/ps8640/ps8640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers') diff --git a/src/drivers/parade/ps8640/ps8640.c b/src/drivers/parade/ps8640/ps8640.c index 95965601ec..62bbf635b8 100644 --- a/src/drivers/parade/ps8640/ps8640.c +++ b/src/drivers/parade/ps8640/ps8640.c @@ -47,7 +47,7 @@ int ps8640_get_edid(uint8_t bus, uint8_t chip, struct edid *out) } } - if (decode_edid(edid, edid_size, out)) { + if (decode_edid(edid, edid_size, out) != EDID_CONFORMANT) { printk(BIOS_INFO, "Failed to decode EDID.\n"); return -1; } -- cgit v1.2.3