Commit Graph

50 Commits

Author SHA1 Message Date
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
oga
c976b8a8ee Add support to the fake (non GEM) bufmgr for pinning and unpinning objects.
Makes overlay XV work with intel 2.7.1. ok matthieu@, tested by naddy@,
sturm@, matthieu@ and myself. This is most important for the x40 and
other 8xx chipset which lack textured video.
2009-06-21 17:39:53 +00:00
oga
54ef134d1f update libdrm to 2.4.9 (actually to -current, but the only real changes
are to some assertions and a small change to modesetting code).

bump libdrm_intel minor due to added symbols, libdrm doesn't get bumped,
no change to symbol list.

ok matthieu@.
2009-05-03 19:43:26 +00:00
oga
43a3b634c7 Update libdrm to 2.4.3
This is needed for us to be able to update Mesa and xf86-video-intel.
Includes a few fixes, as well as the intel bufmgr interface and the
modesetting interface (which currently errors when you check if it's
enabled).

ok matthieu@
2009-01-26 23:14:37 +00:00
oga
cc283d3c86 De-autoconf libdrm.
Now that xenocara has been made clean with respect to using kernel headers
instead of those provided with libdrm, remove the copy of the headers included
here. Since it is now very simple, move it over to using standard bsd makefiles
instead of autoconf.

ok matthieu@
2009-01-10 16:29:26 +00:00
oga
5c3f5f1a24 update libdrm to 2.3.1 preserving local changes. This was tested by
several before lock.

ok matthieu.
2008-08-26 16:36:24 +00:00
oga
4b526e486b change /dev/dri/card0 to /dev/drm0. Subdirs in /dev considered
irritating.
2008-06-12 22:20:24 +00:00
oga
e21a353dbc Enable privsep support. Finally!
ok matthieu@.
2008-06-12 18:52:07 +00:00
matthieu
7830df18ed Regen with autoconf 2.59-p2, with AM_SANITY check zapped. 2008-03-15 18:08:24 +00:00
matthieu
e3881499cc - remove stuff that we don't want from drmOpenDevice()
- prepare for privilege separation support.
ok oga@.
2008-02-12 21:27:14 +00:00
matthieu
8370179c25 regen 2007-07-29 10:50:16 +00:00
matthieu
930101c636 regen with libtool 1.5.22p10 and metaauto 0.7 2007-04-14 20:44:09 +00:00
matthieu
00a847b3f8 regen with libtool 1.5.22p9 2007-03-25 13:02:54 +00:00
matthieu
6637a9a36e regen with automake 1.9.6p2 2007-03-18 22:29:12 +00:00
matthieu
5954aa6578 regen 2007-03-15 23:28:08 +00:00
matthieu
854f5def06 Bump major of shared libs that depend on libX11 (which already got bumped).
ok todd@
2007-03-15 23:00:47 +00:00
matthieu
4254976840 correct SHARED_LIB 2007-01-01 10:34:17 +00:00
matthieu
17c4db3eeb add build infrastructure. 2007-01-01 10:33:12 +00:00
matthieu
1e64eadd3c Import libdrm 2.3.0 2007-01-01 10:30:41 +00:00