diff options
author | Adam Jackson <ajax@redhat.com> | 2009-09-21 10:23:16 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-10-29 14:06:00 -0400 |
commit | ec98d7fc78efefcf9fc61492529157c0d289c3f2 (patch) | |
tree | 50ce646b6b0e0f4795dff0251e47a4dfd6024254 | |
parent | 7c0803f555782dbf451b7c79112d7deae02e5c9f (diff) |
EDID: Extend the HDTV hack to handle "1368x769"
Hate televisions so much.
Signed-off-by: Adam Jackson <ajax@redhat.com>
-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 15021a8e5..449078e2a 100644 --- a/hw/xfree86/modes/xf86EdidModes.c +++ b/hw/xfree86/modes/xf86EdidModes.c @@ -473,8 +473,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--; |