Skip to contentSkip to conversation

Build etnaviv on non-ARM architectures

PATCH In review Matthew Wilcox 2 participants 2 messages Jan 8, 2019 – Jan 9, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Build etnaviv on non-ARM architectures

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.

drivers/gpu/drm/etnaviv/Kconfig +1 -1
index 041a77e400d4..342591a1084e 100644
@@ -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
maintainer
#1 lore raw

Am Dienstag, den 08.01.2019, 12:43 -0800 schrieb Matthew Wilcox:

Quoted 4 lines

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.

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

Quoted 7 lines
drivers/gpu/drm/etnaviv/Kconfig +0 -0
index 041a77e400d4..342591a1084e 100644
@@ -2,7 +2,7 @@

 config DRM_ETNAVIV

Quoted 8 lines
Quoted 7 lines

  tristate "ETNAVIV (DRM support for Vivante GPU IP cores)" depends on DRM

drivers/gpu/drm/etnaviv/Kconfig +1 -1
-	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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel