Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a638b4e authored by Adam Jackson's avatar Adam Jackson Committed by Dave Airlie
Browse files

drm/edid: Allow non-fatal checksum errors in CEA blocks

Switches will try to update the topology address and not correctly fix
up the checksum, so just let it slide.

https://bugs.freedesktop.org/28229



Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 921d98b5
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -147,6 +147,9 @@ drm_edid_block_valid(u8 *raw_edid)
		csum += raw_edid[i];
	if (csum) {
		DRM_ERROR("EDID checksum is invalid, remainder is %d\n", csum);

		/* allow CEA to slide through, switches mangle this */
		if (raw_edid[0] != 0x02)
			goto bad;
	}