All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [PATCH] drm/xe: remove unused fake uncore lock
Date: Tue, 24 Nov 2026 15:48:50 +0200	[thread overview]
Message-ID: <20261124134850.1520247-1-jani.nikula@intel.com> (raw)

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


             reply	other threads:[~2026-11-24 13:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 13:48 Jani Nikula [this message]
2026-11-24 14:24 ` ✗ CI.KUnit: failure for drm/xe: remove unused fake uncore lock Patchwork
2026-11-24 22:37 ` ✓ i915.CI.BAT: success " Patchwork
2026-11-25 13:02 ` ✓ i915.CI.Full: " Patchwork
2026-11-26 17:36 ` [PATCH] " Ville Syrjälä
2026-11-27  9:21   ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261124134850.1520247-1-jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.