Skip to content

drm/i915: Stop the intel_de_wait_custom() abuse

Ville Syrjala intel-gfx intel-xe 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 11 repliesIn review
  2. v17 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drm/i915/cx0: Print the correct timeoutdrivers/gpu/drm/i915/display/intel_cx0_phy.c+1 -12 replies
2/10drm/i915/cx0: Nuke extraneous timeout debugsdrivers/gpu/drm/i915/display/intel_cx0_phy.c+16 -191 reply
3/10drm/i915/ltphy: Nuke extraneous timeout debugsdrivers/gpu/drm/i915/display/intel_lt_phy.c+16 -181 reply
4/10drm/i915/cx0: Replace XELPDP_PORT_POWERDOWN_UPDATE_TIMEOUT_US with XELPDP_PORT_POWERDOWN_UPDATE_TIMEOUT_MSdrivers/gpu/drm/i915/display/intel_cx0_phy.c drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h+2 -21 reply
5/10drm/i915/cx0: Get rid of XELPDP_MSGBUS_TIMEOUT_FAST_USdrivers/gpu/drm/i915/display/intel_cx0_phy.c drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h+1 -30 replies
6/10drm/i915/cx0: s/XELPDP_MSGBUS_TIMEOUT_SLOW/XELPDP_MSGBUS_TIMEOUT_MS/drivers/gpu/drm/i915/display/intel_cx0_phy.c drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h drivers/gpu/drm/i915/display/intel_lt_phy.c+8 -80 replies
7/10drm/i915/cx0: s/XELPDP_PORT_RESET_END_TIMEOUT/XELPDP_PORT_RESET_END_TIMEOUT_US/drivers/gpu/drm/i915/display/intel_cx0_phy.c drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h+2 -22 replies
8/10drm/i915/ltphy: Nuke bogus weird timeoutsdrivers/gpu/drm/i915/display/intel_lt_phy.c drivers/gpu/drm/i915/display/intel_lt_phy_regs.h+8 -101 reply
9/10drm/i915/hdcp: Use the default 2 usec fast polling timeoutdrivers/gpu/drm/i915/display/intel_hdcp.c+1 -10 replies
10/10drm/i915/pmdemand: Use the default 2 usec fast polling timeoutdrivers/gpu/drm/i915/display/intel_pmdemand.c+1 -10 replies

Reviews trailers per patch

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

PatchJani Nikula
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b R-b
8/10R-b
9/10R-b
10/10R-b

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

Read the v2 thread

Cover letter [PATCH v2 00/10] drm/i915: Stop the intel_de_wait_custom() abuse

From: Ville Syrjälä <[email protected]>

Get rid of all the custom fast vs. slow intel_de_wait_custom() timeouts that have started to spread like a cancer recently.

The eventual aim is to get rid of the fast vs. slow timeout stuff entirely and switch over to poll_timeout_us()...

v2: Drop the extraneous timeout debugs to make it simpler to change them
Use the slow timeout in all cases where we have both slow and fast

Ville Syrjälä (10):
drm/i915/cx0: Print the correct timeout
drm/i915/cx0: Nuke extraneous timeout debugs drm/i915/ltphy: Nuke extraneous timeout debugs drm/i915/cx0: Replace XELPDP_PORT_POWERDOWN_UPDATE_TIMEOUT_US with
XELPDP_PORT_POWERDOWN_UPDATE_TIMEOUT_MS
drm/i915/cx0: Get rid of XELPDP_MSGBUS_TIMEOUT_FAST_US drm/i915/cx0: s/XELPDP_MSGBUS_TIMEOUT_SLOW/XELPDP_MSGBUS_TIMEOUT_MS/ drm/i915/cx0:
s/XELPDP_PORT_RESET_END_TIMEOUT/XELPDP_PORT_RESET_END_TIMEOUT_US/
drm/i915/ltphy: Nuke bogus weird timeouts
drm/i915/hdcp: Use the default 2 usec fast polling timeout drm/i915/pmdemand: Use the default 2 usec fast polling timeout

 drivers/gpu/drm/i915/display/intel_cx0_phy.c  | 52 +++++++++----------
 .../gpu/drm/i915/display/intel_cx0_phy_regs.h |  7 ++-
 drivers/gpu/drm/i915/display/intel_hdcp.c     |  2 +-
 drivers/gpu/drm/i915/display/intel_lt_phy.c   | 47 ++++++++---------
 .../gpu/drm/i915/display/intel_lt_phy_regs.h  |  7 ++-
 drivers/gpu/drm/i915/display/intel_pmdemand.c |  2 +-
 6 files changed, 54 insertions(+), 63 deletions(-)
Signature · 1 line
2.49.1