From: Alexandru Ardelean <ardeleanalex@gmail.com>
To: buildroot@buildroot.org
Cc: aperez@igalia.com, michael@nosthoff.rocks,
thomas.petazzoni@bootlin.com,
Alexandru Ardelean <ardeleanalex@gmail.com>
Subject: [Buildroot] [PATCH 2/2] package/cog: add dep on libgbm's dmabuf & plane-count-modifier features
Date: Wed, 27 Jul 2022 11:19:53 +0300 [thread overview]
Message-ID: <20220727081953.38627-2-ardeleanalex@gmail.com> (raw)
In-Reply-To: <20220727081953.38627-1-ardeleanalex@gmail.com>
cog uses the dmabuf and plane-count-modifier features from libgbm.
These are provided by mesa3d, but may not be provided by other libgbm
providers.
So, make this a dependency.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
---
package/cog/Config.in | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/cog/Config.in b/package/cog/Config.in
index 484eb85c70..d2a910f9b8 100644
--- a/package/cog/Config.in
+++ b/package/cog/Config.in
@@ -41,6 +41,8 @@ config BR2_PACKAGE_COG_PLATFORM_DRM
depends on BR2_PACKAGE_HAS_UDEV # libinput
depends on BR2_PACKAGE_HAS_LIBEGL
depends on BR2_PACKAGE_HAS_LIBGBM
+ depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF
+ depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_LIBINPUT
help
@@ -56,6 +58,8 @@ config BR2_PACKAGE_COG_USE_SYSTEM_DBUS
comment "DRM platform needs EGL and GBM"
depends on \
!BR2_PACKAGE_HAS_LIBEGL || \
- !BR2_PACKAGE_HAS_LIBGBM
+ !BR2_PACKAGE_HAS_LIBGBM || \
+ !BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF || \
+ !BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
endif
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-07-27 8:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-27 8:19 [Buildroot] [PATCH 1/2] package/cog: add udev dependency to drm platform support Alexandru Ardelean
2022-07-27 8:19 ` Alexandru Ardelean [this message]
2022-09-14 7:33 ` [Buildroot] [PATCH 2/2] package/cog: add dep on libgbm's dmabuf & plane-count-modifier features Peter Korsgaard
2022-08-01 20:53 ` [Buildroot] [PATCH 1/2] package/cog: add udev dependency to drm platform support Thomas Petazzoni via buildroot
2022-09-14 7:33 ` Peter Korsgaard
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=20220727081953.38627-2-ardeleanalex@gmail.com \
--to=ardeleanalex@gmail.com \
--cc=aperez@igalia.com \
--cc=buildroot@buildroot.org \
--cc=michael@nosthoff.rocks \
--cc=thomas.petazzoni@bootlin.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.