kettenis
d5e3922245
Build radeon drivers on arm64.
...
ok jsg@, matthieu@
2018-08-27 15:04:15 +00:00
kettenis
7a6863f74a
The futex-based implementation of libxshmfence requires atomic operations
...
that hppa, m88k and sh don't provide. Since DRI3 requires libxshmfence,
this means we can't enable DRI3 on these platforms.
ok matthieu@
2018-06-28 20:11:32 +00:00
kettenis
c7bc2b344c
Enable various bits of DRI3 support.
...
ok matthieu@
2018-06-26 06:51:17 +00:00
kettenis
caa5824472
Make sure HAVE_DRI3 is defined when DRI3 support is enabled.
...
Matches what is done for Linux.
ok jsg@
2018-06-07 09:25:32 +00:00
jsg
90d807dc1b
use clock_gettime() path on PIPE_OS_BSD in os_time_get_nano()
...
committed upstream as 7bea40e56652a1ded4374d92fb340b454fbac475
clock_nanosleep() isn't available yet so the usleep() path stays for
os_time_sleep()
2018-03-02 05:25:17 +00:00
jsg
ff54d44d65
No need to override PTHREADSTUBS_CFLAGS/PTHREADSTUBS_LIBS anymore
...
as the configure scripts have been changed to avoid pthread-stubs.
2018-02-21 06:01:53 +00:00
jsg
494810fbed
Don't try to use pthread-stubs on OpenBSD.
...
A similiar change is already committed upstream.
2018-02-21 05:04:29 +00:00
jsg
1742a041f4
armv7 has builtin atomics since the switch to clang
2018-02-04 00:36:24 +00:00
jsg
bc2a4df05f
fix some files cvs got wrong when checking out 13.0.6
2018-01-08 06:41:59 +00:00
jsg
646d14d2d3
Revert to Mesa 13.0.6 again.
...
Corruption has again been reported on Intel hardware running Xorg with
the modesetting driver (which uses OpenGL based acceleration instead of
SNA acceleration the intel driver defaults to).
Reported in various forms on Sandy Bridge (X220), Ivy Bridge (X230) and
Haswell (X240). Confirmed to not occur with the intel driver but the
xserver was changed to default to the modesetting driver on >= gen4
hardware (except Ironlake).
One means of triggering this is to open a large pdf with xpdf on an
idle machine and highlight a section of the document.
There have been reports of gpu hangs on gen4 intel hardware
(T500 with GM45, X61 with 965GM) when starting Xorg as well.
2018-01-08 05:41:20 +00:00
jsg
702572c995
Merge Mesa 17.2.8
2017-12-31 07:12:12 +00:00
jsg
cc122a5e9b
Import Mesa 17.2.8
2017-12-31 06:17:38 +00:00
matthieu
4b98ce0cc0
Remove all references to libpthread-stubs from xenocara.
...
"looks sane" guenther@.
2017-10-23 16:50:28 +00:00
jsg
ad2ad70ae1
Revert to Mesa 13.0.6 to hopefully address rendering issues a handful of
...
people have reported with xpdf/fvwm on ivy bridge with modesetting driver.
2017-08-26 16:59:17 +00:00
jsg
754e2ec1d4
Make disabling regenerating source files provided in Mesa distfiles that
...
require python/bison a configure flag instead of the previous way of
testing whether python was found (which shouldn't be the case in
xenocara even with ports packages installed).
This is required when timestamps change on files causing targets to be
invoked that will break if python and bison aren't available and found
in path by the configure script.
2017-08-26 05:58:10 +00:00
jsg
c97e30df70
regen
2017-08-14 11:21:30 +00:00
jsg
46c4fa732b
cope with cvs import changing timestamps which caused make rules that
...
invoke python to attempt to run and fail
2017-08-14 11:17:43 +00:00
jsg
36c1bd020e
Merge Mesa 17.1.6
2017-08-14 09:57:57 +00:00
jsg
6526d3319e
Import Mesa 17.1.6
2017-08-14 09:30:06 +00:00
espie
564a026ce3
add a real dependency on the shadow tree, removes the need to run
...
make depend
okay matthieu@
(I added a comment explaining why this comes after bsd.xorg.mk)
2017-07-02 09:52:23 +00:00
visa
55a8e552e5
Make X work with radeondrm(4) hardware on loongson.
...
OK jsg@
2017-05-21 13:18:29 +00:00
jsg
fa6c210034
Merge Mesa 13.0.6
2017-03-25 00:29:27 +00:00
jsg
480cde335b
Import Mesa 13.0.6
2017-03-25 00:05:01 +00:00
jsg
f9668bb900
Merge Mesa 13.0.5
2017-02-26 12:28:55 +00:00
jsg
ba80afc3a0
Import Mesa 13.0.5
2017-02-26 12:06:04 +00:00
stsp
cd197cfa4b
Disable the shader cache in Mesa on powerpc. Its implementation uses gcc
...
atomic builtins on a 64 bit integer which is not supported on 32 bit powerpc.
Makes 3D work again on a PowerBook G4 with an ATI RV350 video card.
tweak and ok jsg@
2017-01-21 11:23:09 +00:00
jsg
97409b6e84
Merge Mesa 13.0.3
2017-01-19 05:53:24 +00:00
jsg
6d4ad6fa4b
Import Mesa 13.0.3
2017-01-19 05:38:52 +00:00
jsg
c503a0e73b
Use the unlocked atomic path in Mesa when just __arm__ is defined and
...
don't assume the builtin atomics are present with __ARM_ARCH_6__ and later
as base gcc with -march=armv6 doesn't have them.
2016-12-31 08:21:39 +00:00
jsg
54858cb19b
disable additional rules to regen sources when xxd is not found
...
Found the hard way by Mark Patruck and naddy. Didn't encounter it here
with a post import build for reasons unknown.
2016-12-11 16:03:25 +00:00
jsg
2047dff595
disable additional rules to regen sources when python is not found
...
After a cvs import timestamps change which triggers rules that attempt
to call python to regenerate files. When python is not found this
generates empty files that override those from the distfile, breaking
the build.
When building inside xenocara python is never found as the pkg paths
are not searched.
2016-12-11 10:03:01 +00:00
jsg
e2d9807505
Merge Mesa 13.0.2
2016-12-11 08:53:19 +00:00
jsg
a53e30e01d
Import Mesa 13.0.2
2016-12-11 08:25:29 +00:00
jsg
46fe26bc0b
binutils on powerpc now ignores --gc-sections. Remove the local patch
...
to avoid using it on powerpc from Mesa.
Tested by matthieu@ on macppc.
2016-10-23 06:16:03 +00:00
matthieu
fd18c20e72
regen
2016-10-11 22:14:30 +00:00
matthieu
c9d0110642
Force AM_MAINTAINER_MODE in all Xenocara packages built by autotools
...
This prevents autotools to try to rebuild themselve automagically
if configure.ac, Makefile.am or a few other have more recent time
stamps than the generated files.
It will allows to get rid of the NO_REORDER mechanism that touches
files in the source tree to ensure nothing gets rebuilt.
2016-10-11 21:54:35 +00:00
kettenis
4159a76ad9
Disable the code that allocates W|X memory. There is fallback code that
...
gets used if allocating W|X memory fails, which is probably a bit slower.
However, that is much better than commit a W^X violation which currently
gets you killed.
ok jca@
2016-07-25 20:12:06 +00:00
jsg
363dd58b73
Merge Mesa 11.2.2
2016-05-29 10:40:19 +00:00
jsg
f8d9379ca7
Import Mesa 11.2.2
2016-05-29 10:11:54 +00:00
kettenis
3c6443a9bb
Make sure we authenticate before calling loader_get_driver_for_fd(). This
...
function invokes some drm ioctls that require the client to be authenticated.
tested by espie@
ok jsg@
2016-04-20 12:23:56 +00:00
jsg
d29159d31f
test some more __ARM_ARCH_* builtin defines
2016-03-18 14:38:03 +00:00
jsg
dfa30dc686
Back out rev 1.3 and use __sync builtins on alpha. gcc no longer
...
triggers an ICE with p_atomic_cmpxchg/__sync_val_compare_and_swap.
Tested by matthieu.
2016-02-28 04:44:02 +00:00
matthieu
688f9b80ed
On alpha with -O2 gcc gets an ICE on 2 files.
...
With help of jsg@
2016-02-20 10:49:47 +00:00
matthieu
ea648fa9c3
alpha lacks p_atomic_cmpxchg() switch to non atomic ops
2016-02-20 10:48:24 +00:00
jsg
ff4b8fa034
Don't depend on indirect inclusion to pick up endian.h and define
...
BYTE_ORDER. Tested by and ok visa@ mpi@
2016-02-19 04:57:02 +00:00
jsg
347afd8071
Disable another make rule requiring python that could trigger if the
...
timestamps are wrong. We always want to use the generated sources
provided with Mesa releases. Encountered by tobias.
2016-02-18 13:57:22 +00:00
jsg
9eeb07a50d
Merge Mesa 11.0.9
2016-01-24 01:21:23 +00:00
jsg
f83fcc6f8e
Import Mesa 11.0.9
2016-01-24 00:59:28 +00:00
jsg
8d4acd4c62
Disable reading of drirc files by default so chromium processes
...
with OpenGL contexts can drop the ability to read files.
Diff from robert@ with a comment added.
ok robert@ deraadt@
2016-01-07 23:41:25 +00:00
jsg
a06be69de2
Merge Mesa 11.0.8
2015-12-23 13:43:05 +00:00