Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/xe: Enable unclaimed register detection on xe for pre-LNL
@ 2026-12-03 12:40 Ville Syrjala
  2026-12-03 12:40 ` [PATCH 2/2] drm/i915/de: Nuke driver_is_i915() Ville Syrjala
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ville Syrjala @ 2026-12-03 12:40 UTC (permalink / raw)
  To: intel-gfx; +Cc: intel-xe

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

Now that the unclaimed register detection code no longer relies
on the lock we can enable it on xe, without bringing the lock
along for the ride.

xe only supports TGL+ class hardware, so that's all we have
to care about here.

The first attempt to enable this for all xe supported platforms
ended in fire, so let's try to limit this to pre-LNL at first
since those platforms already have unclaimed mmio detection
on i915.

One weird thing here is that the default value for the modparam
still comes from i915's CONFIG_DRM_I915_DEBUG_MMIO. So xe will
only get the modparam turned on by default if i915 is also
included in the build.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_de.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_de.c b/drivers/gpu/drm/i915/display/intel_de.c
index ed91e70fdabb..9fec9229c9ae 100644
--- a/drivers/gpu/drm/i915/display/intel_de.c
+++ b/drivers/gpu/drm/i915/display/intel_de.c
@@ -632,7 +632,7 @@ void intel_de_init(struct intel_display *display)
 		else if (DISPLAY_VER(display) >= 20)
 			display->mmio.funcs = &lnl_mmio_funcs;
 		else
-			display->mmio.funcs = &i9xx_mmio_funcs;
+			display->mmio.funcs = &tgl_mmio_funcs;
 	}
 
 	if (display->mmio.funcs->check_for_unclaimed_mmio)
-- 
2.56.1


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

end of thread, other threads:[~2026-12-03 13:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 12:40 [PATCH 1/2] drm/xe: Enable unclaimed register detection on xe for pre-LNL Ville Syrjala
2026-12-03 12:40 ` [PATCH 2/2] drm/i915/de: Nuke driver_is_i915() Ville Syrjala
2026-12-03 13:09   ` Jani Nikula
2026-12-03 12:49 ` ✓ CI.KUnit: success for series starting with [1/2] drm/xe: Enable unclaimed register detection on xe for pre-LNL Patchwork
2026-12-03 13:06 ` [PATCH 1/2] " Jani Nikula
2026-12-03 13:20 ` ✓ Xe.CI.BAT: success for series starting with [1/2] " Patchwork

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