[PATCH] Build etnaviv on non-ARM architectures

Lucas Stach l.stach at pengutronix.de
Wed Jan 9 09:36:54 UTC 2019


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 at infradead.org>

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
> 


More information about the etnaviv mailing list