mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-01 03:40:09 +01:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -1362,8 +1362,8 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
|
|||
if (sync_source == sync_default)
|
||||
sync_source = sync_edid;
|
||||
}
|
||||
if (ranges->max_clock > max_clock)
|
||||
max_clock = ranges->max_clock;
|
||||
if (ranges->max_clock * 1000 > max_clock)
|
||||
max_clock = ranges->max_clock * 1000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue