diff options
author | Adam Jackson <ajax@redhat.com> | 2009-09-21 10:23:16 -0400 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-11-03 13:27:07 +1000 |
commit | 30572be7c795146bc4f6f2b8445feee30b5d6bfe (patch) | |
tree | 196be358e7ec6e1ef294c2b241fd880ea35ecdd4 /hw | |
parent | 9c87ede1d621bd7d69be81bdfdd2b18d47c68983 (diff) |
EDID: Extend the HDTV hack to handle "1368x769"
Hate televisions so much.
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit ec98d7fc78efefcf9fc61492529157c0d289c3f2)
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/modes/xf86EdidModes.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/xfree86/modes/xf86EdidModes.c b/hw/xfree86/modes/xf86EdidModes.c index 93d9f664a..45e28dcf0 100644 --- a/hw/xfree86/modes/xf86EdidModes.c +++ b/hw/xfree86/modes/xf86EdidModes.c @@ -498,8 +498,10 @@ DDCModesFromStandardTiming(struct std_timings *timing, ddc_quirk_t quirks, vsize = timing[i].vsize; refresh = timing[i].refresh; - /* HDTV hack. Hooray. */ - if (hsize == 1360 && vsize == 765 && refresh == 60) { + /* HDTV hack, because you can't say 1366 */ + if (refresh == 60 && + ((hsize == 1360 && vsize == 765) || + (hsize == 1368 && vsize == 769))) { Mode = xf86CVTMode(1366, 768, 60, FALSE, FALSE); Mode->HDisplay = 1366; Mode->VSyncStart--; |