Commit Graph

6814 Commits

Author SHA1 Message Date
jsg
ead9561df6 disable noisy -Winitializer-overrides warnings 2020-09-22 04:39:21 +00:00
jsg
ffd1454d32 update 2020-09-22 02:22:12 +00:00
jsg
cba20826cb Mesa 20.0 does not use per gen marshal_generated files 2020-09-22 02:16:49 +00:00
jsg
41a55d0330 Merge Mesa 20.0.8
With Mesa 20.1 even after the kernel change to do wbinvd on all cpus
sthen@ reported that hard hangs still occurred on his Haswell system
with inteldrm.

Mark Kane also reported seeing hangs on Ivy Bridge on bugs@.

Some systems/workloads seem to be more prone to triggering this than
others as I have not seen any hangs on Ivy Bridge and the only hangs
I saw on Haswell when running piglit went away with the wbinvd change.

It seems something is wrong with drm memory attributes or coherency in
the kernel and newer Mesa versions expect behaviour we don't have.
2020-09-22 02:08:55 +00:00
jsg
5bc2fd4342 Import Mesa 20.0.8 2020-09-22 01:28:34 +00:00
jsg
1c44290c8f go back to brw_eu.h rev 1.9 matching upstream 20.1 branch
haswell hangs still occurred just less frequently with the 1.10 revert of
'intel/eu: Use non-coherent mode (BTI=253) for stateless A64 messages'

The recent kernel change to do wbinvd across all cpus instead of just one
is a better approach and avoids hangs seen with piglit on haswell.
2020-09-14 07:16:06 +00:00
matthieu
fd0b27a538 Use C99 designated structure initializers.
No expected code change.
2020-09-13 10:26:31 +00:00
jsg
ccfe449828 partially revert a Mesa commit to avoid hard hangs on Haswell
intel/eu: Use non-coherent mode (BTI=253) for stateless A64 messages
d23bbc8c28b6a5cd7f4d3d03c74d8319da5d47d5 on 20.1 branch
4985e380dd776ac65c4ae5627138211f9d9f03ce on mainline

thanks to gnezdo@ sthen@ and espie@ for reports and testing
2020-09-11 15:04:43 +00:00
matthieu
d7373d1cc2 update 2020-09-11 06:29:17 +00:00
mglocker
47544e7521 Add control for backlight compensation (V4L2_CID_BACKLIGHT_COMPENSATION).
From Laurence Tratt <laurie (at) tratt (dot) net>
2020-09-07 10:35:22 +00:00
jsg
db72a90efc link with version script matching meson changes in 20.1.7 2020-09-04 11:27:58 +00:00
jsg
e8254d1b08 Avoid problems with undefined symbols on ld.bfd archs caused by order of
.a files.

problem reported by jca@ on sparc64 with ports which link libgbm
ok jca@
2020-09-03 11:29:42 +00:00
jsg
390b12b7bd correct merge errors 2020-09-03 08:36:23 +00:00
jsg
1c86a17858 Merge Mesa 20.1.7 2020-09-03 07:17:20 +00:00
jsg
7fa385c847 Import Mesa 20.1.7 2020-09-03 06:40:00 +00:00
jsg
76a0a851ab conditionally define HAVE_LD_BUILD_ID if supported 2020-09-01 12:55:14 +00:00
jsg
38d06173f5 build with NDEBUG to disable asserts
matches autotools build when --enable-debug is not specified and meson with
--buildtype=release
2020-09-01 06:54:06 +00:00
jsg
eb922cd93f get available memory when assert() is disabled via NDEBUG
problem spotted by Jason Ekstrand reviewing proposed patches upstream
2020-09-01 06:42:24 +00:00
jsg
46d4aeacf0 disable -Wmissing-prototypes via pragma for 64 bit atomics fallback
avoids error: no previous prototype for function '__sync_sub_and_fetch_8_c'
2020-08-30 04:24:10 +00:00
jsg
fa8ea72eb8 correct type for oldlenp argument to sysctl(2) for machdep.altivec 2020-08-30 04:18:02 +00:00
deraadt
ca502679c1 sync 2020-08-29 13:57:52 +00:00
mglocker
c281dda5e4 Be consistent with control value output; ':' -> '='.
From Laurence Tratt <laurie (at) tratt (dot) net>
2020-08-29 13:45:30 +00:00
deraadt
e21ed1ddb2 closer sync 2020-08-28 23:55:40 +00:00
jsg
0167b90cd0 explicitly remove *.la files from old Mesa builds
While we no longer install .la files for Mesa naddy@ pointed out that
using libtool to build something like libGLU could result in .la files
which reference old Mesa .la files.

