edid-decode: Fix decoing of DispID physical enclosure bit
PATCH 1/1 edid-decode: Fix decoing of DispID physical enclosure bit
From: Ville Syrjälä <[email protected]>
The interpretation of the physucal enclosure bit is backwards. Fix it to match the spec.
Signed-off-by Ville Syrjälä <[email protected]>
--- parse-displayid-block.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
parse-displayid-block.cpp +2 -2
@@ -913,9 +913,9 @@ static void parse_displayid_tiled_display_topology(const unsigned char *x, bool default: printf("Reserved\n"); break; } if (caps & 0x80) - printf(" Tiled display consists of multiple physical display enclosures\n"); - else printf(" Tiled display consists of a single physical display enclosure\n"); + else + printf(" Tiled display consists of multiple physical display enclosures\n"); printf(" Num horizontal tiles: %u Num vertical tiles: %u\n", num_h_tile + 1, num_v_tile + 1); printf(" Tile location: %u, %u\n", tile_h_location, tile_v_location);
Signature · 1 line
2.24.1
Quoted 4 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
The interpretation of the physucal enclosure bit is backwards. Fix it to match the spec.
Thank you, it's been applied.
Regards,
Hans
Quoted 23 lines
Signed-off-by Ville Syrjälä <[email protected]>--- parse-displayid-block.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)parse-displayid-block.cpp +2
-2@@ -913,9 +913,9 @@ static void parse_displayid_tiled_display_topology(const unsigned char *x, bool default: printf("Reserved\n"); break; } if (caps & 0x80) - printf(" Tiled display consists of multiple physical display enclosures\n"); - else printf(" Tiled display consists of a single physical display enclosure\n"); + else + printf(" Tiled display consists of multiple physical display enclosures\n"); printf(" Num horizontal tiles: %u Num vertical tiles: %u\n", num_h_tile + 1, num_v_tile + 1); printf(" Tile location: %u, %u\n", tile_h_location, tile_v_location);