Message ID | 20191123164604.268-4-joevt@shaw.ca (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | edid-decode: bug fixes, additions, changes | expand |
diff --git a/edid-decode.c b/edid-decode.c index b2e57a3..e1386ce 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -2550,6 +2550,18 @@ static void parse_displayid_detailed_timing(const unsigned char *x) vspw = x[18] | (x[19] << 8); pvsync = ((x[17] >> 7) & 0x1 ) ? '+' : '-'; + pix_clock++; + + ha++; + hbl++; + hso++; + hspw++; + + va++; + vbl++; + vso++; + vspw++; + printf(" Detailed mode: Clock %.3f MHz, %u mm x %u mm\n" " %4u %4u %4u %4u\n" " %4u %4u %4u %4u\n"
Fix DisplayID type 1 timing calculations which is missing the +1 increment for pix_clock,ha,hbl,hso,hspw,va,vbl,vso,vspw. Signed-off-by: Joe van Tunen <joevt@shaw.ca> --- edid-decode.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)