Commit Graph
24 Commits
Author SHA1 Message Date
Daniel Golle be93cc553b libdrm: depend on video-support for the DRM nodes
/dev/dri/card* is 0600 root:root unless video-support is installed to
allocate the video group and ship the hotplug rule that puts the nodes
into it, so anything talking to DRM needs that package present.

libdrm is where that is worth saying once. The dependency is a plain
one, and package-metadata.pl re-emits a selected package's own
conditions onto whatever selects it, so every consumer inherits the
requirement and none of them has to repeat it. That reaches the mesa
providers here and, through them, the video feed.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-09-29 18:14:57 +01:00
Alexandru Ardelean 82ab16b882 libdrm: skip the generic version check for the whole package
libdrm-tests ships DRM tools (modetest, proptest, ...) with no --version flag,
so the generic probe aborts with "No executables in the package provided
version" and fails CI. test-version.sh is shared by every subpackage built from
this directory and a non-zero exit fails it, so it must accept the whole family
(the libraries ship no executables either) -- hence libdrm*, not just libdrm-tests.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-07-08 18:18:48 +03:00
Daniel Golle 727190b849 libdrm: package test programs
Package the libdrm test programs which are useful when debugging
video output issues: drmdevice, modetest, modeprint, proptest, vbltest

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-06-02 00:33:55 +01:00
Daniel Golle cd8f538795 libdrm: update to 2.4.133
Bump from 2.4.123 to current upstream stable. Required by recent
Mesa, weston, wlroots and other graphics-stack consumers
(wlroots 0.20+ explicitly requires libdrm >= 2.4.129).

