From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 24217606A32C for ; Thu, 3 Dec 2026 13:13:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=fP1CemWJ Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D8D3110E724; Thu, 3 Dec 2026 13:13:50 +0000 (UTC) X-Greylist: delayed 434 seconds by postgrey-1.36 at gabe; Thu, 03 Dec 2026 13:13:44 UTC Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.4]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2240810E725; Thu, 3 Dec 2026 13:13:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796303624; x=1827839624; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=m8KLOzDnvjrezinLcsFvo/dVZ+0RPTzlfownB1MhOoU=; b=fP1CemWJ4lBZxZaUWz0EuS8QwnGzYwe6QQclNHiQ/84eefJCPdWgv4DC qTx99VMCmsJDxzuqC0rETq0Vb48S01bg/iiETZC1P+srrfgQKzAGQIHPf 89T24UBYk73z7LFqG4QTJWzwCOGYGDe5+L6Q3FoD5F1wsOjZ3/JA5v5rP XkJ6/hUV4hI6eOHyez775T9TrYhFnhBjADmlY1TRCLmzZpjtMKdxwF+12 Q7+vutMMt4makEgdq5LWvGW5WesGDtYiRD5emUF6nu+pP7Reyx/GFk6l9 BOSblGSJf72ce4YzDcipLRf1v7sJGQEOr2NbnU26IcJ8pq60sjzx4gYWP w==; X-CSE-ConnectionGUID: YTxEWqlkQPae3N91oHwO6g== X-CSE-MsgGUID: FIvgFnmzQyGLObkxe3BYSg== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="15746" X-IronPort-AV: E=Sophos;i="6.29,248,1794902400"; d="scan'208";a="15746" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa114.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 05:06:29 -0800 X-CSE-ConnectionGUID: gYG8Qq8LSHa43c/+QK6j9w== X-CSE-MsgGUID: wXnFuaEhS0uLiVIqvNqTgg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,248,1794902400"; d="scan'208";a="13731725" Received: from ettammin-mobl2.ger.corp.intel.com (HELO localhost) ([10.245.244.132]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 05:06:28 -0800 From: Jani Nikula To: Ville Syrjala , 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 In-Reply-To: <20261203124025.3616-1-ville.syrjala@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs Bertel Jungin Aukio 5, 02600 Espoo, Finland References: <20261203124025.3616-1-ville.syrjala@linux.intel.com> Date: Thu, 03 Dec 2026 15:06:24 +0200 Message-ID: <97d337eafb05490335b62034095734fcdf7f1815@intel.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Intel-xe" X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Thu, 03 Dec 2026, Ville Syrjala wrote: > From: Ville Syrj=C3=A4l=C3=A4 > > 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 > Signed-off-by: Ville Syrj=C3=A4l=C3=A4 > --- > 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/i9= 15/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) >=3D 20) > display->mmio.funcs =3D &lnl_mmio_funcs; > else > - display->mmio.funcs =3D &i9xx_mmio_funcs; > + display->mmio.funcs =3D &tgl_mmio_funcs; > } >=20=20 > if (display->mmio.funcs->check_for_unclaimed_mmio) --=20 Jani Nikula, Intel