diff options
author | Adam Jackson <ajax@redhat.com> | 2009-10-02 15:32:53 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-10-02 15:32:53 -0400 |
commit | bd43914f8f614ca176afe0eebeccf38c8bb9d547 (patch) | |
tree | e2be737c5a7fcfb01778f1b0a2e167bf833d25de | |
parent | b82197fdc81a988e48e82bc7d2e8032412223ca1 (diff) |
Fix RB flags for detailed timings
-rw-r--r-- | edid.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -410,7 +410,11 @@ edid_do_detailed_mode(uint8_t *x) if (x[17] & 0x80) m->flags |= MT_FLAG_INTERLACED; - /* XXX timings are reduced? */ + if ((m->htotal - m->hdisplay) == 160 && + (m->hsyncend - m->hdisplay) == 80 && + (m->hsyncend - m->hsyncstart) == 32 && + (m->vsyncstart - m->vdisplay) == 3) + m->flags |= MT_FLAG_REDUCED; return m; } |