Ville Syrjälä bf72b5ef6e drm/edid: Use the correct formula for standard timings
Prefer the timing formula indicated by the range
descriptor for generating the non-DMT standard timings.

Previously we just used CVT for all EDID 1.4 continuous
frequency displays without even checking if the range
descriptor indicates otherwise. Now we check the range
descriptor first, and fall back to CVT if nothing else
was indicated. EDID 1.4 more or less deprecates GTF/GTF2
but there are still a lot of 1.4 EDIDs out there that
don't advertise CVT support, so seems safer to use the
formula the EDID actually reports as supported.

For EDID 1.3 we use GTF2 if indicated (as before), and for
EDID 1.2+ we now just use GTF without even checking the
feature flag. There seem to be quite a few EDIDs out there that
don't set the GTF feature flag but still include a GTF range
descriptor and non-DMT standard timings.

This to me seems to be roughly what appendix B of EDID 1.4
suggests should be done.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220927170006.27855-7-ville.syrjala@linux.intel.com
2022-10-05 01:18:11 +03:00
..
2022-09-22 19:53:06 +02:00
2022-09-26 09:11:47 +02:00
2022-09-06 10:56:04 +02:00
2022-08-06 10:19:51 -07:00
2022-09-06 10:56:04 +02:00
2022-09-06 10:56:04 +02:00
2022-09-20 09:37:12 +02:00
2022-08-26 14:22:59 +02:00
2022-09-14 12:22:18 +01:00
2022-07-13 10:54:56 +10:00
2022-06-28 07:56:32 +02:00
2022-03-24 16:19:43 -07:00
2022-09-06 10:56:04 +02:00
2022-09-06 10:56:04 +02:00
2022-04-12 09:27:20 +03:00