Commit Graph

1198 Commits

Author SHA1 Message Date
aoyama
8a3654518e Fix gcc3 specific error. The diff is based on latest upstream change.
suggested by jsg@, tested on luna88k by me, ok by jsg@ and matthieu@
2019-09-05 14:03:08 +00:00
jsg
86f7c2fd52 enable radeonsi and llvm on arm64
ok kettenis@ patrick@
2019-08-28 08:01:48 +00:00
jsg
cddeeb9fb6 intel: Add support for Comet Lake
From Anuj Phogat
82f6a746e8b47fb6e3f96d7f5f69973f50eec9ca in mesa master
2019-08-24 02:12:17 +00:00
matthieu
056243b384 regen after xtrans 1.4.0 update. 2019-08-04 13:47:51 +00:00
matthieu
14a4895e45 missed README -> README.md conversion in previous 2019-08-04 13:44:46 +00:00
matthieu
9563e10e76 Update to libXft 2.3.3 2019-08-04 13:36:02 +00:00
matthieu
c6568d8569 update to libICE 1.0.10 2019-08-04 13:35:29 +00:00
matthieu
a400859a9c Update to libX11 1.6.8 riding the major bump caused by xtrans 1.4.0 2019-08-04 13:34:52 +00:00
matthieu
85da565ec0 Update to libxtrans 1.4.0. Major bumps for libX11 and libICE.
no objections from naddy@, espie@ and ajacoutot@
2019-08-04 13:33:46 +00:00
matthieu
2e1879725f Update to libXdmcp 1.1.3 2019-08-04 13:25:20 +00:00
jsg
ff40cb71bf Merge Mesa 19.0.8 2019-07-01 08:36:47 +00:00
jsg
b1b22c2ae6 Import Mesa 19.0.8 2019-07-01 07:44:02 +00:00
matthieu
6a36a3a556 Update to libXext 1.3.4. ok tb@ 2019-06-19 19:33:29 +00:00
matthieu
8876a43d15 Update to libXdamage 1.1.5. ok tb@ 2019-06-19 19:31:20 +00:00
matthieu
d2d55c6823 Update to libXcursor 1.2.0. ok tb@ 2019-06-19 19:30:32 +00:00
matthieu
73fcd8c46e Update to libXcomposite 0.4.5. ok tb@ 2019-06-19 19:29:23 +00:00
matthieu
a2a1215acc Disable font server client code. ok mortimer@ 2019-06-19 19:26:36 +00:00
jsg
bf1979f816 Build Mesa intel and radeon vulkan drivers and amd64 and i386
The intel driver can be used with inteldrm on ivy bridge or newer.
The radeon driver only works with amdgpu not radeondrm.

As we can't use python in xenocara add phony targets to create the
same output as python scripts which create json files for the loader.

This is just the ICDs, to use vulkan the loader and additional ports
are required.

ok mpi@ on an earlier version.  Changed to call shm_unlink()
directly after shm_mkstemp() as suggested by kettenis@
2019-05-27 07:20:30 +00:00
jsg
6cb8ade4e6 Call shm_unlink() directly after shm_mkstemp() rather than just before
close().  Closer to memfd_create() behaviour.
2019-05-27 04:19:00 +00:00
jsg
1c9ad5794c Merge Mesa 19.0.5 2019-05-23 05:33:19 +00:00
jsg
1dab445d3b Import Mesa 19.0.5 2019-05-23 04:22:53 +00:00
jsg
6f352abb9a open correct render node in libdrm
drm render nodes have the same major as drm primary devices but offset
the minor by a base of 128.

I expected the name of the device to have numbering starting at 0 when
these non-linux codepaths were added (before we had render nodes).
2019-05-12 14:56:24 +00:00
matthieu
a07b39c9fd Remove libFS. Unlinked from the build 2 weeks ago. 2019-05-11 07:55:04 +00:00
matthieu
fdbb7d40d8 Update to pixman 0.38.4. ok jca@ naddy@ 2019-05-11 07:46:06 +00:00
schwarze
042aae5043 Install more manual pages:
* XKB-Config(7), XKB-Enhancing(7): user-level documentation
for XKB configuration; not perfect, but the best available.
* xtrans(3): a library actively maintained upstream.
* libXmu and libXext: Many libraries are effectively frozen upstream.
According to matthieu@, the documentation of libXmu and libXext
is among the most valuable of those.
Feedback and OK matthieu@.
2019-05-10 11:44:39 +00:00
schwarze
e618151be9 put fonts.7 and drm*.3 into the install sets;
patch from Nathanael Rensen <nathanael at list dot polymorpheus dot com>,
minimally tweaked by me;
OK matthieu@
2019-05-05 23:27:58 +00:00
schwarze
05166be26d simplify Makefiles for use with docbook2mdoc-1.1.0
and regen for improved formatting:
correct linebreaks in literal displays; and new sentence, new line
2019-05-02 19:12:04 +00:00
jsg
36eaba8cd8 /dev/dri/card0 -> /dev/drm0 2019-04-29 04:30:15 +00:00
schwarze
720bb93c2f install libdrm manual pages; feedback and OK jsg@ matthieu@ 2019-04-28 20:47:20 +00:00
matthieu
36d243d83d Unlink unused libFS from the build.
ok jca@
2019-04-26 09:51:57 +00:00
jsg
a8a2dab4a3 Merge libdrm 2.4.98 2019-04-26 07:45:37 +00:00
jsg
a72cc7c7c5 Import libdrm 2.4.98 2019-04-26 07:31:34 +00:00
jsg
be0e9688f3 test for render nodes before primary nodes
Unlike linux our primary "drm" device name is substring of the "drmR"
render node device name and strncmp() tests resulted in render nodes
being flagged as primary nodes.
2019-03-22 11:41:33 +00:00
jsg
702ae9a55e Merge Mesa 18.3.5 2019-03-19 10:59:02 +00:00
jsg
34c49fbb2f Import Mesa 18.3.5 2019-03-19 09:37:42 +00:00
deraadt
2987dd6f92 hppa feels happier with this at low optimization also 2019-03-13 01:20:50 +00:00
jsg
c1c03dc65d Build Mesa with LLVM support on amd64 and i386 now that libelf and
shared libLLVM are in base.  And now we can finally build the radeonsi
Mesa driver adding accelerated support for radeon parts based on the
Graphics Core Next (GCN) architecture which is everything since
GFX6 / Southern Islands.

