Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] drm/i915/de: Work towards uncore elimination
@ 2026-11-04 22:18 Ville Syrjala
  2026-11-04 22:18 ` [PATCH 1/9] drm/i915/de: Introduce dislay->mmio and intel_de_init() Ville Syrjala
                   ` (15 more replies)
  0 siblings, 16 replies; 40+ messages in thread
From: Ville Syrjala @ 2026-11-04 22:18 UTC (permalink / raw)
  To: intel-gfx; +Cc: intel-xe

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

Move the mmio locking and unclaimed register detection into the
display code. For now both are still i915 only to keep the
number functional changes in check.

Eventually we want to hook up the unclaimed register detection
for xe as well, but might have to think of a way to do it
without the lock to reduce the overhead a bit. Eliminating
the lock would help i915 on modern platforms as well.

Ville Syrjälä (9):
  drm/i915/de: Introduce dislay->mmio and intel_de_init()
  drm/i915/de: Convert intel_de_{read,write}() into vfuncs
  drm/i915/de: Introduce mmio read/write templates
  drm/i915/de: Eliminate runtime overhead from DMC wakelock on pre-LNL
    platforms
  drm/i915/de: Introduce display->mmio.lock
  drm/i915/uncore: Don't meddle with mmio debug upon user forcewake
  drm/i915/de: Move unclaimed mmio detection into display code
  drm/i915/de: Stop using intel_uncore_{read,write}()
  drm/xe: Nuke the intel_uncore_{read,write}() wrappers

 drivers/gpu/drm/i915/display/i9xx_wm.c        |   9 +-
 drivers/gpu/drm/i915/display/intel_de.c       | 331 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_de.h       |  29 +-
 drivers/gpu/drm/i915/display/intel_display.c  |   3 +-
 .../gpu/drm/i915/display/intel_display_core.h |  23 ++
 .../drm/i915/display/intel_display_device.c   |   7 +
 .../drm/i915/display/intel_display_driver.c   |  15 +
 .../drm/i915/display/intel_display_driver.h   |   3 +
 .../drm/i915/display/intel_display_params.c   |   4 +
 .../drm/i915/display/intel_display_params.h   |   1 +
 .../gpu/drm/i915/display/intel_display_regs.h |   8 +
 drivers/gpu/drm/i915/display/intel_vblank.c   |  16 +-
 drivers/gpu/drm/i915/i915_driver.c            |  12 +-
 drivers/gpu/drm/i915/i915_drv.h               |   1 -
 drivers/gpu/drm/i915/i915_params.c            |   4 -
 drivers/gpu/drm/i915/i915_params.h            |   1 -
 drivers/gpu/drm/i915/i915_reg.h               |   7 -
 drivers/gpu/drm/i915/intel_uncore.c           | 239 +------------
 drivers/gpu/drm/i915/intel_uncore.h           |  26 --
 .../drm/xe/compat-i915-headers/intel_uncore.h |  16 -
 20 files changed, 423 insertions(+), 332 deletions(-)

-- 
2.56.0


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

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

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04 22:18 [PATCH 0/9] drm/i915/de: Work towards uncore elimination Ville Syrjala
2026-11-04 22:18 ` [PATCH 1/9] drm/i915/de: Introduce dislay->mmio and intel_de_init() Ville Syrjala
2026-11-04 22:31   ` sashiko-bot
2026-11-05  8:58     ` Jani Nikula
2026-11-05 20:03     ` Ville Syrjälä
2026-11-04 23:29   ` Michał Grzelak
2026-11-04 22:18 ` [PATCH 2/9] drm/i915/de: Convert intel_de_{read,write}() into vfuncs Ville Syrjala
2026-11-06 14:50   ` Jani Nikula
2026-11-06 15:35     ` Ville Syrjälä
2026-11-04 22:18 ` [PATCH 3/9] drm/i915/de: Introduce mmio read/write templates Ville Syrjala
2026-11-04 23:32   ` Michał Grzelak
2026-11-06 14:52   ` Jani Nikula
2026-11-06 16:03     ` Ville Syrjälä
2026-11-04 22:18 ` [PATCH 4/9] drm/i915/de: Eliminate runtime overhead from DMC wakelock on pre-LNL platforms Ville Syrjala
2026-11-06 14:53   ` Jani Nikula
2026-11-04 22:18 ` [PATCH 5/9] drm/i915/de: Introduce display->mmio.lock Ville Syrjala
2026-11-04 22:35   ` sashiko-bot
2026-11-05  9:32   ` Jani Nikula
2026-11-05 13:43     ` Ville Syrjälä
2026-11-05 13:47       ` Jani Nikula
2026-11-06 14:55   ` Jani Nikula
2026-11-04 22:18 ` [PATCH 6/9] drm/i915/uncore: Don't meddle with mmio debug upon user forcewake Ville Syrjala
2026-11-06 14:58   ` Jani Nikula
2026-11-04 22:18 ` [PATCH 7/9] drm/i915/de: Move unclaimed mmio detection into display code Ville Syrjala
2026-11-04 22:36   ` sashiko-bot
2026-11-06 16:19     ` Ville Syrjälä
2026-11-06 16:39   ` Jani Nikula
2026-11-06 17:24     ` Ville Syrjälä
2026-11-04 22:18 ` [PATCH 8/9] drm/i915/de: Stop using intel_uncore_{read,write}() Ville Syrjala
2026-11-06 15:37   ` Jani Nikula
2026-11-06 15:55     ` Ville Syrjälä
2026-11-04 22:18 ` [PATCH 9/9] drm/xe: Nuke the intel_uncore_{read,write}() wrappers Ville Syrjala
2026-11-06 15:38   ` [PATCH 9/9] drm/xe: Nuke the intel_uncore_{read, write}() wrappers Jani Nikula
2026-11-05  0:01 ` ✗ CI.checkpatch: warning for drm/i915/de: Work towards uncore elimination Patchwork
2026-11-05  0:03 ` ✓ CI.KUnit: success " Patchwork
2026-11-05  0:40 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-05  7:10 ` ✗ CI.checkpatch: warning for drm/i915/de: Work towards uncore elimination (rev2) Patchwork
2026-11-05  7:13 ` ✓ CI.KUnit: success " Patchwork
2026-11-05  7:47 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-06  1:17 ` ✓ Xe.CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox