Commit Graph

44 Commits

Author SHA1 Message Date
jsg
587354b697 Import Mesa 17.3.9 2018-10-23 05:40:45 +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
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
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
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
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
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
matthieu
fd18c20e72 regen 2016-10-11 22:14:30 +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
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
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
jsg
9efbf61fd8 Import Mesa 11.0.8
This seems to fix some of the problems with clutter/gnome reported to
occur on r600 with 11.0.6
2015-12-23 13:18:51 +00:00
jsg
987bf76a95 regen 2015-11-22 07:14:29 +00:00
jsg
a8524181dd Disable the bison/lex/python rules to regenerate sources that were
included in the tarball.

cvs import seems to have changed timestamps of files which caused
these rules to trigger and the build to fail.
2015-11-22 06:57:53 +00:00
jsg
61bd9e6bfc provide an unlocked atomic fallback path
sparc < v9, hppa, sh, arm < v6 don't provide these builtins
and we don't have kernel assistance to fake them currently.
2015-11-22 03:08:22 +00:00
jsg
4f35c98dd8 don't install /etc/drirc it's just a bunch of workarounds for closed
linux programs
2015-11-22 03:05:02 +00:00
jsg
0ecb55906d don't try to symlink files that don't exist 2015-11-22 03:01:23 +00:00
jsg
0cd8e2ac98 dlopen libGL.so not libGL.so.1 2015-11-22 02:58:43 +00:00
jsg
1fe54f218f import Mesa 11.0.6 2015-11-22 02:36:47 +00:00