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: Always show VRR min/max values
Author:  Tomasz Pakuła <[email protected]>
Date:    Tue Jan 13 23:19:16 2026 +0100

It's useful to always see VRRmin and VRRmax values, even if they are 0
especially because VRRmax==0 is a valid value that indicates the upper
VRR boundary is based on the current selected video mode.

Currently, VRRmax is completely hidden if it's 0. Some Philips TVs do
actually set it to this value though it is very rare among TVs.

Signed-off-by: Tomasz Pakuła <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
[hverkuil: fix some logic issues that caused erroneous fails]

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

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=f09d10fdc3acef7df39ac4cbdca161e58473aa88
diff --git a/utils/edid-decode/parse-cta-block.cpp 
b/utils/edid-decode/parse-cta-block.cpp
index ecf32b9fbe48..24f91c65bf3c 100644
--- a/utils/edid-decode/parse-cta-block.cpp
+++ b/utils/edid-decode/parse-cta-block.cpp
@@ -1377,18 +1377,16 @@ void edid_state::cta_hf_scdb(const unsigned char *x, 
unsigned length)
                return;
 
        v = x[5] & 0x3f;
-       if (v) {
-               printf("    VRRmin: %u Hz\n", v);
-               if (v > 48)
-                       fail("VRRmin > 48.\n");
-       }
+       printf("    VRRmin: %u Hz\n", v);
+       if (v > 48)
+               fail("VRRmin > 48.\n");
        v = (x[5] & 0xc0) << 2 | x[6];
+       printf("    VRRmax: %u Hz\n", v);
        if (v) {
-               printf("    VRRmax: %u Hz\n", v);
                if (!(x[5] & 0x3f))
                        fail("VRRmin == 0, but VRRmax isn't.\n");
                else if (v < 100)
-                       fail("VRRmax < 100.\n");
+                       fail("0 < VRRmax < 100.\n");
        }
 
        if (length <= 7)
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to