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>
This commit is contained in:
parent
0b3abacb64
commit
7c9d8cbd36
|
@ -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…
Reference in New Issue
Block a user