Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2A70C11360B for ; Tue, 14 Jun 2022 23:31:34 +0000 (UTC) From: Ville Syrjala To: igt-dev@lists.freedesktop.org Date: Wed, 15 Jun 2022 02:30:47 +0300 Message-Id: <20220614233100.13834-11-ville.syrjala@linux.intel.com> In-Reply-To: <20220614233100.13834-1-ville.syrjala@linux.intel.com> References: <20220614233100.13834-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 10/23] tools/intel_vbt_decode: Decode new fast link training rate List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Ville Syrjälä Decode the fast link training link rate. Signed-off-by: Ville Syrjälä --- 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