Commit Graph

87 Commits

Author SHA1 Message Date
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
jsg
32150df089 Merge libdrm 2.4.89 2018-02-17 02:31:15 +00:00
jsg
0d2d0904cd Import libdrm 2.4.89 2018-02-17 02:24:37 +00:00
matthieu
4b98ce0cc0 Remove all references to libpthread-stubs from xenocara.
"looks sane" guenther@.
2017-10-23 16:50:28 +00:00
jsg
e188ddf96e Merge libdrm 2.4.82 2017-08-05 14:21:16 +00:00
jsg
fb01c3ceed Import libdrm 2.4.82 2017-08-05 14:15:15 +00:00
jsg
a632c2fb0a Merge libdrm 2.4.79 2017-04-14 07:52:10 +00:00
jsg
02337797c5 Import libdrm 2.4.79 2017-04-14 07:45:34 +00:00
jsg
6f7c809ebb Merge libdrm 2.4.75 2017-02-05 05:46:41 +00:00
jsg
ae9658c5c0 Import libdrm 2.4.75 2017-02-05 05:38:00 +00:00
jsg
e6d0e0383c Drop the local diff to avoid calling drm set/drop master ioctls,
the kernel implements these as noops now.
2016-12-02 05:41:52 +00:00
jsg
339adf1110 Implement an OpenBSD specific codepath for drmGetDevice
The existing code walks all of /dev looking for different types of drm
nodes.  We just have primary nodes and can directly map the minor number
to a path.

ok kettenis@
2016-11-25 23:58:13 +00:00
jsg
06724bcd2a Implement drmParsePciBusInfo for OpenBSD by using the new
DRM_IOCTL_GET_PCIINFO ioctl.

ok kettenis@
2016-11-25 23:52:06 +00:00
jsg
68ce36bfe8 Implement drmParsePciDeviceInfo for OpenBSD by using the new
DRM_IOCTL_GET_PCIINFO ioctl.

ok kettenis@
2016-11-25 23:48:50 +00:00
jsg
ed28609b08 Implement drmParseSubsystemType for OpenBSD.
Always return DRM_BUS_PCI for now.  No non-pci drm drivers are in the
kernel and this is unlikely to change anytime soon as the existing ones
aren't permissively licensed.

ok kettenis@
2016-11-25 23:44:40 +00:00
jsg
038e48492e Implement drmGetMinorNameForFD for systems without sysfs by adapting
drm_get_device_name_for_fd() from the Mesa loader.

ok kettenis@
2016-11-25 23:41:29 +00:00
jsg
b2fcf88635 Merge libdrm 2.4.73 2016-11-19 05:45:00 +00:00
jsg
90bdad6ae7 Import libdrm 2.4.73 2016-11-19 05:36:14 +00:00
jsg
512a658c47 Merge libdrm 2.4.71 2016-10-16 06:11:11 +00:00
jsg
d855f0143e Import libdrm 2.4.71 2016-10-16 06:01:17 +00:00
matthieu
fd18c20e72 regen 2016-10-11 22:14:30 +00:00
jsg
92b7ec9f80 Merge libdrm 2.4.67 2016-03-20 10:41:29 +00:00
jsg
b8626cd659 Import libdrm 2.4.67 2016-03-20 10:19:44 +00:00
jsg
8f9a563a62 Merge libdrm 2.4.65 2015-12-27 09:16:53 +00:00
jsg
0733b38856 Import libdrm 2.4.65 2015-12-27 08:58:00 +00:00
jsg
a74e8629b1 regen 2015-08-28 14:25:40 +00:00
jsg
06524d56f2 The libdrm autoconf test for atomics uses __sync_val_compare_and_swap with
the address of a function argument which triggers a gcc ICE on sparc64
resulting in libdrm_radeon not being built as reported by naddy.

kettenis pointed out that while other architectures probably spill the
argument onto the stack this is likely not the case on register window
architectures like SPARC and suggested passing a pointer as an argument
instead which avoids the ICE and allows the drm libraries requiring
atomics to build on sparc64 again.

ok kettenis@ matthieu@
2015-08-28 14:25:03 +00:00
jsg
b7e5d17b94 regen 2015-08-22 00:36:45 +00:00
jsg
d4c79ffe1f Merge libdrm 2.4.64. This changes the build to using the upstream
auto* build system and installing/using a libdrm specific set of drm
headers.  Thanks to Emil Velikov for removing the GNU makeisms
upstream.
2015-08-22 00:30:35 +00:00
jsg
9c6fecc40b Import libdrm 2.4.64 2015-08-21 23:55:36 +00:00
jsg
4cadc17f75 update to libdrm 2.4.62 2015-07-15 23:19:17 +00:00
jsg
766592491f update to libdrm 2.4.60 2015-03-26 06:00:06 +00:00
jsg
9bd5aba6bb update to libdrm 2.4.59 2015-02-07 01:34:35 +00:00
jsg
4d28f01d0c update to libdrm 2.4.56 2014-08-14 04:00:28 +00:00
jsg
7eba4784b6 Mesa git no longer includes Intel AUB definitions,
instead it uses the libdrm definitions.

Install the AUB header so this will work.
2014-07-19 17:06:47 +00:00
jsg
7391d4da2b update to libdrm 2.4.54
ok matthieu@
2014-05-13 05:44:06 +00:00
jsg
41460e9da0 update to libdrm 2.4.53
For us the only code change is some new radeon_drm.h defines
as the xf86drmMode.c change is ifdef __FreeBSD__.
2014-04-11 06:15:17 +00:00
jsg
fd836bcc99 update to libdrm 2.4.52
ok matthieu@
2014-03-15 05:05:55 +00:00
jsg
dbee37c000 Update libdrm to 2.4.51.
ok mpi@ kettenis@
2014-01-18 08:29:32 +00:00
kettenis
2748158d08 update to libdrm 2.4.47
ok mpi@, jsg@
2013-11-21 13:30:07 +00:00
guenther
b5bb12998e Bump the major on every single base library. There are a couple
not bumped by this that will be corrected soon.

heavy lifting by todd@
2013-08-13 07:07:07 +00:00
jsg
1c76814ee6 build libdrm_radeon on sparc64
ok kettenis@
2013-08-08 10:52:48 +00:00
jsg
b9bc50b107 update to libdrm 2.4.46
ok mpi@ kettenis@
2013-07-08 09:10:05 +00:00
jsg
2a3f70cf52 remove another local change that we don't need after
the gem ioctl changes kettenis made.
ok kettenis@
2013-07-01 13:12:52 +00:00
jsg
a530660a32 update to libdrm 2.4.45
ok kettenis@ mpi@, tested by ajacoutot@
2013-06-20 09:55:30 +00:00
kettenis
980735ac71 Adjust for the changes in our implementation of the DRM_I915_GEM_MMAP and
DRM_I915_GEM_MMAP_GGT ioctls, effectively reverting a local change we made.
2013-06-07 20:48:17 +00:00
kettenis
93897d45ea Fix DRM_RADEON_GEM_WAIT_IDLE ioctl usage; it is defined using DRM_IOW, so
drmCommandWrite() must be used to issue it.  Already merged upstream.

ok jsg@
2013-06-06 20:05:00 +00:00
jsg
803a3541c6 install radeon_surface.h as well 2013-05-19 14:09:56 +00:00
jsg
9c6730d784 compile intel_decode.c as well as newer mesa needs drm_intel_decode*
ok mpi@
2013-03-25 14:01:33 +00:00