fix max clock unit
max clock from EDID data is in MHz, while we need KHz to validate modes.
This commit is contained in:
parent
a56ef7aaa4
commit
4b5b6e7baa
|
@ -1362,8 +1362,8 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
|
||||||
if (sync_source == sync_default)
|
if (sync_source == sync_default)
|
||||||
sync_source = sync_edid;
|
sync_source = sync_edid;
|
||||||
}
|
}
|
||||||
if (ranges->max_clock > max_clock)
|
if (ranges->max_clock * 1000 > max_clock)
|
||||||
max_clock = ranges->max_clock;
|
max_clock = ranges->max_clock * 1000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue