From: Simon Ser <contact@emersion.fr>
To: igt-dev@lists.freedesktop.org
Cc: Gil Dekel <gildekel@google.com>,
Jani Nikula <jani.nikula@intel.com>,
Swati Sharma <swati2.sharma@intel.com>,
Karthik B S <karthik.b.s@intel.com>,
Mark Yacoub <markyacoub@google.com>,
Kamil Konieczny <kamil.konieczny@linux.intel.com>,
Ryszard Knop <ryszard.knop@intel.com>
Subject: [PATCH v2 2/2] meson: require libdisplay-info v0.4.0
Date: Thu, 26 Nov 2026 10:02:14 +0000 [thread overview]
Message-ID: <20261126100201.606756-2-contact@emersion.fr> (raw)
In-Reply-To: <20261126100201.606756-1-contact@emersion.fr>
This version looks up CTA extension blocks nested inside a DisplayID
extension block. This is required for upcoming tests leveraging
igt_hdr helpers.
On systems not shipping a new enough libdisplay-info, a wrap file [1] is
provided so that Meson can automatically download and link to an
up-to-date subproject [2]. This eases developer setup when IGT is built
on distributions such as Debian. This behavior is typically disabled
when packaging software via the wrap_mode=nodownload option (see e.g.
the arch-meson wrapper [3] used for Arch Linux packaging).
A slightly newer commit is pulled in by the wrap to avoid compiling
a bunch of unnecessary v4l-utils code when libdisplay-info is used
as a subproject [4].
v2: new commit (Gil)
[1]: https://mesonbuild.com/Wrap-dependency-system-manual.html
[2]: https://mesonbuild.com/Subprojects.html
[3]: https://gitlab.archlinux.org/archlinux/packaging/packages/meson/-/blob/9fe4433580978cc020c813019b77238ce65ab38d/arch-meson#L19
[4]: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/merge_requests/219
Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Gil Dekel <gildekel@google.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Swati Sharma <swati2.sharma@intel.com>
Cc: Karthik B S <karthik.b.s@intel.com>
Cc: Mark Yacoub <markyacoub@google.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Ryszard Knop <ryszard.knop@intel.com>
---
meson.build | 2 +-
subprojects/libdisplay-info.wrap | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
create mode 100644 subprojects/libdisplay-info.wrap
diff --git a/meson.build b/meson.build
index e7c685116b13..ead7be9c5eb0 100644
--- a/meson.build
+++ b/meson.build
@@ -151,7 +151,7 @@ build_info += 'Valgrind annotations: @0@'.format(valgrind.found())
cairo = dependency('cairo', version : '>1.12.0', required : true)
libpci = dependency('libpci', required : true)
libudev = dependency('libudev', required : true)
-libdisplay_info = dependency('libdisplay-info', required : true)
+libdisplay_info = dependency('libdisplay-info', version : '>=0.4.0', required : true)
glib = dependency('glib-2.0', required : true)
libtsi = cc.find_library('TSI', required : false)
diff --git a/subprojects/libdisplay-info.wrap b/subprojects/libdisplay-info.wrap
new file mode 100644
index 000000000000..6a771b10030f
--- /dev/null
+++ b/subprojects/libdisplay-info.wrap
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://gitlab.freedesktop.org/emersion/libdisplay-info.git
+revision = 548330bca9bd3c6518cf4c6b38c954cfaabe782d
--
2.56.1
next prev parent reply other threads:[~2026-11-26 10:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 10:02 [PATCH v2 1/2] lib/igt_hdr: switch to libdisplay-info for EDID parsing Simon Ser
2026-11-26 10:02 ` Simon Ser [this message]
2026-12-01 20:26 ` [PATCH v2 2/2] meson: require libdisplay-info v0.4.0 Gil Dekel
2026-12-01 20:26 ` [PATCH v2 1/2] lib/igt_hdr: switch to libdisplay-info for EDID parsing Gil Dekel
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=20261126100201.606756-2-contact@emersion.fr \
--to=contact@emersion.fr \
--cc=gildekel@google.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=karthik.b.s@intel.com \
--cc=markyacoub@google.com \
--cc=ryszard.knop@intel.com \
--cc=swati2.sharma@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