• Jeffrey Lee's avatar
    Fix a few issues with EDID established timings · eeb8be91
    Jeffrey Lee authored
    Detail:
      c/ScrModes:
      - Added established timings for 720x400 @ 70Hz to be used in place of the auto-generated timings. For a BenQ FP737s-D, these match the expected timings listed in the manual, and they actually result in a picture displaying (auto-generated timings did not).
      - Split the guts of generate_dmt_mode out into a separate function so it can easily be used for adding the 720x400 @ 70Hz ModeDefinition
      - Fix established timing handling to only call generate_dmt_mode if the DMT defines timings for a given mode (old logic meant that only 720x400 @ 70Hz was falling through to the auto-generate case)
      - Fix established timing auto-generation to cope with the possibility of timings_byte being non-zero
    Admin:
      Tested on iMx6 on a variety of monitors
      720x400 @ 70Hz now displays correctly on a FP737s-D
      640x480 @ 67Hz now works too (albeit with a warning about being a non-preset mode, this one is listed in the EDID but not in the manual)
    
    
    Version 0.50. Tagged as 'ScrModes-0_50'
    eeb8be91
ScrModes 158 KB