From: Adam Jackson Date: Tue, 27 Jul 2010 21:40:32 +0000 (+1000) Subject: drm/edid: Fix the HDTV hack sync adjustment X-Git-Tag: firefly_0821_release~9833^2~1332^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a4967de6cbb260ad0f6612a1d2035e119ef1578f;p=firefly-linux-kernel-4.4.55.git drm/edid: Fix the HDTV hack sync adjustment We're adjusting horizontal timings only here, moving vsync was just a slavish translation of a typo in the X server. Signed-off-by: Adam Jackson Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index c1981861bbbd..f87bf104df7a 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -864,8 +864,8 @@ drm_mode_std(struct drm_connector *connector, struct edid *edid, mode = drm_cvt_mode(dev, 1366, 768, vrefresh_rate, 0, 0, false); mode->hdisplay = 1366; - mode->vsync_start = mode->vsync_start - 1; - mode->vsync_end = mode->vsync_end - 1; + mode->hsync_start = mode->hsync_start - 1; + mode->hsync_end = mode->hsync_end - 1; return mode; }