Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / libdrm
Commits: fa11eb1f by Timo Aaltonen at 2025-06-25T10:16:14+03:00 patches: Drop the upstreamed fix for xf86drm. - - - - - bacbc336 by Timo Aaltonen at 2025-06-25T10:34:59+03:00 symbols: Updated. - - - - - 9a0229be by Timo Aaltonen at 2025-06-25T10:46:45+03:00 releasing package libdrm version 2.4.125-1 - - - - - 4 changed files: - debian/changelog - debian/libdrm-amdgpu1.symbols - debian/patches/series - − debian/patches/xf86drm-Handle-NULL-in-drmCopyVersion.patch Changes: ===================================== debian/changelog ===================================== @@ -1,12 +1,14 @@ -libdrm (2.4.125-1) UNRELEASED; urgency=medium +libdrm (2.4.125-1) experimental; urgency=medium [ Jianfeng Liu ] * Enable build libdrm-intel1 for loong64. (Closes: #1107223) [ Timo Aaltonen ] * New upstream release. + * patches: Drop the upstreamed fix for xf86drm. + * symbols: Updated. - -- Jianfeng Liu <[email protected]> Tue, 03 Jun 2025 17:50:57 +0800 + -- Timo Aaltonen <[email protected]> Wed, 25 Jun 2025 10:46:34 +0300 libdrm (2.4.124-2) unstable; urgency=medium ===================================== debian/libdrm-amdgpu1.symbols ===================================== @@ -15,9 +15,11 @@ libdrm_amdgpu.so.1 libdrm-amdgpu1 #MINVER# amdgpu_bo_query_info@Base 2.4.63 amdgpu_bo_set_metadata@Base 2.4.63 amdgpu_bo_va_op@Base 2.4.63 + amdgpu_bo_va_op_raw2@Base 2.4.125 amdgpu_bo_va_op_raw@Base 2.4.77 amdgpu_bo_wait_for_idle@Base 2.4.63 amdgpu_create_bo_from_user_mem@Base 2.4.63 + amdgpu_create_userqueue@Base 2.4.125 amdgpu_cs_chunk_fence_info_to_data@Base 2.4.82 amdgpu_cs_chunk_fence_to_dep@Base 2.4.82 amdgpu_cs_create_semaphore@Base 2.4.67 @@ -59,6 +61,7 @@ libdrm_amdgpu.so.1 libdrm-amdgpu1 #MINVER# amdgpu_device_initialize2@Base 2.4.121 amdgpu_device_initialize@Base 2.4.63 amdgpu_find_bo_by_cpu_mapping@Base 2.4.94 + amdgpu_free_userqueue@Base 2.4.125 amdgpu_get_marketing_name@Base 2.4.73 amdgpu_query_buffer_size_alignment@Base 2.4.63 amdgpu_query_crtc_from_id@Base 2.4.63 @@ -72,8 +75,11 @@ libdrm_amdgpu.so.1 libdrm-amdgpu1 #MINVER# amdgpu_query_info@Base 2.4.63 amdgpu_query_sensor_info@Base 2.4.80 amdgpu_query_sw_info@Base 2.4.90 + amdgpu_query_uq_fw_area_info@Base 2.4.125 amdgpu_query_video_caps_info@Base 2.4.105 amdgpu_read_mm_registers@Base 2.4.63 + amdgpu_userq_signal@Base 2.4.125 + amdgpu_userq_wait@Base 2.4.125 amdgpu_va_get_start_addr@Base 2.4.119 amdgpu_va_manager_alloc@Base 2.4.121 amdgpu_va_manager_deinit@Base 2.4.121 ===================================== debian/patches/series ===================================== @@ -1,3 +1,2 @@ 01_default_perms.diff amdgpu-add-env-support-for-amdgpu-ids.patch -xf86drm-Handle-NULL-in-drmCopyVersion.patch ===================================== debian/patches/xf86drm-Handle-NULL-in-drmCopyVersion.patch deleted ===================================== @@ -1,34 +0,0 @@ -From: Daniel van Vugt <[email protected]> -Date: Thu, 27 Mar 2025 17:41:37 +0800 -Subject: xf86drm: Handle NULL in drmCopyVersion - -Just as it is already handled in the caller, `drmGetVersion`. - -I'm not sure what the offending driver is, but the Ubuntu incidents -seem to be coming from a dual Intel/Nvidia machine. And they show -it is `card1` so I'm guessing `nvidia-drm` is the offender. - -Bug-Ubuntu: https://bugs.launchpad.net/bugs/2104352 ---- - xf86drm.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/xf86drm.c b/xf86drm.c -index 6ca5626..b5db577 100644 ---- a/xf86drm.c -+++ b/xf86drm.c -@@ -1343,11 +1343,11 @@ static void drmCopyVersion(drmVersionPtr d, const drm_version_t *s) - d->version_minor = s->version_minor; - d->version_patchlevel = s->version_patchlevel; - d->name_len = s->name_len; -- d->name = strdup(s->name); -+ d->name = s->name ? strdup(s->name) : NULL; - d->date_len = s->date_len; -- d->date = strdup(s->date); -+ d->date = s->date ? strdup(s->date) : NULL; - d->desc_len = s->desc_len; -- d->desc = strdup(s->desc); -+ d->desc = s->desc ? strdup(s->desc) : NULL; - } - - View it on GitLab: https://salsa.debian.org/xorg-team/lib/libdrm/-/compare/3e3c5f07b2a91cd3853f4ae9523c6ed98aeb663f...9a0229be3adb4637af3b6b66fa0fcf13551cd259 -- View it on GitLab: https://salsa.debian.org/xorg-team/lib/libdrm/-/compare/3e3c5f07b2a91cd3853f4ae9523c6ed98aeb663f...9a0229be3adb4637af3b6b66fa0fcf13551cd259 You're receiving this email because of your account on salsa.debian.org.

