Skip to content

drm/i915/dp: Use the VBT eDP fast link training params

Lee Shawn C intel-gfx intel-xe 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Discard the params if the rate exceeds the max link rate. (Ville)
- Require drm_dp_fast_training_cap(). (Ville)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915/bios: Split out parsing the eDP fast link training paramsdrivers/gpu/drm/i915/display/intel_bios.c+35 -260 replies
2/4drm/i915/bios: Parse eDP fast link training params only if enableddrivers/gpu/drm/i915/display/intel_bios.c drivers/gpu/drm/i915/display/intel_display_types.h+40 -20 replies
3/4drm/i915/dp: Start eDP link training from VBT fast link train vswing/pre-emphasis levelsdrivers/gpu/drm/i915/display/intel_dp_link_training.c+114 -00 replies
4/4drm/i915/dp: Use the VBT fast link training link config for eDPdrivers/gpu/drm/i915/display/intel_dp.c+50 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] drm/i915/dp: Use the VBT eDP fast link training params

From: Shawn Lee <[email protected]>

The VBT provides per-panel eDP fast link training params, which the driver parses but doesn't use. Use them when fast link training is enabled in the VBT:

- Patch 1-2: parse the params only if the enable bit is set.
- Patch 3: start link training from the VBT vswing/pre-emphasis levels.
- Patch 4: use the VBT link rate and lane count.

The existing AUX handshake based link training sequence is kept; link training without AUX handshake is not implemented.

v2:
- Discard the params if the rate exceeds the max link rate. (Ville)
- Require drm_dp_fast_training_cap(). (Ville)

Lee Shawn C (4):
drm/i915/bios: Split out parsing the eDP fast link training params drm/i915/bios: Parse eDP fast link training params only if enabled drm/i915/dp: Start eDP link training from VBT fast link train
vswing/pre-emphasis levels
drm/i915/dp: Use the VBT fast link training link config for eDP

 drivers/gpu/drm/i915/display/intel_bios.c     |  94 +++++++++++----
 .../drm/i915/display/intel_display_types.h    |   1 +
 drivers/gpu/drm/i915/display/intel_dp.c       |  50 ++++++++
 .../drm/i915/display/intel_dp_link_training.c | 114 ++++++++++++++++++
 4 files changed, 235 insertions(+), 24 deletions(-)
Signature · 1 line
2.53.0