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 07BF6D778B0 for ; Fri, 23 Jan 2026 20:12:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E0C7A10E2EB; Fri, 23 Jan 2026 20:12:05 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="qqgydcrP"; dkim-atps=neutral Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id E476D10E2E7 for ; Fri, 23 Jan 2026 20:12:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1769199122; bh=f/WhmduApxnLBp9mfCOVHoVdXOUJN3uCtzudj+MMj9U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qqgydcrPmhJUefMkhlP3ytNy46fKpUVmPJ8/hS39wYm4o+ra74eANL1C7UT7yKp8t s7UasWgz4aPpPR48mQUz7DfJ1ZXp8grzvUcyzCBuflN0319kWfqN1vwuCgj8haRXaq zIRbrCnR6Bv1G6U6up8RRbg5VYlCOB2ihCeGduXGfa14aV23L3hB/TlSLM3JgVo4Pa GQ1O3qomznFwsIOMNMC5+C7NfWyL2vdyhMaZDOttdt68zX27rx/cTJqFUT6mCgiCK9 z5m9/5XxzKUNumFEitRVDpNFQLJms3pXpeSOsH5eK9Pa4mVUQFmLr+4g3uIMRRGzFl GfwBGHWabdNVw== Received: from fedora (unknown [IPv6:2a01:e0a:2c:6930:d919:a6e:5ea1:8a9f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by bali.collaboradmins.com (Postfix) with ESMTPSA id E9EC917E0182; Fri, 23 Jan 2026 21:12:01 +0100 (CET) Date: Fri, 23 Jan 2026 21:11:57 +0100 From: Boris Brezillon To: Nicolas Frattaroli Cc: Steven Price , Liviu Dudau , 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: <20260123211157.3b0ba9a5@fedora> In-Reply-To: <20260123-panthor-tracepoint-build-fix-v1-1-7d67b7c0ae9b@collabora.com> References: <20260123-panthor-tracepoint-build-fix-v1-1-7d67b7c0ae9b@collabora.com> Organization: Collabora X-Mailer: Claws Mail 4.3.1 (GTK 3.24.51; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 23 Jan 2026 14:11:44 +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 Queued to drm-misc-next. > --- > 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,