From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59F3DC3ABAC for ; Tue, 6 May 2025 14:45:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E01E510E060; Tue, 6 May 2025 14:45:11 +0000 (UTC) Received: from lechuck.jsg.id.au (jsg.id.au [193.114.144.202]) by gabe.freedesktop.org (Postfix) with ESMTPS id 67F6E10E060; Tue, 6 May 2025 14:45:10 +0000 (UTC) Received: from largo.jsg.id.au (largo.jsg.id.au [192.168.1.44]) by lechuck.jsg.id.au (OpenSMTPD) with ESMTPS id bdd9e5af (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 7 May 2025 00:45:08 +1000 (AEST) Received: from localhost (largo.jsg.id.au [local]) by largo.jsg.id.au (OpenSMTPD) with ESMTPA id 91c5f4fc; Wed, 7 May 2025 00:45:07 +1000 (AEST) Date: Wed, 7 May 2025 00:45:07 +1000 From: Jonathan Gray To: Jani Nikula Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH] drm/i915/pxp: fix non-optimised !CONFIG_DRM_I915_PXP build Message-ID: References: <20241103110230.11035-1-jsg@jsg.id.au> <87msieghk7.fsf@intel.com> <87wmatvqj6.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wmatvqj6.fsf@intel.com> X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Tue, May 06, 2025 at 04:04:45PM +0300, Jani Nikula wrote: > On Tue, 06 May 2025, Jonathan Gray wrote: > > On Tue, Nov 05, 2024 at 11:23:36AM +0200, Jani Nikula wrote: > >> On Sun, 03 Nov 2024, Jonathan Gray wrote: > >> > intel_pxp_gsccs_is_ready_for_sessions() is gated by CONFIG_DRM_I915_PXP > >> > but called from intel_pxp.c which isn't. Provide a fallback inline > >> > function to fix the non-optimised build. > >> > > >> > Fixes: 99afb7cc8c44 ("drm/i915/pxp: Add ARB session creation and cleanup") > >> > Signed-off-by: Jonathan Gray > >> > >> Reviewed-by: Jani Nikula > > > > equivalent patch was merged and now queued for stable > > 7e21ea8149a0 ("drm/i915/pxp: fix undefined reference to `intel_pxp_gsccs_is_ready_for_sessions'") > > Oh, damn. I'm really sorry for first dropping the ball on your patch, > and then encountering another patch and forgetting one like that already > existed. > > My bad, apologies. Thanks. I mentioned this in case someone with the same problem found this thread. I understand you have many patches to keep track of.