Message ID | 20191123164604.268-3-joevt@shaw.ca (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | None | expand |
diff --git a/edid-decode.c b/edid-decode.c index 4ba0808..b2e57a3 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -863,9 +863,9 @@ static int detailed_block(const unsigned char *x, int in_extension) v_min_offset = 255; } } - if (x[4] & 0x04) { + if (x[4] & 0x08) { h_max_offset = 255; - if (x[4] & 0x03) { + if (x[4] & 0x04) { h_min_offset = 255; } }
Broken since commit 1508f040. The max and min horizontal frequency in the "Monitor ranges" descriptor is to be offset by 255 when bit 3 and bit 2 are set, respectively. Signed-off-by: Joe van Tunen <joevt@shaw.ca> --- edid-decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)