OSDN Git Service

vc4: Use runtime CPU detection for whether NEON is available.
authorEric Anholt <eric@anholt.net>
Thu, 13 Apr 2017 18:48:22 +0000 (11:48 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 2 May 2017 20:35:23 +0000 (13:35 -0700)
commitece06defe77a77d2db40abeddee5a2e0e45654ce
tree14a5b517abf8450c470e337d9726005451dd3fe4
parenta373f77662c557662a675139ea6121b05c1f2b72
vc4: Use runtime CPU detection for whether NEON is available.

This will allow Raspbian's ARMv6 builds to take advantage of the new NEON
code, and could prevent problems if vc4 ends up getting used on a v7 CPU
without NEON.

v2: Drop dead NEON_SUFFIX (noted by Erik Faye-Lund)
src/gallium/drivers/vc4/vc4_screen.c
src/gallium/drivers/vc4/vc4_tiling.h