diff options
-rw-r--r-- | meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-igt_aux.c-address-procps-4.0.5-compatibility.patch | 30 | ||||
-rw-r--r-- | meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_2.1.bb (renamed from meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.30.bb) | 5 |
2 files changed, 2 insertions, 33 deletions
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-igt_aux.c-address-procps-4.0.5-compatibility.patch b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-igt_aux.c-address-procps-4.0.5-compatibility.patch deleted file mode 100644 index 7db773fe0d..0000000000 --- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-igt_aux.c-address-procps-4.0.5-compatibility.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 173cdf607bf39c13eb4d4b0dadcb9dc6add76014 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Tue, 7 Jan 2025 09:54:07 +0100 | ||
4 | Subject: [PATCH] lib/igt_aux.c: address procps 4.0.5 compatibility | ||
5 | |||
6 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/164] | ||
7 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
8 | --- | ||
9 | lib/igt_aux.c | 8 ++++---- | ||
10 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
11 | |||
12 | diff --git a/lib/igt_aux.c b/lib/igt_aux.c | ||
13 | index 3407cc4f2..7028d3f57 100644 | ||
14 | --- a/lib/igt_aux.c | ||
15 | +++ b/lib/igt_aux.c | ||
16 | @@ -1358,10 +1358,10 @@ static bool get_process_ids(struct igt_process *prcs) | ||
17 | prcs->comm = NULL; | ||
18 | prcs->stack = procps_pids_get(prcs->info, PIDS_FETCH_TASKS_ONLY); | ||
19 | if (prcs->stack) { | ||
20 | - prcs->tid = PIDS_VAL(EU_PID, s_int, prcs->stack, prcs->info); | ||
21 | - prcs->euid = PIDS_VAL(EU_EUID, s_int, prcs->stack, prcs->info); | ||
22 | - prcs->egid = PIDS_VAL(EU_EGID, s_int, prcs->stack, prcs->info); | ||
23 | - prcs->comm = PIDS_VAL(EU_CMD, str, prcs->stack, prcs->info); | ||
24 | + prcs->tid = PIDS_VAL(EU_PID, s_int, prcs->stack); | ||
25 | + prcs->euid = PIDS_VAL(EU_EUID, s_int, prcs->stack); | ||
26 | + prcs->egid = PIDS_VAL(EU_EGID, s_int, prcs->stack); | ||
27 | + prcs->comm = PIDS_VAL(EU_CMD, str, prcs->stack); | ||
28 | } | ||
29 | #endif | ||
30 | return prcs->tid != 0; | ||
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.30.bb b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_2.1.bb index 1eae416c01..96f3530436 100644 --- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.30.bb +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_2.1.bb | |||
@@ -9,10 +9,9 @@ LICENSE = "MIT" | |||
9 | 9 | ||
10 | inherit meson pkgconfig | 10 | inherit meson pkgconfig |
11 | 11 | ||
12 | SRCREV = "edf352a96646c8d793f0c1eb11795112f9bde725" | 12 | SRCREV = "4871829d8b7117553eb2dc1bdb9a0d18de428a98" |
13 | 13 | ||
14 | SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https;branch=master \ | 14 | SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https;branch=master;tag=v${PV} \ |
15 | file://0001-lib-igt_aux.c-address-procps-4.0.5-compatibility.patch \ | ||
16 | " | 15 | " |
17 | 16 | ||
18 | DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod openssl elfutils alsa-lib json-c bison-native" | 17 | DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod openssl elfutils alsa-lib json-c bison-native" |