This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: edid-decode: fix incorrect shift
Author:  Julian Orth <[email protected]>
Date:    Fri Sep 25 15:46:42 2026 +0200

The panel type is stored in the upper two bits as described by the doc
comment.

Signed-off-by: Julian Orth <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

 utils/edid-decode/parse-cta-block.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=40e92132e7b1b80a599f86bcfee047da7161340e
diff --git a/utils/edid-decode/parse-cta-block.cpp 
b/utils/edid-decode/parse-cta-block.cpp
index b52860d4f66e..a52bc1153931 100644
--- a/utils/edid-decode/parse-cta-block.cpp
+++ b/utils/edid-decode/parse-cta-block.cpp
@@ -1711,8 +1711,8 @@ static void cta_amd(const unsigned char *x, unsigned 
length)
     if (supported_cs & CS_BT2020)
         printf("      BT.2020 Gamut Supported\n");
 
-    bool is_mini_led = x[5] >> 5 == 1;
-    bool is_oled     = x[5] >> 5 == 2;
+    bool is_mini_led = x[5] >> 6 == 1;
+    bool is_oled     = x[5] >> 6 == 2;
     if (is_mini_led)
         printf("      Display is Mini LED\n");
     if (is_oled)
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to