Re: [PATCH v2] drm/vc4: Enable selection in Kconfig on any 32-bit BCM platform.

From: Florian Fainelli
Date: Tue May 09 2017 - 19:08:34 EST


On 05/09/2017 11:15 AM, Eric Anholt wrote:
> With the Cygnus port, we needed to add at least "|| ARCH_BCM_CYGNUS"
> to let the module get built on a cygnus-only kernel. However, I
> anticipate having a port for Kona soon, so just present the module on
> all of BCM.
>
> v2: Keep allowing selection with ARCH_BCM2835, since ARCH_BCM doesn't
> exist on arm64.

Nit: the patch changelog usually goes after the "---" line so it gets
stripped with git am. Not necessary to resubmit just because of that.

>
> Signed-off-by: Eric Anholt <eric@xxxxxxxxxx>
> Acked-by: Daniel Vetter <daniel.vetter@xxxxxxxx> (v1)

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

> ---
> drivers/gpu/drm/vc4/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/vc4/Kconfig b/drivers/gpu/drm/vc4/Kconfig
> index 973b4203c0b2..b16aefe4a8d3 100644
> --- a/drivers/gpu/drm/vc4/Kconfig
> +++ b/drivers/gpu/drm/vc4/Kconfig
> @@ -1,6 +1,6 @@
> config DRM_VC4
> tristate "Broadcom VC4 Graphics"
> - depends on ARCH_BCM2835 || COMPILE_TEST
> + depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
> depends on DRM
> depends on SND && SND_SOC
> depends on COMMON_CLK
>


--
Florian