Commit Graph

124 Commits

Author SHA1 Message Date
jsg
e07bf2bdea Merge libdrm 2.4.120 2024-01-30 06:16:37 +00:00
jsg
8e87338e43 Import libdrm 2.4.120 2024-01-30 06:12:01 +00:00
matthieu
508791166c fix drmGetMinorNameForFD(). tweaks and ok jsg@.
For the gpu n, the main device node is /dev/dri/card<n> and the
render device node is /dev/dri/renderD<n+drmGetMinorBase()> not
/dev/dri/renderD<n>
and miod@ checked that no port should be affected.
2023-07-06 07:21:30 +00:00
jsg
43a50021dc Merge libdrm 2.4.115 2023-02-27 12:46:20 +00:00
jsg
2c1d40de3f Import libdrm 2.4.115 2023-02-27 12:42:10 +00:00
jsg
ca1477e751 Merge libdrm 2.4.114 2022-11-14 08:46:46 +00:00
jsg
109ec17852 Import libdrm 2.4.114 2022-11-14 08:39:43 +00:00
jsg
c65268ffd6 Merge libdrm 2.4.111 2022-06-06 12:18:02 +00:00
jsg
2da519d378 Import libdrm 2.4.111 2022-06-06 12:13:53 +00:00
jsg
b5f18b0c78 Merge libdrm 2.4.110 2022-04-29 10:16:20 +00:00
jsg
1763426953 Import libdrm 2.4.110 2022-04-29 10:11:42 +00:00
jsg
e693ff30c3 add a file to avoid build time python dep 2021-07-05 11:14:00 +00:00
jsg
5e55e4068d Merge libdrm 2.4.107 2021-07-05 11:10:00 +00:00
jsg
6af6d1f007 Import libdrm 2.4.107 2021-07-05 11:04:36 +00:00
jsg
9d1e1e287e change from /dev/drm to /dev/dri/ in xenocara
ok matthieu@ kettenis@
2021-02-20 05:47:46 +00:00
matthieu
7eceefd6cb fix amdgpu.ids path to point to installed version. ok jsg@ 2021-02-19 12:29:37 +00:00
jsg
e137cd2bc8 only install libdrm_intel pkgconfig file when building libdrm_intel 2021-02-12 01:16:05 +00:00
jsg
5f4d90797d fix merge error 2021-02-11 11:35:30 +00:00
jsg
e42bb0784d add Makefiles to replace upstream use of meson 2021-02-11 10:34:51 +00:00
jsg
ba34e3e0fe Merge libdrm 2.4.104 2021-02-11 10:27:07 +00:00
jsg
fc979f465f Import libdrm 2.4.104 2021-02-11 10:16:31 +00:00
jsg
25e3cc13e7 nouveau: fix compile error with -DDEBUG on newer gcc
From Karol Herbst
5ec177b398d6d305f273329c8228ea870e180d6d in libdrm git

fixes clang 11 build
mortimer@ had almost the same diff
2021-01-18 01:39:33 +00:00
jsg
94e5bba011 Merge libdrm 2.4.100 2019-11-27 02:17:47 +00:00
jsg
a628e08ec1 Import libdrm 2.4.100 2019-11-27 02:09:48 +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
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
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
bffde83e78 intel: sync i915_pciids.h with kernel
From Rodrigo Vivi
70a1ae89be6b9f9a535f1fbaff3e4b1c4bb46d4a in libdrm git
2019-02-18 06:13:47 +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
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
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