From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/mesa3d: select gbm if no glx, no egl and no osmesa-classic
Date: Sat, 22 Feb 2020 19:35:22 +0100 [thread overview]
Message-ID: <20200222183522.GI17342@scaer> (raw)
In-Reply-To: <20200222160101.107362-1-romain.naour@gmail.com>
Romain, All,
On 2020-02-22 17:01 +0100, Romain Naour spake thusly:
> This issue has been trigged since [1]:
> "package/mesa3d: add option to configure gbm support"
>
> Before the patch, the gbm support was autodetected by meson and enabled
> only when at least one dri driver was enabled [2].
>
> On the Buildroot side, the gbm support was explicitely enabled only when
> BR2_PACKAGE_MESA3D_OPENGL_EGL was set.
>
> Now, the gbm support is explicitely disabled but the meson build system
> check if at least one option OpenGL GLX or OpenGL EGL or GBM or
> OSMesa (classic) library is enabled [3].
>
> The previous behavious was to enable GBM when GLX, EGL and OSMesa are
> disabled. So select GBM symbol for this case.
>
> Fixes:
> http://autobuild.buildroot.net/results/a14f329560f8022f7ba8ec43ad8eed84e005d226
>
> [1] b6c051acf787c804e732bc58ba8d7e440701a168
> [2] https://gitlab.freedesktop.org/mesa/mesa/blob/19.3/meson.build#L348
> [3] https://gitlab.freedesktop.org/mesa/mesa/blob/19.3/meson.build#L449
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/mesa3d/Config.in | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
> index 0788f47137..1b4b281970 100644
> --- a/package/mesa3d/Config.in
> +++ b/package/mesa3d/Config.in
> @@ -61,6 +61,10 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
> config BR2_PACKAGE_MESA3D_DRI_DRIVER
> bool
> select BR2_PACKAGE_MESA3D_DRIVER
> + select BR2_PACKAGE_MESA3D_GBM if \
> + !BR2_PACKAGE_MESA3D_OPENGL_GLX && \
> + !BR2_PACKAGE_MESA3D_OPENGL_EGL && \
> + !BR2_PACKAGE_MESA3D_OSMESA_CLASSIC
> select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \
> (BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4)
>
> --
> 2.24.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2020-02-22 18:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-22 16:01 [Buildroot] [PATCH] package/mesa3d: select gbm if no glx, no egl and no osmesa-classic Romain Naour
2020-02-22 17:54 ` Bernd Kuhls
2020-02-22 18:35 ` Yann E. MORIN [this message]
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=20200222183522.GI17342@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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