Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: remove unused fake uncore lock
@ 2026-11-24 13:48 Jani Nikula
  2026-11-24 14:24 ` ✗ CI.KUnit: failure for " Patchwork
  2026-11-26 17:36 ` [PATCH] " Ville Syrjälä
  0 siblings, 2 replies; 3+ messages in thread
From: Jani Nikula @ 2026-11-24 13:48 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: jani.nikula

The xe fake uncore lock usage was removed in commit 527a438bf738
("drm/i915/de: Introduce display->mmio.lock"). Remove the lock too.

Keep the now empty uncore sub-struct in struct xe_device for a while
longer, as we're still using container_of() to get from the uncore
pointer to xe_device in the xe compat uncore code.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/xe/display/xe_display.c | 3 ---
 drivers/gpu/drm/xe/xe_device_types.h    | 1 -
 2 files changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
index 0236f69a0f88..b1a6008bf15c 100644
--- a/drivers/gpu/drm/xe/display/xe_display.c
+++ b/drivers/gpu/drm/xe/display/xe_display.c
@@ -85,9 +85,6 @@ int xe_display_init_early(struct xe_device *xe)
 	if (!xe->info.probe_display)
 		return 0;
 
-	/* Fake uncore lock */
-	spin_lock_init(&xe->uncore.lock);
-
 	intel_display_driver_early_probe(display);
 
 	intel_display_device_info_runtime_init(display);
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index 8f2a31949073..f624c717aebf 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -637,7 +637,6 @@ struct xe_device {
 	 */
 
 	struct intel_uncore {
-		spinlock_t lock;
 	} uncore;
 #endif
 };
-- 
2.47.3


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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 13:48 [PATCH] drm/xe: remove unused fake uncore lock Jani Nikula
2026-11-24 14:24 ` ✗ CI.KUnit: failure for " Patchwork
2026-11-26 17:36 ` [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