intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/10] drm/i915: Stop the intel_de_wait_custom() abuse
@ 2025-11-06 15:20 Ville Syrjala
  2025-11-06 15:20 ` [PATCH v2 01/10] drm/i915/cx0: Print the correct timeout Ville Syrjala
                   ` (18 more replies)
  0 siblings, 19 replies; 30+ messages in thread
From: Ville Syrjala @ 2025-11-06 15:20 UTC (permalink / raw)
  To: intel-gfx; +Cc: intel-xe

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

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(-)

-- 
2.49.1


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2025-11-07 18:44 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06 15:20 [PATCH v2 00/10] drm/i915: Stop the intel_de_wait_custom() abuse Ville Syrjala
2025-11-06 15:20 ` [PATCH v2 01/10] drm/i915/cx0: Print the correct timeout Ville Syrjala
2025-11-06 15:32   ` Jani Nikula
2025-11-06 15:54     ` Ville Syrjälä
2025-11-06 15:20 ` [PATCH v2 02/10] drm/i915/cx0: Nuke extraneous timeout debugs Ville Syrjala
2025-11-06 15:33   ` Jani Nikula
2025-11-06 15:20 ` [PATCH v2 03/10] drm/i915/ltphy: " Ville Syrjala
2025-11-06 15:34   ` Jani Nikula
2025-11-06 15:20 ` [PATCH v2 04/10] drm/i915/cx0: Replace XELPDP_PORT_POWERDOWN_UPDATE_TIMEOUT_US with XELPDP_PORT_POWERDOWN_UPDATE_TIMEOUT_MS Ville Syrjala
2025-11-06 15:37   ` Jani Nikula
2025-11-06 15:20 ` [PATCH v2 05/10] drm/i915/cx0: Get rid of XELPDP_MSGBUS_TIMEOUT_FAST_US Ville Syrjala
2025-11-06 15:20 ` [PATCH v2 06/10] drm/i915/cx0: s/XELPDP_MSGBUS_TIMEOUT_SLOW/XELPDP_MSGBUS_TIMEOUT_MS/ Ville Syrjala
2025-11-06 15:20 ` [PATCH v2 07/10] drm/i915/cx0: s/XELPDP_PORT_RESET_END_TIMEOUT/XELPDP_PORT_RESET_END_TIMEOUT_US/ Ville Syrjala
2025-11-06 15:38   ` Jani Nikula
2025-11-06 15:52   ` [PATCH v3 07/10] drm/i915/cx0: s/XELPDP_PORT_RESET_END_TIMEOUT/XELPDP_PORT_RESET_END_TIMEOUT_MS/ Ville Syrjala
2025-11-06 15:20 ` [PATCH v2 08/10] drm/i915/ltphy: Nuke bogus weird timeouts Ville Syrjala
2025-11-06 15:41   ` Jani Nikula
2025-11-06 15:20 ` [PATCH v2 09/10] drm/i915/hdcp: Use the default 2 usec fast polling timeout Ville Syrjala
2025-11-06 15:20 ` [PATCH v2 10/10] drm/i915/pmdemand: " Ville Syrjala
2025-11-06 15:42 ` ✓ CI.KUnit: success for drm/i915: Stop the intel_de_wait_custom() abuse (rev2) Patchwork
2025-11-06 15:43 ` [PATCH v2 00/10] drm/i915: Stop the intel_de_wait_custom() abuse Jani Nikula
2025-11-06 16:10   ` Ville Syrjälä
2025-11-06 17:05     ` Jani Nikula
2025-11-06 16:01 ` ✗ CI.checksparse: warning for drm/i915: Stop the intel_de_wait_custom() abuse (rev2) Patchwork
2025-11-06 16:25 ` ✓ Xe.CI.BAT: success " Patchwork
2025-11-06 16:32 ` ✓ CI.KUnit: success for drm/i915: Stop the intel_de_wait_custom() abuse (rev3) Patchwork
2025-11-06 16:47 ` ✗ CI.checksparse: warning " Patchwork
2025-11-06 17:08 ` ✓ Xe.CI.BAT: success " Patchwork
2025-11-07 13:01 ` ✗ Xe.CI.Full: failure " Patchwork
2025-11-07 18:44 ` [PATCH v2 00/10] drm/i915: Stop the intel_de_wait_custom() abuse Ville Syrjälä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).