This can later be expanded to other architectures which build libLLVM
and have clang as the default compiler (to handle LLVM's c++11 headers).
2019-03-06 10:39:52 +00:00
matthieu
df25bf4b30 Update to libfontenc 1.1.4. ok jca@ 2019-03-02 21:13:28 +00:00
matthieu
f02f1f9802 Update to libXau 1.0.9. ok jsg@ 2019-02-21 19:38:46 +00:00
jsg
fa5b0e3e48 remove -fno-tree-pre from CFLAGS on sparc64
This was an attempt to limit the memory usage at build time which is
no longer required after the datasize values in login.conf were raised.
2019-02-19 05:57:17 +00:00
jsg
b9f320ec11 Merge Mesa 18.3.4 2019-02-19 04:24:00 +00:00
jsg
ae7ee1376e Import Mesa 18.3.4 2019-02-19 03:25:14 +00:00
jsg
bffde83e78 intel: sync i915_pciids.h with kernel
From Rodrigo Vivi
70a1ae89be6b9f9a535f1fbaff3e4b1c4bb46d4a in libdrm git
2019-02-18 06:13:47 +00:00
deraadt
e4decd20d6 landisk requires -O0 'cause mesa is a pig. 2019-02-07 18:34:52 +00:00
jsg
338bc0a2b5 Merge Mesa 18.3.2 2019-01-29 11:52:04 +00:00
jsg
fecc0d4060 Import Mesa 18.3.2 2019-01-29 10:45:31 +00:00
matthieu
4f46a0d795 Update to libpixman 0.36.0 2019-01-18 14:34:01 +00:00
matthieu
d7845c3e27 Remove libXxf86misc. Unlinked from build for 6 months. 2018-11-25 19:35:00 +00:00
matthieu
be3e8f71c9 Remove libXfontcache. Unlinked from build for 6 months. 2018-11-25 19:34:21 +00:00
jsg
65cc648a0e Make similiar changes to the i386 tsd dispatch assembly as libglvnd to
avoid a text relocation fixing the build with lld.

This time store the address of the GOT in ebx as required before calling
the PLT stub and change .balign value to match X86_ENTRY_SIZE as suggested
by naddy.

ok naddy@
2018-11-11 04:15:19 +00:00
jsg
f88a7e92a2 Backout i386 tsd dispatch changes. While they worked for
glxinfo/glxgears it broke SDL2 GL which dlopens libGL.
2018-11-10 08:11:16 +00:00
jsg
41f63e84e3 Merge libdrm 2.4.96 2018-11-01 08:29:47 +00:00
jsg
384954210f Import libdrm 2.4.96 2018-11-01 08:22:36 +00:00
jsg
f19a6c0440 Make similiar changes to the i386 tsd dispatch assembly as libglvnd to
avoid a text relocation fixing the build with lld.

ok kettenis@ naddy@
2018-10-31 23:26:16 +00:00
jsg
af38fe66ed regen 2018-10-29 11:38:31 +00:00
jsg
5f17afeed5 Don't attempt to rebuild spirv_info.c if timestamp on source files
changed as python won't be in path.

someone in this situation mentioned it to landry@
2018-10-29 11:35:23 +00:00
jsg
19f2c52c66 Merge Mesa 17.3.9
Mesa 18.x needs an ld with build-id for at least the intel code
Mesa 18.2 assumes linux only memfd syscalls in intel code

Tested by matthieu@, kettenis@ and myself on a variety of hardware and
architectures. ok kettenis@
2018-10-23 06:35:32 +00:00
jsg
587354b697 Import Mesa 17.3.9 2018-10-23 05:40:45 +00:00
matthieu
5c831511f8 Update to libSM 1.2.3 2018-10-20 19:25:32 +00:00
matthieu
7070f339ed Update to libX11 1.6.7 2018-10-20 19:23:25 +00:00
matthieu
71dca55fd9 Update to libxcb 1.13.1, a small bug fix release.
ok naddy@
2018-10-04 20:17:48 +00:00
jsg
d4accf8419 Merge libdrm 2.4.94 2018-09-13 12:02:27 +00:00
jsg
a81d3f52ae Import libdrm 2.4.94 2018-09-13 11:55:15 +00:00
matthieu
bba3e9eeb5 Update to libxcb 1.13. ok tb@ 2018-09-11 19:34:56 +00:00
kettenis
d5e3922245 Build radeon drivers on arm64.
ok jsg@, matthieu@
2018-08-27 15:04:15 +00:00
matthieu
b39f51f9a1 Udate to libX11 1.6.6. bug fixes release - no API/ABI changes. 2018-08-23 19:38:11 +00:00
matthieu
857c4a5264 libXpresent depends on libXrandr. Noticed by naddy@. Thanks 2018-08-06 15:09:42 +00:00
matthieu
8f7485cfef Link libXpresent to the build. 2018-08-05 12:20:17 +00:00
matthieu
6075741e3c regen 2018-08-05 12:10:01 +00:00
matthieu
97a2cbad8d add BSD build infrastructure 2018-08-05 12:06:41 +00:00
matthieu
d92eed431d Import libXpresent version 1.0.0 2018-08-05 12:04:39 +00:00
matthieu
3d6a226675 Typo. Reported by feinerer@. Thanks. 2018-07-19 12:45:31 +00:00
matthieu
437b06c43f Document the use of this Makefile with x11/py-xcbgen.
(not part of standard xenocara builds)
2018-07-19 11:52:37 +00:00
matthieu
8f9a6b1d79 Update to libXinerama 1.1.4 2018-07-12 15:16:03 +00:00
matthieu
da360a65cc Update to libXScrnSaver 1.2.3 2018-07-12 15:10:28 +00:00
kettenis
323f3c34c5 Use __MAP_NOFAULT such that a client cannot use ftruncate and make the
X server crash.

ok deraadt@, matthieu@
2018-07-11 06:59:03 +00:00
matthieu
06061c495d white space 2018-07-08 17:45:38 +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
191958dfc8 Make sure we create shared memory files in /tmp such that programs can use
the "tmppath" pledge to allow creation of shared memory fences.

ok matthieu@
2018-06-09 11:44:13 +00:00
kettenis
3a5dfaa265 Add OpenBSD support using process-global futexes.
ok matthieu@
2018-06-08 13:16:24 +00:00
matthieu
d9fb28853a add BSD build infrastructure 2018-06-07 22:05:13 +00:00
matthieu
b1a440ca66 Import libxshmfence 1.4 2018-06-07 21:57:28 +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
matthieu
3b5f1cf2f4 Use -mxgot to build libepoxy on mips64 and mips64el.
ok visa@ who reported that mips64 is affected too.
2018-05-26 08:52:16 +00:00
matthieu
864ae5542e Remind people to bump dependent libs majors too. 2018-05-26 07:51:37 +00:00
matthieu
766a354a9d Bump majors after libfreetype major bump 2018-05-26 07:51:00 +00:00
matthieu
9d6c736422 Update to libepoxy 1.5.2. ok aja@ 2018-05-25 06:24:59 +00:00
matthieu
337449ed83 Update to libdmx 1.1.4 2018-05-21 20:06:55 +00:00
matthieu
4defdf0a2a Update to libpciaccess 0.14 2018-05-21 20:02:28 +00:00
dcoppa
5d55788f87 Update to freetype-doc-2.9.1 2018-05-21 14:24:32 +00:00
dcoppa
1f0d8a70a0 Backout local change, not needed anymore
Suggested by matthieu@
2018-05-21 11:56:16 +00:00
dcoppa
c1147192df Update to FreeType 2.9.1
OK matthieu@
2018-05-21 11:52:24 +00:00
matthieu
049ea173f0 Unlink fontcache and xf86misc libs and protos from the build.
They are both unsupported on the server side for many years.
ok tb@
2018-05-20 09:40:53 +00:00
matthieu
c4e3a279a9 Remove libXfont. unlinked from builds since one month. 2018-05-01 14:09:05 +00:00
matthieu
ec1ab865de Unhook libXfont from the build. Obsoleted by libXfont2.
Bulk ports build checked by naddy@. Thanks.
2018-04-02 17:06:02 +00:00
matthieu
891ed56e15 Explicitely initialize memory allocated when cur_count==0.
Caused uninitilized memory reads and corruption  with some
fonts (ja-sazanami-ttf).
Issue reported and diagnosticed by Bryan Linton bl at shoshoni dot info.
Thanks.
2018-03-12 18:49:08 +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
4a71c37370 Correct a pointless longstanding difference in ioctl numbering between
linux and add back struct members.

Avoids diffs in inteldrm, libdrm and Mesa >= 17.2.

ok kettenis@
2018-02-28 00:45:06 +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