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 2599630DD36 for ; Fri, 23 Jan 2026 15:07:37 +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=1769180859; cv=none; b=Pk3t+cKF8lvMYgpn4WgWYX2ksrcjBc1D0wuiYOJsIQFhKPIfG1qVcLHRoqqOChu9irCtiMs+2yj1jqoUfR+Q67/xA/7oBon2m4+CTLs+dpRBy4EhPmJyFutkhPSmpPRkZaprx6GqKkUZQLUGCXMmeenYYW+FZgVnalxC/9B151I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769180859; c=relaxed/simple; bh=BurF1dV3HTTwpAUCyaMwXgnsa8w7KI0V0Zjvvvr9AsI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LrH//CBA1r4euHd9Jk8EMVAdi+zwBPuoEZTxgF1ptgN8YoivZvrcS803AayKoso4ujaAHmlVYjyM0D7K4Bl/iJ0OudN2xXLJ9oOfLCdgLnpdYYOvc44FRQKs3NbUKgp/RteJ/LLVyBjlhmzRRUVPyStD+a55eQCwAIOqHButGjk= 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 153681515 for ; Fri, 23 Jan 2026 07:07:31 -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 696243F632 for ; Fri, 23 Jan 2026 07:07:37 -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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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> 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 >