This is an automatic generated email to let you know that the following patch 
were queued:

Subject: edid-decode: the AMD VSDB minor version is really a caps field
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Sat Oct 12 10:01:21 2024 +0200

This kernel commit:

ec8e59cb4e0c ("drm/amd/display: Get replay info from VSDB")

gives a bit of insight into the AMD VSDB. Specifically, the first
byte is the version and the second byte is a Feature Caps byte.
Only one capability was described in that commit, so I added that.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 parse-cta-block.cpp | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

---

diff --git a/parse-cta-block.cpp b/parse-cta-block.cpp
index f193b568a6d0..06bc07d30b0f 100644
--- a/parse-cta-block.cpp
+++ b/parse-cta-block.cpp
@@ -1556,7 +1556,14 @@ static void cta_amd(const unsigned char *x, unsigned 
length)
 {
        // These Freesync values are reversed engineered by looking
        // at existing EDIDs.
-       printf("    Version: %u.%u\n", x[0], x[1]);
+       printf("    Version: %u\n", x[0]);
+
+       // Obtained from:
+       // 
https://github.com/torvalds/linux/commit/ec8e59cb4e0c1a52d5a541fff9dcec398b48f7b4
+       printf("    Feature Caps: 0x%02x\n", x[1]);
+       if (x[1] & 0x40)
+               printf("      Replay Supported\n");
+
        printf("    Minimum Refresh Rate: %u Hz\n", x[2]);
        printf("    Maximum Refresh Rate: %u Hz\n", x[3]);
        // Freesync 1.x flags

Reply via email to