Link: https://dri.freedesktop.org/libdrm/
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-09 14:24:55 +03:00
Daniel Golle 56a2f619d6 libdrm: fix architecture dependencies of sub-packages
drm_intel should depend on i386||i686 (x86 doesn't exist).
drm_etnaviv is available on RISC-V as well.

Fixes: e092819cd ("libdrm: split into sub-packages")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-04 20:55:26 +00:00
Daniel Golle 3f35e9c065 libdrm: split into sub-packages
Instead of build-time configuration just build sub-packages, so
users can select what ever is needed on their hardware and we also
won't need to set the package non-shared.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-11-29 01:18:17 +00:00
Daniel Golle b5f4681fb0 libdrm: update to 2.4.123
Changes since 2.4.120:
ad750dc6 amdgpu: add marketing names from Adrenalin 23.11.1
64144740 amdgpu: add marketing names from PRO Edition for W7700
fb13af43 amdgpu: add marketing names from Windows Steam Deck OLED APU driver
dfb8111e amdgpu: add marketing names from amd-6.0
9d9498f4 amdgpu: add marketing name for Radeon RX 6550M
14094328 amdgpu: add marketing names from amd-6.0.1
7ab1cdac xf86drm: ignore symlinks in process_device()
1aa800d4 Revert "xf86drm: ignore symlinks in process_device()"
7c5c742d xf86drm: Don't consider node names longer than the maximum allowed
01f91aa7 meson: make build system happy by replacing deprecated feature
1b4e04ba tests/util: add tidss driver
c8f327ce amdgpu: Make amdgpu_device_deinitialize thread-safe
43768487 amdgpu: add amdgpu_va_manager
96fe43a0 amdgpu: expose amdgpu_va_manager publicly
6978f999 amdgpu: add amdgpu_va_range_alloc2
7275ef8e amdgpu: add amdgpu_device_initialize2
525e8044 symbols-check: Add _GLOBAL_OFFSET_TABLE_
c45ffb1e symbols-check: Add _fbss, _fdata, _ftext
c7c3c14b amdgpu: fix deinit logic
fbb83f74 meson: Replace usages of deprecated ExternalProgram.path()
764ed8b9 meson: Fix broken str.format usage
5a9cfb3c ci: build with meson --fatal-meson-warnings
f94a79a7 ci: use "meson setup" sub-command
1179edb4 include poll.h instead of sys/poll.h
362b5b0a xf86drm: document drmDevicesEqual()
4df91735 amdgpu: Make amdgpu_cs_signal_semaphore() thread-safe
058a04de tests/amdgpu: fix compile warning with the guard enum value
cee441f3 tests/amdgpu: fix compile error with gcc7.5
37265ab0 tests/amdgpu: fix compile error with gcc14
93d037cd amdgpu: sync amdgpu_drm.h
70c4f836 Bump version to 2.4.121
7f20912b Remove libm in libdrm dependencies
0cd18d0d OpenBSD: fix FTBS on misspelled and missing variables
90c1a35f fix FTBS on FreeBSD (or non-Linux in general)
b7338fc8 freedreno: fix FTBS on non-Linux platforms (unused header)
589f8e86 etnaviv: fix FTBS on undefined linux/* headers on non-Linux platforms.
d096affb ci: upgrade debian container to bookworm
a97bd7b4 ci: upgrade FreeBSD VM to 14.1
998d2a2e Sync headers with drm-next
ad78bb59 build: bump version to 2.4.122
b065dbc5 Fix FTBS on undefined clock_gettime() and asprintf()
5e1e7c4d amdgpu: add new marketing names
11cafdd8 amdgpu: add new marketing names
21ac1816 Convert to Android.bp
aefb5fa9 Delete all Makefile.sources files
aef24b66 readdir_r is deprecated.
c2b5759a Android.bp: Add include exports for android dir
6aa6411c Make libdrm recovery_available
dcb14fe0 Makes libdrm available on host
460f7907 Export include dirs with -isystem
f22956a4 Adds libdrm_headers
d9043a25 add crosvm to com.android.virt
4bd09d78 Enable GPU in crosvm
b0815faa libs: Tie DSO minor versions to libdrm version
88db6114 tests: Make modetest and proptest cc_binary in Android.bp
f3f56f41 Disable ioctl signed overload for Bionic libc
25dec5b9 build: bump version to 2.4.123

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-11-12 17:33:52 +00:00
krant 1de03eb259 libdrm: update to 2.4.120
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-04-10 16:15:51 -07:00
Lucian Cristian b658a0e605 libdrm: update to 2.4.115
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-02-24 16:08:15 -08:00
Rosen Penev 5542f91918 libdrm: update to 2.4.114
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-05 17:59:06 -07:00
Rosen Penev df5d7245b9 treewide: remove PKG_INSTALL for meson projects
It doesn't seem to be used by meson.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-15 18:07:46 -07:00
Rosen Penev 00af0fa946 libdrm: fix bad formats for mips64 and ppc64
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-31 10:25:32 -08:00
Daniel Golle 45951a9fc8 libdrm: update to version 2.4.107
Change to select features by default.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-07 00:20:31 +01:00
Rosen Penev 649ec6cc1b libdrm: update to 2.4.107
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-25 02:48:31 -07:00
Rosen Penev 5ccd4d1c25 treewide: compile with tools/meson
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-17 22:06:52 -07:00
Bernd Kuhls 240af18f30 libdrm: add option to build the nouveau and radeon driver
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
2021-03-01 07:04:01 +01:00
Bernd Kuhls cb8c0ba6c0 libdrm: install all headers
include/libdrm/drm.h and others headers are needed to build libva.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
2021-02-27 19:37:57 +01:00
Bernd Kuhls d216b47dbf libdrm: add option to build the intel driver
libpciaccess is not needed for libdrm itself, only the intel driver
depends on it:
https://cgit.freedesktop.org/mesa/drm/tree/meson.build#n240

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
2021-02-27 15:45:34 +01:00
Bernd Kuhls 6d8426b4d5 libdrm: update to 2.4.104
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
2021-02-27 08:53:20 +01:00
Rosen Penev d027d641a8 libdrm: update to 2.4.102
Cleaned up Install sections for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-03 14:06:08 -07:00
Rosen Penev 2914adcf5d libdrm: update to 2.4.101
Converted to meson for faster compilation.

Cleaned up Makefile slightly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-18 00:32:39 -07:00
Lucian Cristian 291dfc8f16 libdrm: update and put me as a maintainer
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-04-14 22:28:01 +03:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Mirko Vogt 303febb30b package libdrm 2016-08-29 20:14:10 +02:00