Remove Mesa .la files found in DESTDIR on install as suggested by
millert@

ok millert@ matthieu@ deraadt@
2020-08-28 16:07:18 +00:00
deraadt
3cf044c035 mostly synced 2020-08-28 14:13:26 +00:00
jsg
bd7b25c10b remove libtxc_dxtn included in Mesa since 17.3 2020-08-28 06:28:32 +00:00
jsg
5c2fb2322a sync 2020-08-28 06:00:12 +00:00
jsg
4787ec2fce don't build libtxc_dxtn included in Mesa since 17.3 2020-08-28 05:54:00 +00:00
jsg
851807c713 build with --disable-dri3 when XENOCARA_BUILD_DRI is "no"
fixes build breakage on alpha reported by deraadt@
2020-08-28 02:20:19 +00:00
jsg
860983ef49 drop local change for 32 bit atomics via pthread locks
Mesa is no longer built on hppa or sh
2020-08-27 14:03:46 +00:00
jsg
abbb20036f build with -DMISSING_64BIT_ATOMICS on powerpc 2020-08-27 13:34:33 +00:00
jsg
af0d139433 drop local workarounds for gcc 4.2 2020-08-27 12:31:19 +00:00
jsg
3f2636fe13 build addrlib with -Wno-unused-variable matching meson build 2020-08-27 05:02:25 +00:00
jsg
9443087ef3 radv: Explicitly cast TIMESTAMP_NOT_READY value to uin32_t where needed.
From Oschowa
c310677a7563b1e2d97f8216be1d60cb21204eae in mainline mesa

reduces clang warnings
2020-08-27 04:29:06 +00:00
jsg
33e8c1dc61 aco: Use correct reference type in for-range-loop.
From Oschowa
663e8cb4e67f8b85186631c6a3719ed83da32151 in mainline mesa

reduces clang warnings
2020-08-27 04:26:48 +00:00
jsg
3d26db0194 aco: Don't std::move temporary object.
From Oschowa
7b1bc460fd6ae9bf5efeca62227bb05e0c50ee15 in mainline mesa

reduces clang warnings
2020-08-27 04:23:37 +00:00
jsg
bec5c196e7 aco: Don't declare 'Block' as class, but define as struct.
From Oschowa
536339b0dda33241d21a0e045681419ca46fc812 in mainline mesa

reduces clang warnings
2020-08-27 04:20:57 +00:00
jsg
952b4b274c radv: Don't take absolute value of unsigned type.
From Oschowa
c2a778ef0f1720f9fb28afd40a791488648218d0 in mainline mesa

reduces clang warnings
2020-08-27 04:17:01 +00:00
jsg
d9428e1972 build with -Wno-typedef-redefinition
clang with -std=c99 generates warnings on typedef redefinition
likely unnoticed upstream as gcc does not do this

excessive amounts of warnings from vulkan driver headers pointed
out by deraadt@
2020-08-27 03:18:26 +00:00
jsg
dc127cd8fa sync 2020-08-26 06:55:35 +00:00
jsg
d3580fdc06 crank glapi minor for new symbol 2020-08-26 06:54:57 +00:00
jsg
9f3ce83c68 adjust for files which are symlinks in distfile 2020-08-26 06:36:08 +00:00
jsg
7bc504799c stop building Mesa on alpha hppa and landisk
a C++11 compiler is required and these archs don't have clang

ok deraadt@
2020-08-26 06:25:26 +00:00
jsg
a00174f921 sync 2020-08-26 06:17:30 +00:00
jsg
7a38a6d3be update 2020-08-26 06:14:38 +00:00
jsg
6cd42bcb24 Merge Mesa 20.1.6 2020-08-26 06:02:31 +00:00
jsg
241b1c1308 Import Mesa 20.1.6 2020-08-26 05:26:37 +00:00
matthieu
69c74330d7 update 2020-08-25 16:04:57 +00:00
matthieu
bc29ab7850 Fix integer underflow in XRecordRegisterClients()
Reported by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.
2020-08-25 15:43:26 +00:00
matthieu
83d462e24d Fix integer underflow in XkbSelectEvents()
Reported by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.
2020-08-25 15:42:52 +00:00