package/mesa3d: allow VC4 driver on all ARM platforms
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 19 Aug 2019 12:46:00 +0000 (14:46 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 19 Aug 2019 20:52:47 +0000 (22:52 +0200)
commit350cb0d32ece533b9723a5f3ca6fbf7e6f071c90
tree4d5f768f7c02087fd464f8dc5e04d78c52db7261
parent589b8cb7e2d81067fde9ee4f11acecf8fd677dde
package/mesa3d: allow VC4 driver on all ARM platforms

In commit 3e5926555b59b50210bb7814d176b384f9d554ab ("package/{mesa3d,
mesa3d-headers}: bump version to 17.1.2"), the dependency of VC4 on
BR2_arm was changed to BR2_ARM_CPU_HAS_NEON, which the reasoning that
upstream commit
https://cgit.freedesktop.org/mesa/mesa/commit/?h=17.1&id=4d30024238efa829cabc72c1601beeee18c3dbf2
made NEON mandatory. However, this commit (including its commit log)
clearly shows that there is compile-time detection on whether you're
using ARMv6 or ARMv7, and simply says there is no runtime detection
for that (which usually isn't very important in the context of
Buildroot). So, the VC4 driver can be used on ARMv6
RaspberryPis. Therefore, this commit reverts to the BR2_arm
dependency.

Note: while there are some ARMv7 without NEONs, all ARMv7 RaspberryPi
platforms do have NEON, so the compile-time checks done in the VC4
driver are good enough.

Fixes:

  https://bugs.busybox.net/show_bug.cgi?id=12126

Cc: Sahaj Sarup <sahajsarup@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mesa3d/Config.in