drm/i915/display: convert to generic poll_timeout_us()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest20 patches 21 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
All 20 patches have a Reviewed-by or Acked-by.
| Patch | Jouni Högander |
|---|---|
| 1/20 | R-b |
| 2/20 | R-b |
| 3/20 | R-b |
| 4/20 | R-b |
| 5/20 | R-b |
| 6/20 | R-b |
| 7/20 | R-b |
| 8/20 | R-b |
| 9/20 | R-b |
| 10/20 | R-b |
| 11/20 | R-b |
| 12/20 | R-b |
| 13/20 | R-b |
| 14/20 | R-b |
| 15/20 | R-b |
| 16/20 | R-b |
| 17/20 | R-b |
| 18/20 | R-b |
| 19/20 | R-b |
| 20/20 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/20] drm/i915/display: convert to generic poll_timeout_us()
Completely remove the remaining custom i915_utils.h wait macro usage from display code, and unify on the kernel generic poll_timeout_us() poll waiter. Also convert existing read_poll_timeout() and readx_poll_timeout() to poll_timeout_us().
This is a rewrite of [1] switching to the new poll_timeout_us() instead of read_poll_timeout().
The main functional change is losing the exponentially growing sleep from the custom macros. This is highlighted in each commit message with details.
BR,
Jani.
[1] https://lore.kernel.org/r/[email protected]
Jani Nikula (20):
drm/i915/hdmi: use generic poll_timeout_us() instead of __wait_for() drm/i915/hdcp: use generic poll_timeout_us() instead of __wait_for() drm/i915/hdcp: use generic poll_timeout_us() instead of wait_for() drm/i915/dsi: use generic poll_timeout_us() instead of wait_for_us() drm/i915/dsi-pll: use generic poll_timeout_us() instead of wait_for() drm/i915/gmbus: use generic poll_timeout*() instead of wait_for*() drm/i915/wm: use generic poll_timeout_us() instead of wait_for() drm/i915/cdclk: use generic poll_timeout_us() instead of wait_for() drm/i915/power: use generic poll_timeout_us() instead of wait_for() drm/i915/power-well: use generic poll_timeout_us() instead of
wait_for() for DKL PHY
drm/i915/power-well: use generic poll_timeout_us() instead of
wait_for() for VLV/CHV
drm/i915/dp: use generic poll_timeout_us() instead of wait_for() drm/i915/dp: use generic poll_timeout_us() instead of wait_for() in
link training
drm/i915/vblank: use generic poll_timeout_us() instead of wait_for() drm/i915/tc: use generic poll_timeout_us() instead of wait_for() drm/i915/dsb: use generic poll_timeout_us() instead of wait_for() drm/i915/lspcon: use generic poll_timeout_us() instead of wait_for() drm/i915/opregion: use generic poll_timeout_us() instead of wait_for() drm/i915/ddi: prefer poll_timeout_us() over readx_poll_timeout() drm/i915/pps: prefer poll_timeout_us() over read_poll_timeout()
drivers/gpu/drm/i915/display/i9xx_wm.c | 16 +++++-- drivers/gpu/drm/i915/display/icl_dsi.c | 18 ++++++-- drivers/gpu/drm/i915/display/intel_cdclk.c | 37 ++++++++-------- drivers/gpu/drm/i915/display/intel_ddi.c | 32 +++++--------- .../drm/i915/display/intel_display_power.c | 7 +++- .../i915/display/intel_display_power_well.c | 42 +++++++++++-------- drivers/gpu/drm/i915/display/intel_dp.c | 21 +++++----- .../drm/i915/display/intel_dp_link_training.c | 17 ++++++-- drivers/gpu/drm/i915/display/intel_dsb.c | 10 ++++- drivers/gpu/drm/i915/display/intel_gmbus.c | 13 +++--- drivers/gpu/drm/i915/display/intel_hdcp.c | 25 ++++++----- drivers/gpu/drm/i915/display/intel_hdmi.c | 10 ++--- drivers/gpu/drm/i915/display/intel_lspcon.c | 13 ++++-- drivers/gpu/drm/i915/display/intel_opregion.c | 10 +++-- drivers/gpu/drm/i915/display/intel_pps.c | 8 ++-- drivers/gpu/drm/i915/display/intel_tc.c | 16 ++++++- drivers/gpu/drm/i915/display/intel_vblank.c | 9 +++- drivers/gpu/drm/i915/display/vlv_dsi_pll.c | 11 +++-- 18 files changed, 193 insertions(+), 122 deletions(-)
Signature · 1 line
2.47.2