Re: [PATCH] Build etnaviv on non-ARM architectures
From: Lucas Stach
Date: Wed Jan 09 2019 - 04:37:01 EST
Am Dienstag, den 08.01.2019, 12:43 -0800 schrieb Matthew Wilcox:
> I wanted to test-compile etnaviv on x86 after making a tree-wide change
> to it.ÂÂUnfortunately, Kconfig has a bad dependency, so I couldn't.
>
> Signed-off-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
I think we even want to relax this some more in the future, as Vivante
GPUs are also found on non ARM SoCs, but that needs some more testing
so I applied this patch to etnaviv/next as it's certainly the right
thing to do.
Regards,
Lucas
>
> diff --git a/drivers/gpu/drm/etnaviv/Kconfig b/drivers/gpu/drm/etnaviv/Kconfig
> index 041a77e400d4..342591a1084e 100644
> --- a/drivers/gpu/drm/etnaviv/Kconfig
> +++ b/drivers/gpu/drm/etnaviv/Kconfig
> @@ -2,7 +2,7 @@
> Âconfig DRM_ETNAVIV
> > Â tristate "ETNAVIV (DRM support for Vivante GPU IP cores)"
> > Â depends on DRM
> > - depends on ARCH_MXC || ARCH_DOVE || (ARM && COMPILE_TEST)
> > + depends on ARCH_MXC || ARCH_DOVE || ARM || COMPILE_TEST
> > Â depends on MMU
> > Â select SHMEM
> > Â select SYNC_FILE
>