diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2025-01-08 09:42:14 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-14 13:03:38 +0000 |
| commit | e59da05be4365c4922e880e07a81549927cd92be (patch) | |
| tree | 53604599bd79b606a6b307a8f9d320ddd86a27d4 /meta/recipes-graphics/igt-gpu-tools | |
| parent | 47d5dcef909dba98a8c9548495d8d83e44b9839b (diff) | |
| download | poky-e59da05be4365c4922e880e07a81549927cd92be.tar.gz | |
procps: update 4.0.4 -> 4.0.5
Drop pidfd.patch (upstream significantly refactored the code; the patch can be tested
only with very old kernels; upstream submission has not been followed up since initial
MR creation).
Add a patch to igt-gpu-tools to address a build failure with the new procps.
(From OE-Core rev: ba492417cf8712ca8009154cfadeb494c1a6064f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/igt-gpu-tools')
| -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_1.30.bb | 4 |
2 files changed, 33 insertions, 1 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 new file mode 100644 index 0000000000..7db773fe0d --- /dev/null +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-igt_aux.c-address-procps-4.0.5-compatibility.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 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_1.30.bb index a302e1877f..dad752cb19 100644 --- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.30.bb +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.30.bb | |||
| @@ -11,7 +11,9 @@ inherit meson pkgconfig | |||
| 11 | 11 | ||
| 12 | SRCREV = "edf352a96646c8d793f0c1eb11795112f9bde725" | 12 | SRCREV = "edf352a96646c8d793f0c1eb11795112f9bde725" |
| 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 \ |
| 15 | file://0001-lib-igt_aux.c-address-procps-4.0.5-compatibility.patch \ | ||
| 16 | " | ||
| 15 | 17 | ||
| 16 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
| 17 | 19 | ||
