提交 260cf8a2 编写于 作者: P Pantelis Koukousoulas 提交者: Dave Airlie

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: NPantelis Koukousoulas <pktoss@gmail.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 16b71fdf
...@@ -69,8 +69,8 @@ struct detailed_pixel_timing { ...@@ -69,8 +69,8 @@ struct detailed_pixel_timing {
u8 hborder; u8 hborder;
u8 vborder; u8 vborder;
u8 unknown0:1; u8 unknown0:1;
u8 vsync_positive:1;
u8 hsync_positive:1; u8 hsync_positive:1;
u8 vsync_positive:1;
u8 separate_sync:2; u8 separate_sync:2;
u8 stereo:1; u8 stereo:1;
u8 unknown6:1; u8 unknown6:1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册