Commit Graph

46 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
32150df089 Merge libdrm 2.4.89 2018-02-17 02:31:15 +00:00
jsg
e188ddf96e Merge libdrm 2.4.82 2017-08-05 14:21:16 +00:00
jsg
a632c2fb0a Merge libdrm 2.4.79 2017-04-14 07:52:10 +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
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
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
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
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
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
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
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
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
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
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