From: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
To: <igt-dev@lists.freedesktop.org>
Cc: <kamil.konieczny@linux.intel.com>, <krzysztof.karas@intel.com>,
"Sebastian Brzezinka" <sebastian.brzezinka@intel.com>
Subject: [PATCH v3 i-g-t 0/4] meson/tools: split lightweight igt core and reduce tool dependencies
Date: Thu, 19 Feb 2026 15:14:49 +0100 [thread overview]
Message-ID: <cover.1771510028.git.sebastian.brzezinka@intel.com> (raw)
This patch series continues the effort to reduce unnecessary build-time
and runtime dependencies in IGT tools by clearly separating a lightweight
core subset from the full IGT library and by making tool dependencies
explicit in Meson.
The primary motivation is to allow simple utilities (such as lsgpu) to
build and run without pulling in heavyweight graphical dependencies
(Cairo, Pixman, X11, etc.), while improving maintainability and clarity
of the Meson build files.
v2 -> v3:
- add libpci to lsgpu
Sebastian Brzezinka (4):
tools/meson: make per-tool dependencies instead of using global deps
lib/igt_tools_stub: Add igt_load_igtrc() stub implementation
lib/meson: build core sources as per-file static libs with minimal
deps
tools/lsgpu: drop cairo and switch to igt_core
lib/igt_tools_stub.c | 43 +++++++++++++++
lib/meson.build | 42 +++++++++++++++
tools/lsgpu.c | 3 +-
tools/meson.build | 121 ++++++++++++++++++++-----------------------
4 files changed, 143 insertions(+), 66 deletions(-)
--
2.52.0
next reply other threads:[~2026-02-19 14:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-19 14:14 Sebastian Brzezinka [this message]
2026-02-19 14:14 ` [PATCH v3 i-g-t 1/4] tools/meson: make per-tool dependencies instead of using global deps Sebastian Brzezinka
2026-02-24 11:19 ` Krzysztof Karas
2026-02-26 16:30 ` Kamil Konieczny
2026-02-27 9:53 ` Sebastian Brzezinka
2026-02-19 14:14 ` [PATCH v3 i-g-t 2/4] lib/igt_tools_stub: Add igt_load_igtrc() stub implementation Sebastian Brzezinka
2026-02-24 11:21 ` Krzysztof Karas
2026-02-19 14:14 ` [PATCH v3 i-g-t 3/4] lib/meson: build core sources as per-file static libs with minimal deps Sebastian Brzezinka
2026-02-19 14:14 ` [PATCH v3 i-g-t 4/4] tools/lsgpu: drop cairo and switch to igt_core Sebastian Brzezinka
2026-02-24 11:22 ` Krzysztof Karas
2026-02-19 17:20 ` ✓ Xe.CI.BAT: success for meson/tools: split lightweight igt core and reduce tool dependencies (rev4) Patchwork
2026-02-19 17:27 ` ✓ i915.CI.BAT: " Patchwork
2026-02-19 19:22 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-02-23 12:38 ` Sebastian Brzezinka
2026-02-19 22:32 ` ✗ i915.CI.Full: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1771510028.git.sebastian.brzezinka@intel.com \
--to=sebastian.brzezinka@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=krzysztof.karas@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox