Commit Graph

68 Commits

Author SHA1 Message Date
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
jsg
aa892af5b9 update to libdrm 2.4.42
tested by matthieu@ krw@ mpi@ shadchin@ and ajacoutot@
ok mpi@
2013-03-25 02:32:20 +00:00
jsg
2a45c0933f Enable more libdrm functions. Determine if modesetting is supported
based on a modesetting ioctl that checks the DRIVER_MODESET flag on
the kernel side instead of the sysfs approach linux takes.

ok mpi@
2013-01-09 10:47:08 +00:00
matthieu
a9777fc130 Don't build profiled versions of libdrm_intel and libdrm_radeon. 2012-11-28 21:13:16 +00:00
mpi
4769f6e518 Correct include path, our drm headers live in /usr/include/dev/pci/drm 2012-11-28 13:56:29 +00:00
mpi
ad95eb8c9f Update to libdrm 2.4.31 and add the non-yet-linked libkms, prodded by jsg@
Tested by jsg@, ajacoutot@, shadchin@ and matthieu@, ok matthieu@
2012-11-27 14:37:08 +00:00
mpi
6749d5bda0 Build libdrm_radeon on macppc too, required for upcoming drm(4) support.
ok matthieu@
2012-08-29 12:51:04 +00:00
oga
269078d2e1 Add libdrm_radeon
needed for the r600 dri driver. Tested by myself and matthieu.
2011-05-02 21:52:34 +00:00
oga
4aab434bf2 Update libdrm_intel to that contained in libdrm 2.4.24. Needed for
updates to the ddx and to stop mesa 7.9.2 crashing very fast.

ok matthieu@
2011-05-01 15:48:20 +00:00
matthieu
cc84c83945 Do not remove(3) the device entry if open fails. ok oga@ 2010-12-22 21:34:51 +00:00
oga
e4c82170c3 Support the apis for getting vblank events from the drm fd. (only vblank
events for now, pageflip events require kms and thus have not yet been
added).

Bumps libdrm minor version.
2010-07-18 21:02:35 +00:00
oga
a40ba34bb5 Add drm_intel_bo_is_reusable(), to check if a buffer object will be put
in the userland BO cache or not. Bump minor.

From Chris Wilson in upstream git. ok matthieu@
2010-05-15 15:51:05 +00:00
matthieu
d9a92f27a6 use INSTALL_DATA in BSD Makefiles. ok oga@ 2010-05-08 14:15:29 +00:00
oga
73527bc941 *sigh* ioctls do not copyout when they return an error. DRM developers
need to learn this.

When set_tiling fails, keep tiling type at the type we already had, do
NOT use the parameters that we passed to the ioctl.

Noticed when i botched a kernel diff (locally) so that that ioctl failed
more often.

ok matthieu@
2010-04-25 14:35:49 +00:00
oga
d0eeea4b45 don't allocate an array of pointers to structs when you want an array of
structs. Fixes cases where you need a lot of relocs so you overflow the
array.

Commited upstream about ten minutes ago. ok matthieu@
2010-04-11 18:04:04 +00:00
oga
c7b8df8024 update libdrm to 2.4.15.
This diff seems larger than it is since upstream reindented some
sources.  This updates libdrm_intel to -current (which only affect the
GEM code) and libdrm to 2.4.15.  bumping both minor versions.

Discussed with matthieu@
2010-03-31 06:31:45 +00:00
oga
dc5950e7a9 typo in the !privsep path, from David Coppa (dcoppa at mail dot com);
thanks.

ok matthieu@
2009-12-09 16:57:37 +00:00
oga
b29bbd29c1 Some improvements from upstream for the GEM buffer object cache to stop the
cache growing stupidly big (like it used to).

ok matthieu@ ages ago.
2009-11-22 20:16:03 +00:00
oga
6e3e5abe72 Fix libdrm for the buffer mapping strategy our GEM implementation will use
We always map through the gtt, never using the cpu mapping (this decreases
complexity a lot). Keep use of the original ioctl for this. Also don't bother
with userland domain setting, the kernel handles this correctly.

Finally, don't persist mapping across calls to unmap and remapping, this aids
with debugging, but may change later.

ok matthieu@.
2009-07-18 14:54:42 +00:00
matthieu
9e42493983 Use the bsd.xorg.mk rules to install the pkgconfig file and
add the libdrm_intel.pc. with oga@.
2009-06-27 10:02:53 +00:00