[edid-decode] Finish the list of 3D layouts 3D_Structure_ALL can code for

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>
---
 edid-decode.c | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/edid-decode.c b/edid-decode.c
index bf0c3da..d3e3118 100644
--- a/edid-decode.c
+++ b/edid-decode.c
@@ -829,12 +829,26 @@ cea_hdmi_block(unsigned char *x)
 
 	    if (len_3d) {
 		if (formats) {
+		    /* 3D_Structure_ALL_15..8 */
+		    if (x[9 + b] & 0x80)
+			printf("      3D: Side-by-side (half, quincunx)\n");
 		    if (x[9 + b] & 0x01)
-			printf("      Side-by-side 3D supported\n");
+			printf("      3D: Side-by-side (half, horizontal)\n");
+		    /* 3D_Structure_ALL_7..0 */
 		    if (x[10 + b] & 0x40)
-			printf("      Top-and-bottom 3D supported\n");
+			printf("      3D: Top-and-bottom\n");
+		    if (x[10 + b] & 0x20)
+			printf("      3D: L + depth + gfx + gfx-depth\n");
+		    if (x[10 + b] & 0x10)
+			printf("      3D: L + depth\n");
+		    if (x[10 + b] & 0x08)
+			printf("      3D: Side-by-side (full)\n");
+		    if (x[10 + b] & 0x04)
+			printf("      3D: Line-alternative\n");
+		    if (x[10 + b] & 0x02)
+			printf("      3D: Field-alternative\n");
 		    if (x[10 + b] & 0x01)
-			printf("      Frame-packing 3D supported\n");
+			printf("      3D: Frame-packing\n");
 		    b += 2;
 		}
 		if (mask) {
-- 
1.8.3.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux