2021-03-28 00:04:55 +00:00
|
|
|
From b74a5ce07eab6b8272fdde4a0ea502ad8fc11cfd Mon Sep 17 00:00:00 2001
|
2019-02-05 02:25:39 +00:00
|
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
Date: Mon, 4 Feb 2019 17:54:45 -0700
|
|
|
|
Subject: [PATCH] Rip out VC4 forced NEON
|
|
|
|
|
|
|
|
Breaks with distro-supplied CFLAGS.
|
|
|
|
---
|
2019-10-03 13:45:36 +00:00
|
|
|
meson.build | 1 -
|
2019-02-05 02:25:39 +00:00
|
|
|
src/gallium/drivers/vc4/meson.build | 11 -----------
|
2019-10-03 13:45:36 +00:00
|
|
|
2 files changed, 12 deletions(-)
|
2019-02-05 02:25:39 +00:00
|
|
|
|
2019-10-03 13:45:36 +00:00
|
|
|
diff --git a/meson.build b/meson.build
|
2021-03-28 00:04:55 +00:00
|
|
|
index 9eb7f9221ea..3f3c4f81873 100644
|
2019-10-03 13:45:36 +00:00
|
|
|
--- a/meson.build
|
|
|
|
+++ b/meson.build
|
2021-03-28 00:04:55 +00:00
|
|
|
@@ -1231,7 +1231,6 @@ elif host_machine.cpu_family() == 'x86_64'
|
2019-10-03 13:45:36 +00:00
|
|
|
elif host_machine.cpu_family() == 'arm'
|
|
|
|
if system_has_kms_drm
|
|
|
|
with_asm_arch = 'arm'
|
|
|
|
- pre_args += ['-DUSE_ARM_ASM']
|
|
|
|
endif
|
|
|
|
elif host_machine.cpu_family() == 'aarch64'
|
|
|
|
if system_has_kms_drm
|
2019-02-05 02:25:39 +00:00
|
|
|
diff --git a/src/gallium/drivers/vc4/meson.build b/src/gallium/drivers/vc4/meson.build
|
2021-03-28 00:04:55 +00:00
|
|
|
index 90a772d5dc6..3074933584c 100644
|
2019-02-05 02:25:39 +00:00
|
|
|
--- a/src/gallium/drivers/vc4/meson.build
|
|
|
|
+++ b/src/gallium/drivers/vc4/meson.build
|
|
|
|
@@ -84,17 +84,6 @@ files_libvc4 = files(
|
|
|
|
vc4_c_args = []
|
|
|
|
|
|
|
|
libvc4_neon = []
|
|
|
|
-if host_machine.cpu_family() == 'arm'
|
|
|
|
- libvc4_neon = static_library(
|
|
|
|
- 'vc4_neon',
|
|
|
|
- 'vc4_tiling_lt_neon.c',
|
|
|
|
- include_directories : [
|
|
|
|
- inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_broadcom
|
|
|
|
- ],
|
|
|
|
- c_args : '-mfpu=neon',
|
|
|
|
- )
|
|
|
|
- vc4_c_args += '-DUSE_ARM_ASM'
|
|
|
|
-endif
|
|
|
|
|
|
|
|
if dep_simpenrose.found()
|
2019-10-03 13:45:36 +00:00
|
|
|
vc4_c_args += '-DUSE_VC4_SIMULATOR'
|
2019-02-05 02:25:39 +00:00
|
|
|
--
|
2021-03-28 00:04:55 +00:00
|
|
|
2.30.1
|
2019-02-05 02:25:39 +00:00
|
|
|
|