[igt-dev] [PATCH i-g-t 10/23] tools/intel_vbt_decode: Decode new fast link training rate

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


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

Decode the fast link training link rate.

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 48b56808d9fa..367e22caedfa 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -1097,6 +1097,13 @@ static void dump_edp(struct context *context,
 				break;
 			}
 		}
+
+		if (context->bdb->version >= 224) {
+			u16 rate = edp->edp_fast_link_training_rate[i];
+
+			printf("\t\teDP fast link training data rate: %g Gbps (0x%02x)\n",
+			       rate / 5000.0f, rate);
+		}
 	}
 }
 
-- 
2.35.1



More information about the igt-dev mailing list