Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH] drm/xe: remove unused fake uncore lock
Date: Thu, 26 Nov 2026 19:36:58 +0200	[thread overview]
Message-ID: <awhuOnl0kFqDBqOS@intel.com> (raw)
In-Reply-To: <20261124134850.1520247-1-jani.nikula@intel.com>

On Tue, Nov 24, 2026 at 03:48:50PM +0200, Jani Nikula wrote:
> 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>

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.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

-- 
Ville Syrjälä
Intel

      parent reply	other threads:[~2026-11-26 17:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Ville Syrjälä [this message]

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=awhuOnl0kFqDBqOS@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox