package/igt-gpu-tools: bump version to 2.6
PATCH 1/1 package/igt-gpu-tools: bump version to 2.6
https://lists.x.org/archives/xorg-announce/2026-September/003745.html
Removed patches which are included in this release.
Added patch 0001 to fix musl build error which would be introduced by this bump:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/commit/d4fa11371a9bb8a0bc73aa205033ea13143d843c
Musl build error was reported upstream:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/work_items/211
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/1f52de066abd1e0e232c8b42266d476381a72b05
with the exception of an unrelated build error at bootlin-xtensa-uclibc/build/elfutils-0.195/.stamp_configured
...b-igt_platform_filter-Fix-musl-build.patch | 83 +++++++++++++++++++ ...frequency-include-limits.h-to-fix-mu.patch | 36 -------- ...advise-Fix-the-type-for-sighandler_t.patch | 46 ---------- package/igt-gpu-tools/igt-gpu-tools.hash | 6 +- package/igt-gpu-tools/igt-gpu-tools.mk | 2 +- 5 files changed, 87 insertions(+), 86 deletions(-) create mode 100644 package/igt-gpu-tools/0001-lib-igt_platform_filter-Fix-musl-build.patch delete mode 100644 package/igt-gpu-tools/0001-tools-intel_gpu_frequency-include-limits.h-to-fix-mu.patch delete mode 100644 package/igt-gpu-tools/0002-tests-intel-xe_madvise-Fix-the-type-for-sighandler_t.patch
package/igt-gpu-tools/0001-lib-igt_platform_filter-Fix-musl-build.patch new file +83 -0
@@ -0,0 +1,83 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Kamil Konieczny <[email protected]> +Date: Thu, 8 Oct 2026 13:14:35 +0200 +Subject: [PATCH] lib/igt_platform_filter: Fix musl build +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +When using musl C libs, stdout/stderr are read-only vars and +compilation reports errors, for example: + +../lib/igt_platform_filter.c: In function ‘igt_platform_filter_dump_to_file’: +../lib/igt_platform_filter.c:551:16: error: assignment of read-only variable ‘stdout’ + 551 | stdout = f; + +Also man stdout points out: +Since the symbols stdin, stdout, and stderr are specified to be +macros, assigning to them is nonportable. + +As this function do not have any user, just remove it. + +Cc: Vitaly Prosyak <[email protected]> +Cc: Jesse Zhang <[email protected]> +Reported-by: Bernd Kuhls <[email protected]> +Closes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/work_items/211 +Signed-off-by: Kamil Konieczny <[email protected]> +Reviewed-by: Vitaly Prosyak <[email protected]> +Reviewed-by: Andrzej Hajda <[email protected]> + +Upstream: https://patchwork.freedesktop.org/patch/758622/?series=175702&rev=2 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + lib/igt_platform_filter.c | 33 --------------------------------- + 1 file changed, 33 deletions(-) + +diff --git a/lib/igt_platform_filter.c b/lib/igt_platform_filter.c +index 15b4e9690..9ccc0eadc 100644 +--- a/lib/igt_platform_filter.c ++++ b/lib/igt_platform_filter.c +@@ -527,39 +527,6 @@ void igt_platform_filter_dump(void) + igt_info("═══════════════════════════════════════════════════════════════════\n\n"); + } + +-/** +- * igt_platform_filter_dump_to_file: +- * @filename: Path to output file +- * +- * Dump platform filtering configuration to a file. +- * +- * Returns: 0 on success, -1 on error +- */ +-int igt_platform_filter_dump_to_file(const char *filename) +-{ +- FILE *old_stdout; +- FILE *f; +- +- f = fopen(filename, "w"); +- if (!f) { +- igt_warn("Failed to open %s for writing\n", filename); +- return -1; +- } +- +- /* Redirect stdout to file */ +- old_stdout = stdout; +- stdout = f; +- +- igt_platform_filter_dump(); +- +- /* Restore stdout */ +- stdout = old_stdout; +- fclose(f); +- +- igt_info("Platform filter configuration dumped to: %s\n", filename); +- return 0; +-} +- + /** + * igt_platform_filter_is_initialized: + * +-- +2.47.3 +
package/igt-gpu-tools/0001-tools-intel_gpu_frequency-include-limits.h-to-fix-mu.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From 48a177958a9ecff8f7cee379affb2f35984b58a9 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls <[email protected]> -Date: Fri, 10 Jul 2026 20:34:01 +0200 -Subject: [PATCH] tools/intel_gpu_frequency: include limits.h to fix musl build -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fixes build error seen with musl-based toolchains: - -../tools/intel_gpu_frequency.c:90:19: error: - ‘PATH_MAX’ undeclared (first use in this function) - 90 | char path[PATH_MAX]; - -Upstream: https://patchwork.freedesktop.org/patch/739159/?series=170207&rev=1 - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - tools/intel_gpu_frequency.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tools/intel_gpu_frequency.c b/tools/intel_gpu_frequency.c -index 6316c2e58..7df7f331d 100644 ---- a/tools/intel_gpu_frequency.c -+++ b/tools/intel_gpu_frequency.c -@@ -25,6 +25,7 @@ - #include <dirent.h> - #include <fcntl.h> - #include <getopt.h> -+#include <limits.h> - #include <stdio.h> - #include <time.h> - #include <unistd.h> --- -2.47.3 -
package/igt-gpu-tools/0002-tests-intel-xe_madvise-Fix-the-type-for-sighandler_t.patch deleted +0 -46
46 lines not on this page · raw message
package/igt-gpu-tools/igt-gpu-tools.hash +3 -3
@@ -1,6 +1,6 @@ -# From https://lists.x.org/archives/xorg-announce/2026-June/003710.html -sha256 bf5ee5cc1e2b92c456d626b7986be9e2d18b4765cd06c28c1ab449200c1ce5e2 igt-gpu-tools-2.5.tar.xz -sha512 0da8f56a76bb79186da95545be63b8fa82c93edfe9b5fe6ffe43017deb792601545bba292c516b525e1e29087e9b048751df4875d8a7a64e265bac943bf6be81 igt-gpu-tools-2.5.tar.xz +# From https://lists.x.org/archives/xorg-announce/2026-September/003745.html +sha256 5d5190debfec0ee1728430897f243d0afa271856c2cb5834a23b23f08be8d06e igt-gpu-tools-2.6.tar.xz +sha512 7b06f2aa9c1e4cc87092625d9b8eae946dcb7ac4b0a77534d4f49a880a071fba85fdb9e519e6a9d3cedeeb5181c8d6051a9a3ecd27c7b667d389008752102fe2 igt-gpu-tools-2.6.tar.xz # Hash for license file: sha256 1b7e266857b05808660f42369a4a797459d7b7bec7245e378aa28a8db2f213da COPYING
package/igt-gpu-tools/igt-gpu-tools.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -IGT_GPU_TOOLS_VERSION = 2.5 +IGT_GPU_TOOLS_VERSION = 2.6 IGT_GPU_TOOLS_SOURCE = igt-gpu-tools-$(IGT_GPU_TOOLS_VERSION).tar.xz IGT_GPU_TOOLS_SITE = https://www.x.org/releases/individual/app IGT_GPU_TOOLS_LICENSE = MIT
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 4 lines · Bernd Kuhls
https://lists.x.org/archives/xorg-announce/2026-September/003745.html
Removed patches which are included in this release.
Quoted 8 lines
Added patch 0001 to fix musl build error which would be introduced by this bump:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/commit/d4fa11371a9bb8a0bc73aa205033ea13143d843cMusl build error was reported upstream:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/work_items/211Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot