[igt-dev] [PATCH i-g-t 5/5] tools/intel_vbt_decode: Decode more child dev fields

Ville Syrjala ville.syrjala at linux.intel.com
Wed Sep 7 09:46:51 UTC 2022


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Decode a bunch of newish child dev fields:
- disable_compression_for_ext_disp
- lttpr_non_transparent
- dp_port_trace_length
- tbt

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tools/intel_vbt_decode.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index 0af7902c5102..a63bfdda142a 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -978,6 +978,12 @@ static void dump_child_device(struct context *context,
 		if (context->bdb->version >= 161)
 			printf("\t\tOffset to DTD buffer for edidless CHILD: 0x%02x\n", child->dtd_buf_ptr);
 
+		if (context->bdb->version >= 251)
+			printf("\t\tDisable compression for external DP/HDMI: %s\n",
+			       YESNO(child->disable_compression_for_ext_disp));
+		if (context->bdb->version >= 235)
+			printf("\t\tLTTPR Mode: %stransparent\n",
+			       child->lttpr_non_transparent ? "non-" : "");
 		if (context->bdb->version >= 202)
 			printf("\t\tDual pipe ganged eDP: %s\n", YESNO(child->ganged_edp));
 		if (context->bdb->version >= 198) {
@@ -1060,6 +1066,10 @@ static void dump_child_device(struct context *context,
 
 	printf("\t\tDVO function: 0x%02x\n", child->dvo_function);
 
+	if (context->bdb->version >= 209) {
+		printf("\t\tDP port trace length: 0x%x\n", child->dp_port_trace_length);
+		printf("\t\tThunderbolt port: %s\n", YESNO(child->tbt));
+	}
 	if (context->bdb->version >= 195)
 		printf("\t\tDP USB type C support: %s\n", YESNO(child->dp_usb_type_c));
 
-- 
2.35.1



More information about the igt-dev mailing list