Re: [PATCH 04/10] drm/sun4i: Allow building the driver on RISC-V

From: Jernej Škrabec
Date: Mon Apr 11 2022 - 11:38:30 EST


Dne ponedeljek, 11. april 2022 ob 06:34:16 CEST je Samuel Holland napisal(a):
> Allwinner D1 is a RISC-V SoC which contains a DE 2.0 engine. Let's
> remove the dependency on a specific CPU architecture, so the driver can
> be built wherever ARCH_SUNXI is selected.
>
> Signed-off-by: Samuel Holland <samuel@xxxxxxxxxxxx>

Acked-by: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>

Best regards,
Jernej

> ---
>
> drivers/gpu/drm/sun4i/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig
> index befc5a80222d..3a43c436c74a 100644
> --- a/drivers/gpu/drm/sun4i/Kconfig
> +++ b/drivers/gpu/drm/sun4i/Kconfig
> @@ -1,7 +1,7 @@
> # SPDX-License-Identifier: GPL-2.0-only
> config DRM_SUN4I
> tristate "DRM Support for Allwinner A10 Display Engine"
> - depends on DRM && (ARM || ARM64) && COMMON_CLK
> + depends on DRM && COMMON_CLK
> depends on ARCH_SUNXI || COMPILE_TEST
> select DRM_GEM_CMA_HELPER
> select DRM_KMS_HELPER
> --
> 2.35.1
>
>