Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3494749lqp; Tue, 26 Mar 2024 10:32:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhed4gA8GAZO4B82IwcyGXoij7/G6EFGUrG2lXN+A4LMIVhk+sxn/jX9vZyqikMotzoqFVt9QQxtvPhqTRNwOiOc16y7twZ/CKeiKweg== X-Google-Smtp-Source: AGHT+IG72GTm+ucUUNTHuUewhd55/0GRBXdXv8axJvuOBqInYFhVDqRgYgRYJZU61/pqiIE/ht/D X-Received: by 2002:a17:906:7109:b0:a46:b76d:dc30 with SMTP id x9-20020a170906710900b00a46b76ddc30mr291648ejj.44.1711474365753; Tue, 26 Mar 2024 10:32:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711474365; cv=pass; d=google.com; s=arc-20160816; b=JVTXcw8R0WDhl1ptGmsLB5bojw8F6B9AN2w0ZKmsYAKklpRAqViq3c/yIWiJGqkxjG cQ/s2YxZF6OpcY5EH8qUObCqVWL89M720pQ7JIQIq0YqHg0kLR4D+ovQoylUWopr2hvq CbWvv9vSPg3O46SSEZSQYq7fLSxIwVLxW7aWUIiN9DTCg5jKuZJdCT4e72CfcC9Gs/DE BzjanXe48bvokw+X9I04X4N14REEB9pvcByE/m3oX4agP1g7ExmPLHVSJzGBmW71/EOQ SNLKCuYIqy4eAbarLkca4sHvbBo8Eg+kFdAmVHuHQzcKX2Or0pHimDnNBq7q+8IjrT3F J4og== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=WKvFd7HinoZq8QjRY+ENggJFtAGBday3QOc7YtgvC9Y=; fh=pgMwOh2dJ2KA52UwAZWtngWichvDaf4zokyn21vuKWk=; b=tg/uJD+tCpQnI1E8D7kwKSW6XMp77X9vwjJQrsJtxiG9oBwlD3hn8qjRZ7+To0zCwN JQcOK2ILqpxZLysSeuJ3Xo1xKnFzw7yok+F4XPR8lYJPc5fjexhTn7J1WDap+cG1JRTP DJTWYd5RumSQC06h5jnQEUE9RIR9DPEwV3FXKGZ3XqcWLfVqLqiANBQam3MQfkx7rmVr FjDhP5/H9OWkVhQfZE+6jqag6l1KBPPVg57GyT/Z2lUPe+x7cUyUbyVrytdSRwgtHrVA jDle678rtmjZtYgnq0mN5MP0unFpHnbg6eB+x2F8w75GpZnWSDO5ImXMyt9+PL5AuK+D mvcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-119601-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119601-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hd36-20020a17090796a400b00a4df2eb3828si940268ejc.86.2024.03.26.10.32.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 10:32:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119601-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-119601-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119601-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D68061F21AAA for ; Tue, 26 Mar 2024 17:32:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CFEB1D539; Tue, 26 Mar 2024 17:32:19 +0000 (UTC) Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [195.130.137.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0CB11CD32 for ; Tue, 26 Mar 2024 17:32:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.89 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711474338; cv=none; b=m+qoBqAH17MJeQb/GmxBeh40UlbFcu0g6rM2L+l4Rp/ybMZIHtS7I8ho2b40e2a1yYDY5sepIhqGlyalExEx/k3E20/DZbXaZRVc9LCjFs9crFTeqMZHV9IV0ncaWaIrhpiBIqk1+ynKCkQMRAqr1rhNTchL+s+PF1N5FgzziNE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711474338; c=relaxed/simple; bh=yscuF0G/tph/Y4itTI6/5johZGaGHrI4d1K74HT7Skg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=FPWpD9WhwYnXgiPFEC9b099wjZBnBxAS6j906IxJxJo+pxna3rSsxgo5efHITnjo0FIEAvdsLUDEe5kG68D4qSUcRz3Pm0YdkLaFNmZ8zRHCwPDT55XpQ2KUvvqaxDhoCWxLzy98Ow4sqb0n8/YWG98fyhyeCGonuG8I8u4qunM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:76d0:2bff:fec8:549]) by laurent.telenet-ops.be with bizsmtp id 3VYD2C00H0SSLxL01VYDYl; Tue, 26 Mar 2024 18:32:14 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rpAeM-0053li-UA; Tue, 26 Mar 2024 18:32:13 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rpAej-001ZOf-Nq; Tue, 26 Mar 2024 18:32:13 +0100 From: Geert Uytterhoeven To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] drm: DRM_DEBUG_MODESET_LOCK should depend on DRM Date: Tue, 26 Mar 2024 18:32:12 +0100 Message-Id: <80bb56a361c3a4f7567f1d8a8adb050fdff62462.1711474310.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit There is no point in asking the user about enabling DRM debug tracing when configuring a kernel without DRM support. Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 2e1b23ccf30423a9..a24c48acf235449a 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -119,9 +119,7 @@ config DRM_DEBUG_DP_MST_TOPOLOGY_REFS config DRM_DEBUG_MODESET_LOCK bool "Enable backtrace history for lock contention" - depends on STACKTRACE_SUPPORT - depends on DEBUG_KERNEL - depends on EXPERT + depends on DRM && STACKTRACE_SUPPORT && DEBUG_KERNEL && EXPERT select STACKDEPOT default y if DEBUG_WW_MUTEX_SLOWPATH help -- 2.34.1