summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-07-27 17:34:36 -0400
committerAdam Jackson <ajax@redhat.com>2010-11-23 13:32:15 -0500
commit2da9b72835e30af1ee4bb634ba4a33e2dac6bcbf (patch)
treeda7ecb146a59f7c1cc2945a86f04aa22bbaed54f
parenta4452133ffb943536dcaeee055e8f14cc4c32d85 (diff)
edid: Fix the HDTV sync pulse adjustment
Simple typo, should have been adjusting the horizontal timings consistently since we're not trying to mangle vertical at all. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Patrick E. Kane <pekane52@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit b2f9ce201cc2a14d5d6ad055b46c9317b040ec2e)
-rw-r--r--hw/xfree86/modes/xf86EdidModes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/modes/xf86EdidModes.c b/hw/xfree86/modes/xf86EdidModes.c
index 8f4d04f93..a94379f2a 100644
--- a/hw/xfree86/modes/xf86EdidModes.c
+++ b/hw/xfree86/modes/xf86EdidModes.c
@@ -484,8 +484,8 @@ DDCModesFromStandardTiming(struct std_timings *timing, ddc_quirk_t quirks,
(hsize == 1368 && vsize == 769))) {
Mode = xf86CVTMode(1366, 768, 60, FALSE, FALSE);
Mode->HDisplay = 1366;
- Mode->VSyncStart--;
- Mode->VSyncEnd--;
+ Mode->HSyncStart--;
+ Mode->HSyncEnd--;
} else if (hsize && vsize && refresh) {
Mode = FindDMTMode(hsize, vsize, refresh, rb);