Skip to content

Commit 260cf8a

Browse files
pktairlied
authored andcommitted
drm: fix EDID parser problem with positive/negative hsync/vsync
Comparing the layouts of struct detail_pixel_timing with x.org's struct detailed_timings and how those are handled, it appears that the hsync_positive and vsync_positive fields are backwards. This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=20019 for me. It was tested on 2 monitors, LG FLATRON L225WS 22" and a YAKUMO 17" for which more details are unknown. Signed-off-by: Pantelis Koukousoulas <pktoss@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 16b71fd commit 260cf8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/drm/drm_edid.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ struct detailed_pixel_timing {
6969
u8 hborder;
7070
u8 vborder;
7171
u8 unknown0:1;
72-
u8 vsync_positive:1;
7372
u8 hsync_positive:1;
73+
u8 vsync_positive:1;
7474
u8 separate_sync:2;
7575
u8 stereo:1;
7676
u8 unknown6:1;

0 commit comments

Comments
 (0)