Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
	intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm/xe: Enable unclaimed register detection on xe for pre-LNL
Date: Thu, 03 Dec 2026 15:06:24 +0200	[thread overview]
Message-ID: <97d337eafb05490335b62034095734fcdf7f1815@intel.com> (raw)
In-Reply-To: <20261203124025.3616-1-ville.syrjala@linux.intel.com>

On Thu, 03 Dec 2026, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> 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.

Sounds like a good plan.

> 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.

I think that's fine for now. There's no point in doing anything about it
until we have the full blown Intel display Kconfig where this belongs.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>

> 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)

-- 
Jani Nikula, Intel

  parent reply	other threads:[~2026-12-03 13:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Jani Nikula [this message]
2026-12-03 13:20 ` ✓ Xe.CI.BAT: " Patchwork

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=97d337eafb05490335b62034095734fcdf7f1815@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=ville.syrjala@linux.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