Skip to content

IO and fast wake lines calculation and increase fw sync length

Jouni Högander intel-gfx 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 3 repliesIn review
  2. v55 patches 8 repliesSuperseded
  3. v45 patches 6 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v35 patches0 repliesSuperseded
v25 patches1 replySuperseded
v13 patches9 repliesSuperseded

Changes in v6 from the cover letter

- do not add lnl_io_wake_time helper
- comment why pulse count is increased

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915/display: Make intel_dp_aux_fw_sync_len available for PSR codedrivers/gpu/drm/i915/display/intel_dp_aux.c drivers/gpu/drm/i915/display/intel_dp_aux.h+2 -10 replies
2/4drm/i915/psr: Improve fast and IO wake lines calculationdrivers/gpu/drm/i915/display/intel_psr.c+14 -60 replies
3/4drm/i915/psr: Calculate IO wake and fast wake lines for DISPLAY_VER < 12drivers/gpu/drm/i915/display/intel_psr.c+31 -150 replies
4/4drm/i915/display: Increase number of fast wake precharge pulsesdrivers/gpu/drm/i915/display/intel_dp_aux.c+6 -12 replies

Reviews trailers per patch

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

PatchVille Syrjälä
1/4R-b
2/4R-b
3/4R-b
4/4A-b

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

Read the v6 thread

Cover letter [PATCH v6 0/4] IO and fast wake lines calculation and increase fw sync length

This patch set is improving IO and fast wake lines calculation in PSR code:

Use actual fast wake sync pulse count in calculation Implement getter for IO buffer wake times and use that. Better presentation on how these are calculated. Use calculation for display version < 12 as well.

Also number of precharge pulses is increased by 2 pulses to fix problems with certain panel models.

v6:
- do not add lnl_io_wake_time helper
- comment why pulse count is increased
v5:
- s/get_io_buffer_wake_time/io_buffer_wake_time/ and use it directly in calculation
- do not handle < 9 separately
- add own helpers for skl, tgl and lnl io buffer wake times
v4:
- initialize io/fast_wake_time for display version < 9
v3:
- keep using int in intel_dp_aux_fw_sync_len
v2:
- do not add function pointer
- rename io_wake_time in if block to io_buffer_wake_time
- rename get_io_wake_time to get_io_buffer_wake_time
- use calculation for display version < 12 as well
- split LunarLake IO buffer wake times as a separate patch

Jouni Högander (4):
drm/i915/display: Make intel_dp_aux_fw_sync_len available for PSR code drm/i915/psr: Improve fast and IO wake lines calculation drm/i915/psr: Calculate IO wake and fast wake lines for DISPLAY_VER <

    12

drm/i915/display: Increase number of fast wake precharge pulses

 drivers/gpu/drm/i915/display/intel_dp_aux.c |  9 +++-
 drivers/gpu/drm/i915/display/intel_dp_aux.h |  1 +
 drivers/gpu/drm/i915/display/intel_psr.c    | 46 ++++++++++++++++-----
 3 files changed, 43 insertions(+), 13 deletions(-)
Signature · 1 line
2.34.1