linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Build etnaviv on non-ARM architectures
@ 2019-01-08 20:43 Matthew Wilcox
  2019-01-09  9:36 ` Lucas Stach
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Wilcox @ 2019-01-08 20:43 UTC (permalink / raw)
  To: Lucas Stach, Russell King, Christian Gmeiner, David Airlie,
	Daniel Vetter, etnaviv, dri-devel, linux-kernel


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

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Build etnaviv on non-ARM architectures
  2019-01-08 20:43 [PATCH] Build etnaviv on non-ARM architectures Matthew Wilcox
@ 2019-01-09  9:36 ` Lucas Stach
  0 siblings, 0 replies; 2+ messages in thread
From: Lucas Stach @ 2019-01-09  9:36 UTC (permalink / raw)
  To: Matthew Wilcox, Russell King, Christian Gmeiner, David Airlie,
	Daniel Vetter, etnaviv, dri-devel, linux-kernel

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@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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-09  9:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-08 20:43 [PATCH] Build etnaviv on non-ARM architectures Matthew Wilcox
2019-01-09  9:36 ` Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).