From: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>,
Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Cc: <igt-dev@lists.freedesktop.org>, <krzysztof.karas@intel.com>,
<krzysztof.niemiec@intel.com>,
Mark Yacoub <markyacoub@google.com>,
"Ashutosh Dixit" <ashutosh.dixit@intel.com>
Subject: Re: [PATCH i-g-t v3 30/31] lib/igt_core: move igt_load_igtrc to igt_device_scan
Date: Mon, 20 Jul 2026 13:30:04 +0200 [thread overview]
Message-ID: <DK3D4887RI7E.HX0EF2D4CLAO@intel.com> (raw)
In-Reply-To: <20260716140853.66ulgagvtzvp5mkh@kamilkon-DESK.igk.intel.com>
Hi Kamil,
On Thu Jul 16, 2026 at 4:08 PM CEST, Kamil Konieczny wrote:
> Hi Sebastian,
> On 2026-07-15 at 14:15:40 +0200, Sebastian Brzezinka wrote:
>> igt_load_igtrc() is used exclusively by igt_device_scan internals to read
>> per-device configuration from the igtrc file. Moving it from igt_core.c
>> to igt_device_scan.c co-locates the function with its primary user and
>> makes it possible for lsgpu to link against lib_igt_device_scan without
>> needing the rest of libigt.
>>
>> Update the declaration accordingly: remove from igt_core.h and add to
>> igt_device_scan.h where the implementation now lives.
>>
>> Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
>> Acked-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
>> ---
>> lib/igt_core.c | 47 ------------------------------------------
>> lib/igt_core.h | 2 --
>> lib/igt_device_scan.c | 48 +++++++++++++++++++++++++++++++++++++++++++
>> lib/igt_device_scan.h | 2 ++
>> runner/executor.c | 1 +
>
> If this is used by igt_runner, maybe more proper solution
> would be to move it to separate lib/igt_igtrc.[c|h]?
Somehow, I don't like the idea of a file that holds a single function.
--
Best regards,
Sebastian
next prev parent reply other threads:[~2026-07-20 11:29 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 12:15 [PATCH i-g-t v3 00/31] tools: remove unnecessary shared library dependencies from standalone tools Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 01/31] lib/igt_tools_stub: introduce static sub-library for tools Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 02/31] lib/igt_stats: " Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 03/31] tools/igt_stats: link with minimal sub-libraries Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 04/31] tools/intel_firmware_decode: " Sebastian Brzezinka
2026-07-16 7:29 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 05/31] lib/igt_tools_stub: add stubs needed by tools Sebastian Brzezinka
2026-07-16 6:09 ` Krzysztof Karas
2026-07-16 10:13 ` Kamil Konieczny
2026-07-16 10:25 ` Sebastian Brzezinka
2026-07-16 12:34 ` Kamil Konieczny
2026-07-15 12:15 ` [PATCH i-g-t v3 06/31] lib/igt_drm_stub: introduce for tools needing driver detection Sebastian Brzezinka
2026-07-16 7:28 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 07/31] lib/igt_device_scan: wire to use static sub-libraries Sebastian Brzezinka
2026-07-16 7:40 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 08/31] tools/intel_gpu_top: add explicit drm/tools-stub deps Sebastian Brzezinka
2026-07-16 7:43 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 09/31] lib/igt_halffloat: introduce static sub-library for tools Sebastian Brzezinka
2026-07-16 7:56 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 10/31] lib/i915/intel_decode: replace igt.h with minimal headers Sebastian Brzezinka
2026-07-16 8:16 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 11/31] lib/i915/intel_decode: introduce static sub-library for tools Sebastian Brzezinka
2026-07-16 8:26 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 12/31] lib/intel_mmio: introduce lib_igt_reg_tools " Sebastian Brzezinka
2026-07-16 13:27 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 13/31] tools/intel_gpu_frequency: link with minimal sub-libraries Sebastian Brzezinka
2026-07-16 13:34 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 14/31] tools/intel_stepping: " Sebastian Brzezinka
2026-07-20 6:16 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 15/31] tools/intel_gtt: " Sebastian Brzezinka
2026-07-20 6:19 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 16/31] tools/intel_dump_decode: " Sebastian Brzezinka
2026-07-20 6:25 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 17/31] tools/intel_error_decode: " Sebastian Brzezinka
2026-07-20 6:27 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 18/31] tools/intel_vbt_decode: " Sebastian Brzezinka
2026-07-20 7:02 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 19/31] tools/intel_backlight: " Sebastian Brzezinka
2026-07-20 7:04 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 20/31] tools/intel_lid: " Sebastian Brzezinka
2026-07-20 7:15 ` Krzysztof Karas
2026-07-15 12:15 ` [PATCH i-g-t v3 21/31] tools/intel_gpu_time: " Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 22/31] tools/intel_audio_dump: " Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 23/31] tools/intel_forcewaked: " Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 24/31] tools/intel_guc_logger: " Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 25/31] tools/intel_infoframes: " Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 26/31] tools/intel_panel_fitter: " Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 27/31] tools/intel_watermark: " Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 28/31] tools/intel_display_poller: " Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 29/31] tools/intel_gvtg_test: " Sebastian Brzezinka
2026-07-15 12:15 ` [PATCH i-g-t v3 30/31] lib/igt_core: move igt_load_igtrc to igt_device_scan Sebastian Brzezinka
2026-07-16 14:08 ` Kamil Konieczny
2026-07-20 11:30 ` Sebastian Brzezinka [this message]
2026-07-15 12:15 ` [PATCH i-g-t v3 31/31] tools/lsgpu: link with minimal sub-libraries Sebastian Brzezinka
2026-07-15 16:00 ` ✓ Xe.CI.BAT: success for tools: remove unnecessary shared library dependencies from standalone tools Patchwork
2026-07-15 16:56 ` ✓ i915.CI.BAT: " Patchwork
2026-07-15 19:27 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-15 22:53 ` ✗ i915.CI.Full: failure " 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=DK3D4887RI7E.HX0EF2D4CLAO@intel.com \
--to=sebastian.brzezinka@intel.com \
--cc=ashutosh.dixit@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=krzysztof.karas@intel.com \
--cc=krzysztof.niemiec@intel.com \
--cc=markyacoub@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.