Commit 1620c6f5 authored by Pascal VITOUX's avatar Pascal VITOUX
Browse files

xfree86: fix gtf support detection for EDID 1.4.

According to the "VESA Enhanced EDID Standard", all GTF compliant 
displays are continuous frequency. 

The GTF support flags in 'Display Range Limits Descriptor' cannot be 
used if the display is a non-continuous frequency multi-mode display.
parent 3ce05a44
Pipeline #235538 passed with stages
in 10 minutes and 38 seconds
......@@ -768,7 +768,7 @@ gtf_supported(xf86MonPtr mon)
} else {
for (i = 0; i < DET_TIMINGS; i++) {
struct detailed_monitor_section *det_timing_des = &(mon->det_mon[i]);
if (det_timing_des && (det_timing_des->type == DS_RANGES) &&
if (det_timing_des && (det_timing_des->type == DS_RANGES) && (mon->features.msc & 0x1) &&
(det_timing_des->section.ranges.display_range_timing_flags == DR_DEFAULT_GTF
|| det_timing_des->section.ranges.display_range_timing_flags == DR_SECONDARY_GTF))
return TRUE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment