Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/de: prefer intel_reg_offset() over i915_mmio_reg_offset()
@ 2026-11-18  9:45 Jani Nikula
  2026-11-18 10:33 ` ✓ CI.KUnit: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jani Nikula @ 2026-11-18  9:45 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: jani.nikula

intel_reg_offset() should be preferred over i915_mmio_reg_offset() in
display code. Convert the couple of instances that have crept in.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/display/intel_de.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_de.c b/drivers/gpu/drm/i915/display/intel_de.c
index 9ca5b27eb768..08a0027e7930 100644
--- a/drivers/gpu/drm/i915/display/intel_de.c
+++ b/drivers/gpu/drm/i915/display/intel_de.c
@@ -219,7 +219,7 @@ static void check_unclaimed_mmio_pre(struct intel_display *display,
 		drm_dbg_kms(display->drm,
 			    "Unclaimed access detected before %s register 0x%x\n",
 			    write ? "write to" : "read from",
-			    i915_mmio_reg_offset(reg));
+			    intel_reg_offset(reg));
 }
 
 static void check_unclaimed_mmio_post(struct intel_display *display,
@@ -234,7 +234,7 @@ static void check_unclaimed_mmio_post(struct intel_display *display,
 		     display->mmio.funcs->check_for_unclaimed_mmio(display),
 		     "Unclaimed %s register 0x%x\n",
 		     write ? "write to" : "read from",
-		     i915_mmio_reg_offset(reg)))
+		     intel_reg_offset(reg)))
 		/* Only report the first N failures */
 		display->params.mmio_debug--;
 }
-- 
2.47.3


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18  9:45 [PATCH] drm/i915/de: prefer intel_reg_offset() over i915_mmio_reg_offset() Jani Nikula
2026-11-18 10:33 ` ✓ CI.KUnit: success for " Patchwork
2026-11-18 11:10 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-18 16:21 ` [PATCH] " 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