mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 19:20:10 +01:00
xfree86: EDID Est III parsing skips some modes
This loop needs to count from 7 to 0, not only from 7 to 1.
The current code always skips the modes {1152, 864, 75, 0}, {1280, 1024, 85, 0},
{1400, 1050, 75, 0}, {1600, 1200, 70, 0} and {1920, 1200, 60, 0}.
Signed-off-by: Torsten Kaiser <x11@ariolc.dyndns.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 7c9d8cbd36)
This commit is contained in:
parent
f27fcb81c4
commit
738e55ebbd
1 changed files with 1 additions and 1 deletions
|
|
@ -738,7 +738,7 @@ DDCModesFromEstIII(unsigned char *est)
|
|||
int i, j, m;
|
||||
|
||||
for (i = 0; i < 6; i++) {
|
||||
for (j = 7; j > 0; j--) {
|
||||
for (j = 7; j >= 0; j--) {
|
||||
if (est[i] & (1 << j)) {
|
||||
m = (i * 8) + (7 - j);
|
||||
if (EstIIIModes[m].w)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue