Package: libdrm / 2.4.125-1

Metadata

Package Version Patches format
libdrm 2.4.125-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_default_perms.diff | (download)

xf86drm.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 change default device permission to 666

Patch libdrm to default to device permission 666 so we don't have to do
it in xorg.conf. The only way libdrm can do anything is through the
server anyway. This can still be overridden by a user's xorg.conf.


amdgpu add env support for amdgpu ids.patch | (download)

README.rst | 9 9 + 0 - 0 !
amdgpu/amdgpu_asic_id.c | 14 10 + 4 - 0 !
2 files changed, 19 insertions(+), 4 deletions(-)

 [patch] amdgpu: add env support for amdgpu.ids path

In some cases, like when building a Snap application that uses
libdrm, the `amdgpu.ids` file isn't directly available at the
compiling place, but inside a mounted folder. This forces each
application to link/bind the file from the current place
(usually at the $SNAP/gnome-platform/usr/share/libdrm/amdgpu.ids)
which is cumbersome.

This patch allows to set an environment variable, called
AMDGPU_ASIC_ID_TABLE_PATH, where the file will be also searched
if it isn't located in the default, meson-configured, path.