Skip to contentSkip to conversation

libdrm: VC4 change dependency to arm OR aarch64

PATCH New Olivier Schonken 2 participants 3 messages Oct 11, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libdrm: VC4 change dependency to arm OR aarch64

Enable selection of VC4 driver when compiling for Rpi3 using aarch64

---
 package/libdrm/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libdrm/Config.in +1 -1
index b90aea7cef..b48acc00ad 100644
@@ -94,7 +94,7 @@ config BR2_PACKAGE_LIBDRM_TEGRA
 
 config BR2_PACKAGE_LIBDRM_VC4
 	bool "vc4"
-	depends on BR2_arm
+	depends on BR2_arm || BR2_aarch64
 	help
 	  Install vc4 (Raspberry Pi) driver.
 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 mesa3d: VC4 change dependency to arm_cpu_has_neon OR aarch64

Neon is compulsory on aarch64.
This is needed to enable building VC4 gallium driver for Rpi3 using aarch64.

---
 package/mesa3d/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/mesa3d/Config.in +1 -1
index 787e266bdd..dd5d0d4385 100644
@@ -99,7 +99,7 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
 
 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
 	bool "Gallium vc4 driver"
-	depends on BR2_ARM_CPU_HAS_NEON
+	depends on BR2_ARM_CPU_HAS_NEON || BR2_aarch64
 	select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
 	select BR2_PACKAGE_LIBDRM_VC4
 	select BR2_PACKAGE_MESA3D_NEEDS_XA
Signature · 1 line
2.11.0
#2 lore raw

PATCH 1/2 libdrm: VC4 change dependency to arm OR aarch64

In reply to Olivier Schonken

Hello,

Quoted 6 lines · Olivier Schonken

Enable selection of VC4 driver when compiling for Rpi3 using aarch64

---
 package/libdrm/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Both applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com