Skip to content

Commit

Permalink
drm/edid: Allow non-fatal checksum errors in CEA blocks
Browse files Browse the repository at this point in the history
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: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Adam Jackson authored and Dave Airlie committed May 26, 2010
1 parent 921d98b commit 4a638b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ drm_edid_block_valid(u8 *raw_edid)
csum += raw_edid[i];
if (csum) {
DRM_ERROR("EDID checksum is invalid, remainder is %d\n", csum);
goto bad;

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

/* per-block-type checks */
Expand Down

0 comments on commit 4a638b4

Please sign in to comment.