[igt-dev] [PATCH i-g-t 12/23] tools/intel_vbt_decode: Parse the new eDP max link rate

Ville Syrjala ville.syrjala at linux.intel.com
Tue Jun 14 23:30:49 UTC 2022


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

VBT version 244 onwards have a new eDP max link rate field.
Parse it.

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

diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index deaae9130b65..cc9dd929db66 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -1115,6 +1115,13 @@ static void dump_edp(struct context *context,
 			printf("\t\teDP fast link training data rate: %g Gbps (0x%02x)\n",
 			       rate / 5000.0f, rate);
 		}
+
+		if (context->bdb->version >= 244) {
+			u16 rate = edp->edp_max_port_link_rate[i];
+
+			printf("\t\teDP max port link rate: %g Gbps (0x%02x)\n",
+			       rate / 5000.0f, rate);
+		}
 	}
 }
 
-- 
2.35.1



More information about the igt-dev mailing list