]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: fix EDID parser problem with positive/negative hsync/vsync
authorPantelis Koukousoulas <pktoss@gmail.com>
Tue, 10 Mar 2009 11:16:14 +0000 (13:16 +0200)
committerDave Airlie <airlied@linux.ie>
Wed, 11 Mar 2009 02:18:48 +0000 (12:18 +1000)
commit260cf8a2cbe022131a4850ea6175ed716dc2663c
treed4473926881ff9a58ec21edcbc4b964c055d09cd
parent16b71fdf97599f1b1b7f38418ee9922d9f117396
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>
include/drm/drm_edid.h