From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 390FE2741AB for ; Fri, 23 Jan 2026 15:02:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769180536; cv=none; b=oew5djBulX8eNZa380Ny/9cJHKCv/umRjyiId+bYeEpKOG17vQFlw4EMars37XawBTVEOgX/nlPu47NNWd6/NN6NcJnT7688rNzxk3l34hP8MX9pm+hBQusWYaXytRntjNCXGsnBxiRuvnOWU2WI+b3r3QOs3CRyr1j64fBknUM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769180536; c=relaxed/simple; bh=o5nq7W1qG6HmrhsKiXdF40pqI16XdFsQJ6FwothOkqs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JIdlg24FWsL6blIHIzRaWQhMAR8rQLaE5yQMIVOFeCeeBMpkQtEqLseIsGO0B2rFSoPuQEwO2lSCNnlEH/zsfDrBNEsW05FVNS1MBVm1cCN23xwPwz8k7DCQMkZrw/1Y207tApGlxU/AD5UapRTGKxxRZH703q5OFx/GRIYAFXQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ECA971476; Fri, 23 Jan 2026 07:02:07 -0800 (PST) Received: from [10.1.26.17] (e122027.cambridge.arm.com [10.1.26.17]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7D1A63F632; Fri, 23 Jan 2026 07:02:12 -0800 (PST) Message-ID: <1b6c769e-e413-44e0-9bfd-b22b857d1e6d@arm.com> Date: Fri, 23 Jan 2026 15:02:09 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/panthor: Add src path to includes of panthor_gpu.o To: Nicolas Frattaroli , Boris Brezillon , Liviu Dudau , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Sasha Levin References: <20260123-panthor-tracepoint-build-fix-v1-1-7d67b7c0ae9b@collabora.com> From: Steven Price Content-Language: en-GB In-Reply-To: <20260123-panthor-tracepoint-build-fix-v1-1-7d67b7c0ae9b@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 23/01/2026 13:11, Nicolas Frattaroli wrote: > The file that defines CREATE_TRACE_POINTS needs to have the src > directory added to its include paths, or else the build may fail, as > define_trace.h won't be able to find the included trace file. > > Add it to the Makefile's CFLAGS for panthor_gpu.o. > > Fixes: 52ebfd8d2feb ("drm/panthor: Add tracepoint for hardware utilisation changes") > Reported-by: Sasha Levin > Closes: https://lore.kernel.org/r/aXLyzd6pMmexwWlY@laps/ > Signed-off-by: Nicolas Frattaroli Reviewed-by: Steven Price > --- > drivers/gpu/drm/panthor/Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/panthor/Makefile b/drivers/gpu/drm/panthor/Makefile > index 753a32c446df..dd15d52a88ba 100644 > --- a/drivers/gpu/drm/panthor/Makefile > +++ b/drivers/gpu/drm/panthor/Makefile > @@ -14,3 +14,5 @@ panthor-y := \ > panthor_sched.o > > obj-$(CONFIG_DRM_PANTHOR) += panthor.o > + > +CFLAGS_panthor_gpu.o := -I$(src) > > --- > base-commit: 15bd2f5d52de890f745ac0c60a44cd27d095bb0d > change-id: 20260123-panthor-tracepoint-build-fix-fa99f917f7ed > > Best regards,