OSDN Git Service

drm/i915: Update eDP fast link training link rate parsing
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 2 Jun 2022 20:56:49 +0000 (23:56 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Jun 2022 10:26:34 +0000 (13:26 +0300)
commitf06d1d66d54c223e4f0f73393d94afd88105b6f3
tree497e406a869ea5a21d33af631b6452a3ac4fa31f
parentf09d2b0bdd78ffd38227426fb2ceab7ebd141391
drm/i915: Update eDP fast link training link rate parsing

We're not parsing the 5.4 Gbps value for the old eDP fast link
training link rate, nor are we parsing the new fast link training
link rate field. Remedy both.

Also we'll now use the actual link rate instead of the DPCD BW
register value.

Note that we're not even using this information for anything
currently, so should perhaps just nuke it all unless someone
is planning on implementing fast link training finally...

v2: Stop using the DPCD BW values (Jani)
    *20 instead of *2 to get the rate in correct units (Jani)

Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220602205649.11283-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_vbt_defs.h