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/soc/rockchip/rk3288/hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/rockchip/rk3288/hdmi.c') diff --git a/src/soc/rockchip/rk3288/hdmi.c b/src/soc/rockchip/rk3288/hdmi.c index 496629316e..5e744236e7 100644 --- a/src/soc/rockchip/rk3288/hdmi.c +++ b/src/soc/rockchip/rk3288/hdmi.c @@ -814,7 +814,7 @@ int rk_hdmi_get_edid(struct edid *edid) /* Assume usage of HDMI implies an external display in which case * we should be lenient about errors that the EDID decoder finds. */ - if (decode_edid(edid_buf, edid_size, edid)) + if (decode_edid(edid_buf, edid_size, edid) != EDID_CONFORMANT) hdmi_debug("failed to decode edid.\n"); /* Try 480p for best compatibility. */ -- cgit v1.2.3