drm/edid: Fix parsing of EDID 1.4 Established Timings III descriptor
Subsystems (2)
PATCH 1/1 drm/edid: Fix parsing of EDID 1.4 Established Timings III descriptor
The EDID 1.4 specification section 3.10.3.9 defines an Established Timings III descriptor (tag #F7h). The parsing of this descriptor by drm_est3_modes() is off by one byte: the offset of the first timing bitmap is 6, not 5.
---
drivers/gpu/drm/drm_edid.c +1 -1
@@ -2215,7 +2215,7 @@ {int i, j, m, modes =0 ;struct drm_display_mode *mode; -u8 *est = ((u8 *)timing) +5 ; +u8 *est = ((u8 *)timing) +6 ;for (i =0 ; i <6 ; i++) {for (j =7 ; j >=0 ; j--) {
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 3 lines · Paul Parsons
The EDID 1.4 specification section 3.10.3.9 defines an Established Timings III descriptor (tag #F7h). The parsing of this descriptor by
drm_est3_modes()is off by one byte: the offset of the first timing bitmap is 6, not 5.
Dupe? Let's keep the discussion in [1].
BR,
Jani.
[1] http://mid.gmane.org/[email protected]
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel