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 BB873D74EDE for ; Fri, 23 Jan 2026 15:07:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CF4910EB0D; Fri, 23 Jan 2026 15:07:37 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by gabe.freedesktop.org (Postfix) with ESMTP id DBA0D10EB0D for ; Fri, 23 Jan 2026 15:07:36 +0000 (UTC) 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 E71571515 for ; Fri, 23 Jan 2026 07:07:29 -0800 (PST) Received: from [192.168.0.1] (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 470643F632 for ; Fri, 23 Jan 2026 07:07:36 -0800 (PST) Date: Fri, 23 Jan 2026 15:05:58 +0000 From: Liviu Dudau To: Nicolas Frattaroli Cc: Boris Brezillon , Steven Price , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Sasha Levin Subject: Re: [PATCH] drm/panthor: Add src path to includes of panthor_gpu.o Message-ID: References: <20260123-panthor-tracepoint-build-fix-v1-1-7d67b7c0ae9b@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260123-panthor-tracepoint-build-fix-v1-1-7d67b7c0ae9b@collabora.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, Jan 23, 2026 at 02:11:44PM +0100, 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: Liviu Dudau Best regards, Liviu > --- > 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, > -- > Nicolas Frattaroli >