Rocket Kconfig fixes
Heiko Stuebner
reviewercover Rocket Kconfig fixes
More common indentation and depending on the actual accel framework.
Heiko Stuebner (2):
accel/rocket: Fix indentation of Kconfig entry
accel/rocket: Depend on DRM_ACCEL not just DRM
drivers/accel/rocket/Kconfig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.47.2
Heiko Stuebner
reviewerPATCH 1/2 accel/rocket: Fix indentation of Kconfig entry
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.
--- drivers/accel/rocket/Kconfig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
drivers/accel/rocket/Kconfig +8 -8
@@ -1,14 +1,14 @@ # SPDX-License-Identifier: GPL-2.0-only 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
Signature · 1 line
2.47.2
Heiko Stuebner
reviewerPATCH 2/2 accel/rocket: Depend on DRM_ACCEL not just DRM
In reply to Heiko StuebnerWith the current dependency on only DRM, a config of
CONFIG_DRM_ACCEL_ROCKET=y
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.
--- drivers/accel/rocket/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/rocket/Kconfig +1 -1
@@ -2,7 +2,7 @@ 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
Signature · 1 line
2.47.2
Tomeu Vizoso
maintainerThanks, Heiko, I have applied them to drm-misc-next.
Regards,
Tomeu
Quoted 13 lines · Heiko Stuebner
More common indentation and depending on the actual accel framework.
Heiko Stuebner (2):
accel/rocket: Fix indentation ofKconfigentry
accel/rocket: Depend onDRM_ACCELnot just DRMdrivers/accel/rocket/Kconfig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)--
2.47.2