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
-
bacbc336
by Timo Aaltonen at 2025-06-25T10:34:59+03:00
-
9a0229be
by Timo Aaltonen at 2025-06-25T10:46:45+03:00
4 changed files:
- debian/changelog
- debian/libdrm-amdgpu1.symbols
- debian/patches/series
- − debian/patches/xf86drm-Handle-NULL-in-drmCopyVersion.patch
Changes:
1 | -libdrm (2.4.125-1) UNRELEASED; urgency=medium
|
|
1 | +libdrm (2.4.125-1) experimental; urgency=medium
|
|
2 | 2 | |
3 | 3 | [ Jianfeng Liu ]
|
4 | 4 | * Enable build libdrm-intel1 for loong64. (Closes: #1107223)
|
5 | 5 | |
6 | 6 | [ Timo Aaltonen ]
|
7 | 7 | * New upstream release.
|
8 | + * patches: Drop the upstreamed fix for xf86drm.
|
|
9 | + * symbols: Updated.
|
|
8 | 10 | |
9 | - -- Jianfeng Liu <liujianfeng1994@gmail.com> Tue, 03 Jun 2025 17:50:57 +0800
|
|
11 | + -- Timo Aaltonen <tjaalton@debian.org> Wed, 25 Jun 2025 10:46:34 +0300
|
|
10 | 12 | |
11 | 13 | libdrm (2.4.124-2) unstable; urgency=medium
|
12 | 14 |
... | ... | @@ -15,9 +15,11 @@ libdrm_amdgpu.so.1 libdrm-amdgpu1 #MINVER# |
15 | 15 | amdgpu_bo_query_info@Base 2.4.63
|
16 | 16 | amdgpu_bo_set_metadata@Base 2.4.63
|
17 | 17 | amdgpu_bo_va_op@Base 2.4.63
|
18 | + amdgpu_bo_va_op_raw2@Base 2.4.125
|
|
18 | 19 | amdgpu_bo_va_op_raw@Base 2.4.77
|
19 | 20 | amdgpu_bo_wait_for_idle@Base 2.4.63
|
20 | 21 | amdgpu_create_bo_from_user_mem@Base 2.4.63
|
22 | + amdgpu_create_userqueue@Base 2.4.125
|
|
21 | 23 | amdgpu_cs_chunk_fence_info_to_data@Base 2.4.82
|
22 | 24 | amdgpu_cs_chunk_fence_to_dep@Base 2.4.82
|
23 | 25 | amdgpu_cs_create_semaphore@Base 2.4.67
|
... | ... | @@ -59,6 +61,7 @@ libdrm_amdgpu.so.1 libdrm-amdgpu1 #MINVER# |
59 | 61 | amdgpu_device_initialize2@Base 2.4.121
|
60 | 62 | amdgpu_device_initialize@Base 2.4.63
|
61 | 63 | amdgpu_find_bo_by_cpu_mapping@Base 2.4.94
|
64 | + amdgpu_free_userqueue@Base 2.4.125
|
|
62 | 65 | amdgpu_get_marketing_name@Base 2.4.73
|
63 | 66 | amdgpu_query_buffer_size_alignment@Base 2.4.63
|
64 | 67 | amdgpu_query_crtc_from_id@Base 2.4.63
|
... | ... | @@ -72,8 +75,11 @@ libdrm_amdgpu.so.1 libdrm-amdgpu1 #MINVER# |
72 | 75 | amdgpu_query_info@Base 2.4.63
|
73 | 76 | amdgpu_query_sensor_info@Base 2.4.80
|
74 | 77 | amdgpu_query_sw_info@Base 2.4.90
|
78 | + amdgpu_query_uq_fw_area_info@Base 2.4.125
|
|
75 | 79 | amdgpu_query_video_caps_info@Base 2.4.105
|
76 | 80 | amdgpu_read_mm_registers@Base 2.4.63
|
81 | + amdgpu_userq_signal@Base 2.4.125
|
|
82 | + amdgpu_userq_wait@Base 2.4.125
|
|
77 | 83 | amdgpu_va_get_start_addr@Base 2.4.119
|
78 | 84 | amdgpu_va_manager_alloc@Base 2.4.121
|
79 | 85 | amdgpu_va_manager_deinit@Base 2.4.121
|
1 | 1 | 01_default_perms.diff
|
2 | 2 | amdgpu-add-env-support-for-amdgpu-ids.patch |
3 | -xf86drm-Handle-NULL-in-drmCopyVersion.patch |
1 | -From: Daniel van Vugt <daniel.van.vugt@canonical.com>
|
|
2 | -Date: Thu, 27 Mar 2025 17:41:37 +0800
|
|
3 | -Subject: xf86drm: Handle NULL in drmCopyVersion
|
|
4 | - |
|
5 | -Just as it is already handled in the caller, `drmGetVersion`.
|
|
6 | - |
|
7 | -I'm not sure what the offending driver is, but the Ubuntu incidents
|
|
8 | -seem to be coming from a dual Intel/Nvidia machine. And they show
|
|
9 | -it is `card1` so I'm guessing `nvidia-drm` is the offender.
|
|
10 | - |
|
11 | -Bug-Ubuntu: https://bugs.launchpad.net/bugs/2104352
|
|
12 | ----
|
|
13 | - xf86drm.c | 6 +++---
|
|
14 | - 1 file changed, 3 insertions(+), 3 deletions(-)
|
|
15 | - |
|
16 | -diff --git a/xf86drm.c b/xf86drm.c
|
|
17 | -index 6ca5626..b5db577 100644
|
|
18 | ---- a/xf86drm.c
|
|
19 | -+++ b/xf86drm.c
|
|
20 | -@@ -1343,11 +1343,11 @@ static void drmCopyVersion(drmVersionPtr d, const drm_version_t *s)
|
|
21 | - d->version_minor = s->version_minor;
|
|
22 | - d->version_patchlevel = s->version_patchlevel;
|
|
23 | - d->name_len = s->name_len;
|
|
24 | -- d->name = strdup(s->name);
|
|
25 | -+ d->name = s->name ? strdup(s->name) : NULL;
|
|
26 | - d->date_len = s->date_len;
|
|
27 | -- d->date = strdup(s->date);
|
|
28 | -+ d->date = s->date ? strdup(s->date) : NULL;
|
|
29 | - d->desc_len = s->desc_len;
|
|
30 | -- d->desc = strdup(s->desc);
|
|
31 | -+ d->desc = s->desc ? strdup(s->desc) : NULL;
|
|
32 | - }
|
|
33 | -
|
|
34 | - |