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: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Родитель
921d98b582
Коммит
4a638b4e38
|
@ -147,6 +147,9 @@ drm_edid_block_valid(u8 *raw_edid)
|
||||||
csum += raw_edid[i];
|
csum += raw_edid[i];
|
||||||
if (csum) {
|
if (csum) {
|
||||||
DRM_ERROR("EDID checksum is invalid, remainder is %d\n", 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;
|
goto bad;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче