Re: [PATCH i-g-t v3 28/31] tools/intel_display_poller: link with minimal sub-libraries
Krzysztof Karas <[email protected]>
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <ijvyej64efgyvwla22pw4e5qnyoymckeawk66fhisf2wgufeiw@ekfjmcjiafte> |
Hi, On 2026-07-15 at 14:15:38 +0200, Sebastian Brzezinka wrote: > intel_display_poller only needs the register/MMIO helper subset, not > the full libigt.so stack. > > Switch to linking against lib_igt_reg_tools. > > ldd before: 35 (ldd | wc -l) > ldd after: 5 (ldd | wc -l) > > Signed-off-by: Sebastian Brzezinka <[email protected]> > Acked-by: Ashutosh Dixit <[email protected]> > Reviewed-by: Krzysztof Niemiec <[email protected]> > --- > tools/meson.build | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/tools/meson.build b/tools/meson.build > index 0cc62b54d..2a084a0c4 100644 > --- a/tools/meson.build > +++ b/tools/meson.build > @@ -17,7 +17,6 @@ tools_progs = [ > 'intel_bios_dumper', > 'intel_display_bandwidth', > 'intel_display_crc', > - 'intel_display_poller', > 'intel_framebuffer_dump', > 'intel_hdcp', > 'intel_opregion_decode', > @@ -128,6 +127,11 @@ executable('intel_watermark', 'intel_watermark.c', > install_rpath : bindir_rpathdir, > install : true) > > +executable('intel_display_poller', 'intel_display_poller.c', > + dependencies : [lib_igt_reg_tools, pciaccess, libdrm], > + install_rpath : bindir_rpathdir, > + install : true) > + > if libudev.found() > intel_dp_compliance_src = [ > 'intel_dp_compliance.c', > -- > 2.53.0 > Reviewed-by: Krzysztof Karas <[email protected]> -- Best Regards, Krzysztof