All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] drm/i915: Make register accesses and unclaimed mmio detection lockless for TGL+
@ 2026-11-19 20:50 Ville Syrjala
  2026-11-19 20:50 ` [PATCH 1/6] drm/i915/de: Uninline intel_de_{read,write}_fw() Ville Syrjala
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Ville Syrjala @ 2026-11-19 20:50 UTC (permalink / raw)
  To: intel-gfx; +Cc: intel-xe

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

Make the unclaimed mmio detection lockless (albeit somewhat
more racy), and utilize that to to make all register accesses
lockless on TGL+. By using the lockless xe driver on TGL+ we've
pretty well established that serializing all register accesses
(ala IVB/HSW) is not required on TGL+.

And I tossed in the deinlining of intel_de_{read,write}_fw()
as well because the bloat has been bothering me for a while.

I left out the earlier xe parts. Once we land these i915 bits,
we can try again to enable unclaimed mmio detect for the pre-LNL
platforms on xe as well. Theoretically those should be fine since
i915 is fine, but the messed up differences in the init/suspend
ordering between the drivers can cause xe exclusive issues still.
And based on the last attempt we already know that some LNL+ systems
are have broken pure display code paths (eg. ALPM), which will need
to be fixed before we can enable the unclaimed mmio detection for those
platforms.

v2: Drop the xe stuff
    Keep the modparam as int for compatibility purposes (Jani)

Ville Syrjälä (6):
  drm/i915/de: Uninline intel_de_{read,write}_fw()
  drm/i915/de: Pimp the intel_de_{read,write}_fw() docs
  drm/i915/de: Flatten the unclaimed mmio code
  drm/i915/de: Make mmio_debug lockless
  drm/i915/de: Optimize the mmio_debug checks in intel_de_{read,write}()
  drm/i915/de: Make display registers unlocked for TGL+ on i915

 drivers/gpu/drm/i915/display/intel_de.c       | 180 ++++++++++++------
 drivers/gpu/drm/i915/display/intel_de.h       |  40 ++--
 .../gpu/drm/i915/display/intel_display_core.h |  16 +-
 .../drm/i915/display/intel_display_params.c   |   2 +-
 4 files changed, 147 insertions(+), 91 deletions(-)

-- 
2.56.0


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

end of thread, other threads:[~2026-11-20 16:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19 20:50 [PATCH 0/6] drm/i915: Make register accesses and unclaimed mmio detection lockless for TGL+ Ville Syrjala
2026-11-19 20:50 ` [PATCH 1/6] drm/i915/de: Uninline intel_de_{read,write}_fw() Ville Syrjala
2026-11-19 20:50 ` [PATCH 2/6] drm/i915/de: Pimp the intel_de_{read,write}_fw() docs Ville Syrjala
2026-11-19 20:50 ` [PATCH 3/6] drm/i915/de: Flatten the unclaimed mmio code Ville Syrjala
2026-11-19 20:50 ` [PATCH 4/6] drm/i915/de: Make mmio_debug lockless Ville Syrjala
2026-11-19 20:57   ` sashiko-bot
2026-11-20 16:16     ` Ville Syrjälä
2026-11-19 20:50 ` [PATCH 5/6] drm/i915/de: Optimize the mmio_debug checks in intel_de_{read, write}() Ville Syrjala
2026-11-19 20:50 ` [PATCH 6/6] drm/i915/de: Make display registers unlocked for TGL+ on i915 Ville Syrjala
2026-11-20  0:09 ` ✓ i915.CI.BAT: success for drm/i915: Make register accesses and unclaimed mmio detection lockless for TGL+ Patchwork
2026-11-20  1:01 ` ✓ CI.KUnit: " Patchwork
2026-11-20  1:51 ` ✓ Xe.CI.BAT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.