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: fail for large displays if NVRDB is missing
Author:  Hans Verkuil <[email protected]>
Date:    Thu May 21 14:10:06 2026 +0200

If the display has a width or height > 255 cm, then require
the presence of the NVRDB. Before it only warned, now it fails.

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

 utils/edid-decode/edid-decode.cpp | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=f2a3cb8a59bcce9ac9f7a7c5b71429610d638a12
diff --git a/utils/edid-decode/edid-decode.cpp 
b/utils/edid-decode/edid-decode.cpp
index 55ce29d56f56..668e265ddb24 100644
--- a/utils/edid-decode/edid-decode.cpp
+++ b/utils/edid-decode/edid-decode.cpp
@@ -1523,8 +1523,15 @@ void edid_state::print_native_res()
                                warn("No image size was specified, but it is 
calculated as %.1fx%.1fmm.\n",
                                     w / 10.0, h / 10.0);
                        }
+                       /*
+                        * The Base Block is limited to values <= 255 cm. For 
displays that are
+                        * larger, use the NVRDB to correctly report the size. 
It is possible to
+                        * use the HDMI VSDB as well (Image_Size bit), but 
that's not generally
+                        * used and it also forces the dimensions to a multiple 
of 5 cm, which is
+                        * quite crude.
+                        */
                        if (has_cta && !cta.nvrdb_has_size && (w > 25500 || h > 
25500))
-                               warn("Calculated image width or height > 255 
cm, recommend including an NVRDB with image size.\n");
+                               fail("Calculated image width or height > 255 
cm, but there is no NVRDB with image size.\n");
                }
        }
 
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to