FreeBSD Bugzilla – Attachment 234639 Details for
Bug 264632
drm/edid: Fix parsing of EDID 1.4 Established Timings III descriptor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a possible patch
0001-drm-edid-Fix-parsing-of-EDID-1.4-Established-Timings.patch (text/plain), 1.04 KB, created by
xiaohuizhang
on 2022-06-12 13:05:40 UTC
(
hide
)
Description:
a possible patch
Filename:
MIME Type:
Creator:
xiaohuizhang
Created:
2022-06-12 13:05:40 UTC
Size:
1.04 KB
patch
obsolete
>From b4b5c78677238bb63aeeb12e369d8cdf914cea9f Mon Sep 17 00:00:00 2001 >From: Xiaohui Zhang <xiaohuizhang@ruc.edu.cn> >Date: Sun, 12 Jun 2022 21:00:33 +0800 >Subject: [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. > >Signed-off-by: Xiaohui Zhang <xiaohuizhang@ruc.edu.cn> >--- > sys/dev/drm2/drm_edid.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/sys/dev/drm2/drm_edid.c b/sys/dev/drm2/drm_edid.c >index 9ff4ee1d1..ab243195e 100644 >--- a/sys/dev/drm2/drm_edid.c >+++ b/sys/dev/drm2/drm_edid.c >@@ -1242,7 +1242,7 @@ drm_est3_modes(struct drm_connector *connector, struct detailed_timing *timing) > { > 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--) { >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264632
: 234639