From nobody Mon Feb 9 05:44:37 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEF8520C00C for ; Thu, 15 Jan 2026 13:32:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768483925; cv=none; b=fd12MODlz4WgPqRey0/GaHr4qVgzdy155fFRv0u9DrM8IRvq0ucMQITG4hPeXjeO9F5H0A5hlT/IOf4eKveExCE5+J5kZUvygPkPEZVt6UA4NIEr7YpeLosP7Oz0u8P5voIsnzZeh+w++ia3HG5uoBvk7rjQ5kn/K5+pUH1Un/0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768483925; c=relaxed/simple; bh=ZGLxMKtDNBKdkvdgrSOqFfxRv6bDzmDC3XReIZRPO4w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r0Of1ZddrS2JCRBiHF7/+e2OKGgQK8IGh+82G5yigvvxUftBTPazHrRruTgU1EXl6NzHAJl+ZNEFz6tiChx/znK99j7t1MBjJfJ/BujjtTTIJraY4NCiTDaNXSX3r5fXabI10o/Iw9LUEc7Lf/CR0qGJykj6oDv+Un0YQO9k2aU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E22BDC116D0; Thu, 15 Jan 2026 13:32:03 +0000 (UTC) From: Geert Uytterhoeven To: Juston Li , Lucas De Marchi , David Airlie , Simona Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH resend] gpu/trace: TRACE_GPU_MEM should depend on DRM Date: Thu, 15 Jan 2026 14:32:00 +0100 Message-ID: <598987a3785b1d3914a0b1ca25d1d464ee2e68dd.1768483636.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" GPU memory usage tracepoints are only used by DRM GPU drivers. Hence add a dependency on DRM, to prevent asking the user about this functionality when configuring a kernel without DRM GPU support. Fixes: 5d95cbf21a4a550f ("gpu/trace: make TRACE_GPU_MEM configurable") Signed-off-by: Geert Uytterhoeven --- Used by DRM_MSM (which selects TRACE_GPU_MEM) and DRM_XE (when TRACE_GPU_MEM is enabled manually). drivers/gpu/trace/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/trace/Kconfig b/drivers/gpu/trace/Kconfig index cd3d19c4a201c9c6..7f405ce7df5a0a42 100644 --- a/drivers/gpu/trace/Kconfig +++ b/drivers/gpu/trace/Kconfig @@ -2,6 +2,7 @@ =20 config TRACE_GPU_MEM bool "Enable GPU memory usage tracepoints" + depends on DRM || COMPILE_TEST default n help Choose this option to enable tracepoints for tracking --=20 2.43.0