From nobody Sat Oct 4 15:57:14 2025 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 C7C292D46BC for ; Thu, 14 Aug 2025 11:35:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755171336; cv=none; b=fXiMTpukkg1fqRyrKM8pLdrl9dukj0r2Ua2NvBOpSJ6Y33MAtiaeM+SPbKD9LyvKkeo6i05zmZtaaS1u3cS/NdPyTHO7PPTK+X7I/SaWxQ65yk5XrJtd4jHSk4PW7JR6hGtKDM3DKAqaaDuCsJMoQQDj4THNTAFDw1sgfZHJqfQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755171336; c=relaxed/simple; bh=gpewYC1aynL/3plWWHQnPjBngKCe/yxFIKKQ7sIJHBA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AUZrEiMvBFuQNdHl1cKYSt6d/C+pmZwra35uo3nQmsTRbgdUtoHBB5UA8qa+rs26Wz3MI+aEvs8A685TsQOE6xJwoUHD36Z59oLmCdmkY1JtVNvBikhbSP4BZlCUjSnwqL7/6FYv3ckXCeQGJ5k7LIPaZdI7/zq7TMrIA7Oebqw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=GhXYMl81; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="GhXYMl81" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type; bh=h17YFkfTuCB8eF+5nF50XzxDOJoEYvolvGJ2ABR+gec=; b=GhXYMl81k8akaGISyLLNeZZWSO Oo7W3tx9a30VuJq18QJP2R+cu4XpjRSpNSW48RROO93J+kbPFZV0xIYndRBgoWruhlv9xQOIKUf3g LcbR7uxUZTuSq0r7dQ0NOv8LDZnSjXqt5tE4dDP7zeonAnE1YRVvF5bVm7GBlYQn9I/svnlFcsCj/ EgoHCFxQbKmNfn1b9r5c/EbgTR4OzEgIWiiwBTFa2wsRnT3FeS0JjHfO4NtYFSfrjl7ZAhjjS7POW Wmx0NGYjixfynDQmJ80XGKW5rtirbqg93+JHGYyhXxUTCjXCVJ3odBxHWbbVc5H5B/NnpmaHHMJz1 g/baw9hw==; Received: from i53875b38.versanet.de ([83.135.91.56] helo=phil..) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1umWEz-0003Km-AS; Thu, 14 Aug 2025 13:35:29 +0200 From: Heiko Stuebner To: tomeu@tomeuvizoso.net Cc: ogabbay@kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, heiko@sntech.de Subject: [PATCH 1/2] accel/rocket: Fix indentation of Kconfig entry Date: Thu, 14 Aug 2025 13:35:18 +0200 Message-ID: <20250814113519.1551855-2-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250814113519.1551855-1-heiko@sntech.de> References: <20250814113519.1551855-1-heiko@sntech.de> 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" The general indentation for the Kconfig lines is one tab, so adapt the lines accordingly. The description is correctly indented (1 tab + 2 spaces) so doesn't need changes. Fixes: ed98261b4168 ("accel/rocket: Add a new driver for Rockchip's NPU") Signed-off-by: Heiko Stuebner --- drivers/accel/rocket/Kconfig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/accel/rocket/Kconfig b/drivers/accel/rocket/Kconfig index 43d6cd98ec8e..af6cda273892 100644 --- a/drivers/accel/rocket/Kconfig +++ b/drivers/accel/rocket/Kconfig @@ -1,14 +1,14 @@ # SPDX-License-Identifier: GPL-2.0-only =20 config DRM_ACCEL_ROCKET - tristate "Rocket (support for Rockchip NPUs)" - depends on DRM - depends on (ARCH_ROCKCHIP && ARM64) || COMPILE_TEST - depends on ROCKCHIP_IOMMU || COMPILE_TEST - depends on MMU - select DRM_SCHED - select DRM_GEM_SHMEM_HELPER - help + tristate "Rocket (support for Rockchip NPUs)" + depends on DRM + depends on (ARCH_ROCKCHIP && ARM64) || COMPILE_TEST + depends on ROCKCHIP_IOMMU || COMPILE_TEST + depends on MMU + select DRM_SCHED + select DRM_GEM_SHMEM_HELPER + help Choose this option if you have a Rockchip SoC that contains a compatible Neural Processing Unit (NPU), such as the RK3588. Called by Rockchip either RKNN or RKNPU, it accelerates inference of neural --=20 2.47.2 From nobody Sat Oct 4 15:57:14 2025 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 C7B3E2BE020 for ; Thu, 14 Aug 2025 11:35:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755171337; cv=none; b=V5I02cFsRnTlkrjVPgmT8zti9ejH6NH9CT+0tyeIgsEo8bTmqmT47sAfe5Y6dWdq5kGxggMUFU1nkTXWi7Y27Wa3usC/FjJsz0ojPXzKWDKCmSsDWmqnc1VBJZ+tslIs5hHMpe9c0pGBlIzdMWjzamn45FA+ntBKJsejXmcyjBs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755171337; c=relaxed/simple; bh=99GH0a+mDXdTcc15ZoX4EWLpxTVCVMUcN1gG1gD85Bk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oaoWqI551lkZ7cnhWru+qcJSdD2GhYL0Y+OBSeGingNUbDMXkogCiDXt0up3pAljeFsrW1DqgTKN6EdbY8Kb9097Y8b3maLBMjniuZNCNNjtgwI9jblmAA7SAHDEwJLn0u+ggoL9AWM7FeCP77kpH7mEaK9hLJpIlDl7sMuGn1c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=GbdnvxO0; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="GbdnvxO0" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type; bh=rY14a9yxr74FB40Vw1Xff3ggg57AOflGxQdWJpiKAyY=; b=GbdnvxO08omcS58zsZHNsk1UjZ lTxFF7gdWMXqUVGdOtDTYQ+JX0wE2839OKs2Jxyai+lwc66cJZWw74XR3OWf3OBiPxLdbDqVZp2Rt LEYd9l5g0Eh/9nNpqnVm4MmaNzY2ibBBLwCJKUl6Z290vqvFsUAeNB4+52bFhMU4l53R8cc208ua1 IIEaLfo8Ee3sxO6PL6qFy+E18nJq6Whiwo+VG0n+PUnLBBvxZ/1eDayPKJFgvMsGd1+HuUB/RRwgh mNS4BO/IPC7XME5edAeeAXPEboqXq6dkYrjiSKczIYWeEnrFBcNu23Y6vuBhNXeQvazKBPPOFjroY wv9ukb5A==; Received: from i53875b38.versanet.de ([83.135.91.56] helo=phil..) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1umWEz-0003Km-JV; Thu, 14 Aug 2025 13:35:29 +0200 From: Heiko Stuebner To: tomeu@tomeuvizoso.net Cc: ogabbay@kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, heiko@sntech.de Subject: [PATCH 2/2] accel/rocket: Depend on DRM_ACCEL not just DRM Date: Thu, 14 Aug 2025 13:35:19 +0200 Message-ID: <20250814113519.1551855-3-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250814113519.1551855-1-heiko@sntech.de> References: <20250814113519.1551855-1-heiko@sntech.de> 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" With the current dependency on only DRM, a config of CONFIG_DRM_ACCEL_ROCKET=3Dy is possible, but of course wrong, because without DRM_ACCEL the build- system will never even enter drivers/accel/* . So depend on DRM_ACCEL instead of just DRM. Fixes: ed98261b4168 ("accel/rocket: Add a new driver for Rockchip's NPU") Signed-off-by: Heiko Stuebner --- drivers/accel/rocket/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/accel/rocket/Kconfig b/drivers/accel/rocket/Kconfig index af6cda273892..16465abe0660 100644 --- a/drivers/accel/rocket/Kconfig +++ b/drivers/accel/rocket/Kconfig @@ -2,7 +2,7 @@ =20 config DRM_ACCEL_ROCKET tristate "Rocket (support for Rockchip NPUs)" - depends on DRM + depends on DRM_ACCEL depends on (ARCH_ROCKCHIP && ARM64) || COMPILE_TEST depends on ROCKCHIP_IOMMU || COMPILE_TEST depends on MMU --=20 2.47.2