Skip to content

PHY LFPS sending configuration fixes

Jouni Högander intel-gfx intel-xe 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesIn review
  2. v24 patches 5 repliesSuperseded
  3. v11 patch 7 repliesSuperseded

Changes in v3 from the cover letter

- add Bpsec references
- set C10_VDR_CTRL_MSGBUS_ACCESS once for all owned lanes

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915/display: Write PHY_CMN1_CONTROL only when using AUXLess ALPMdrivers/gpu/drm/i915/display/intel_cx0_phy.c+3 -50 replies
2/4drm/i915/display: Avoid unnecessarily calling intel_cx0_get_owned_lane_maskdrivers/gpu/drm/i915/display/intel_cx0_phy.c+2 -10 replies
3/4drm/i915/display: Ensure phy is accessible on lfps configurationdrivers/gpu/drm/i915/display/intel_cx0_phy.c+6 -00 replies
4/4drm/i915/display: Set C10_VDR_CTRL_MSGBUS_ACCESS before phy reg readdrivers/gpu/drm/i915/display/intel_cx0_phy.c+4 -02 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchGustavo Sousa
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] PHY LFPS sending configuration fixes

We are seeing "dmesg-warn/abort - *ERROR* PHY * failed after 3 retries" since we started configuring LFPS sending. According to Bspec Configuring LFPS sending is needed only when using AUXLess ALPM. This patch avoids these failures by configuring LFPS sending only when using AUXLess ALPM.

Addition to PHY failure fix this patch set contains some additions that were seen missing during review:

1. Ensure phy is accessible on lfps configuration
2. Set C10_VDR_CTRL_MSGBUS_ACCESS before phy reg read

Also one optimization is added to avoid unnecessarily calling intel_cx0_get_owned_lane_mask.

v3:
- add Bpsec references
- set C10_VDR_CTRL_MSGBUS_ACCESS once for all owned lanes
v2:
- split as a patch set
- add ensuring phy is accessible on lfps configuration
- set C10_VDR_CTRL_MSGBUS_ACCESS before phy reg read

Jouni Högander (4):
drm/i915/display: Write PHY_CMN1_CONTROL only when using AUXLess ALPM drm/i915/display: Avoid unnecessarily calling
intel_cx0_get_owned_lane_mask
drm/i915/display: Ensure phy is accessible on lfps configuration drm/i915/display: Set C10_VDR_CTRL_MSGBUS_ACCESS before phy reg read

 drivers/gpu/drm/i915/display/intel_cx0_phy.c | 21 ++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)
Signature · 1 line
2.43.0