* [Buildroot] [PATCH 1/1] package/libva: fix mesa3d glx support
@ 2019-10-01 6:05 Bernd Kuhls
2019-10-04 22:11 ` Giulio Benetti
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Bernd Kuhls @ 2019-10-01 6:05 UTC (permalink / raw)
To: buildroot
https://git.buildroot.net/buildroot/commit/package/mesa3d?id=5cb821d5635626b7327d5d704555c412e5ed5a1f
added a new option to enable GLX support.
This patch adjusts libva to use the new logic.
Fixes:
http://autobuild.buildroot.net/results/797/79776104e681402c24160be15789fe67bb69f833/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/libva/libva.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/libva/libva.mk b/package/libva/libva.mk
index 7bf1839f4c..6c8243da90 100644
--- a/package/libva/libva.mk
+++ b/package/libva/libva.mk
@@ -20,7 +20,7 @@ LIBVA_CONF_OPTS = \
ifeq ($(BR2_PACKAGE_XORG7),y)
LIBVA_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes
LIBVA_CONF_OPTS += --enable-x11
-ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
+ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y)
LIBVA_DEPENDENCIES += mesa3d
LIBVA_CONF_OPTS += --enable-glx
endif
--
2.20.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/libva: fix mesa3d glx support
2019-10-01 6:05 [Buildroot] [PATCH 1/1] package/libva: fix mesa3d glx support Bernd Kuhls
@ 2019-10-04 22:11 ` Giulio Benetti
2019-10-08 21:32 ` Thomas Petazzoni
2019-10-28 13:04 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Giulio Benetti @ 2019-10-04 22:11 UTC (permalink / raw)
To: buildroot
Hi Bernd,
On 10/1/19 8:05 AM, Bernd Kuhls wrote:
> https://git.buildroot.net/buildroot/commit/package/mesa3d?id=5cb821d5635626b7327d5d704555c412e5ed5a1f
>
> added a new option to enable GLX support.
>
> This patch adjusts libva to use the new logic.
>
> Fixes:
> http://autobuild.buildroot.net/results/797/79776104e681402c24160be15789fe67bb69f833/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
> package/libva/libva.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/libva/libva.mk b/package/libva/libva.mk
> index 7bf1839f4c..6c8243da90 100644
> --- a/package/libva/libva.mk
> +++ b/package/libva/libva.mk
> @@ -20,7 +20,7 @@ LIBVA_CONF_OPTS = \
> ifeq ($(BR2_PACKAGE_XORG7),y)
> LIBVA_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes
> LIBVA_CONF_OPTS += --enable-x11
> -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
> +ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y)
> LIBVA_DEPENDENCIES += mesa3d
> LIBVA_CONF_OPTS += --enable-glx
> endif
>
--
Giulio Benetti
Benetti Engineering sas
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/libva: fix mesa3d glx support
2019-10-01 6:05 [Buildroot] [PATCH 1/1] package/libva: fix mesa3d glx support Bernd Kuhls
2019-10-04 22:11 ` Giulio Benetti
@ 2019-10-08 21:32 ` Thomas Petazzoni
2019-10-12 15:40 ` Bernd Kuhls
2019-10-28 13:04 ` Peter Korsgaard
2 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-10-08 21:32 UTC (permalink / raw)
To: buildroot
On Tue, 1 Oct 2019 08:05:20 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> https://git.buildroot.net/buildroot/commit/package/mesa3d?id=5cb821d5635626b7327d5d704555c412e5ed5a1f
>
> added a new option to enable GLX support.
>
> This patch adjusts libva to use the new logic.
>
> Fixes:
> http://autobuild.buildroot.net/results/797/79776104e681402c24160be15789fe67bb69f833/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Applied, thanks. However, I have a comment below.
> ---
> package/libva/libva.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/libva/libva.mk b/package/libva/libva.mk
> index 7bf1839f4c..6c8243da90 100644
> --- a/package/libva/libva.mk
> +++ b/package/libva/libva.mk
> @@ -20,7 +20,7 @@ LIBVA_CONF_OPTS = \
> ifeq ($(BR2_PACKAGE_XORG7),y)
> LIBVA_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes
> LIBVA_CONF_OPTS += --enable-x11
> -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
> +ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y)
> LIBVA_DEPENDENCIES += mesa3d
I think that depending on mesa3d and a mesa3d-specific option is
probably not correct. Indeed, a different OpenGL implementation than
Mesa3D can provide OpenGL GLX. For example, the nvidia-driver and
amd-catalyst drivers I believe also provide OpenGL GLX.
That's clearly not an issue with your patch, as it was already not
correct. But it might be nice to fix this at some point.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/libva: fix mesa3d glx support
2019-10-08 21:32 ` Thomas Petazzoni
@ 2019-10-12 15:40 ` Bernd Kuhls
0 siblings, 0 replies; 5+ messages in thread
From: Bernd Kuhls @ 2019-10-12 15:40 UTC (permalink / raw)
To: buildroot
Am Tue, 08 Oct 2019 23:32:58 +0200 schrieb Thomas Petazzoni:
>> -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
>> +ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y)
>> LIBVA_DEPENDENCIES += mesa3d
>
> I think that depending on mesa3d and a mesa3d-specific option is
> probably not correct. Indeed, a different OpenGL implementation than
> Mesa3D can provide OpenGL GLX. For example, the nvidia-driver and
> amd-catalyst drivers I believe also provide OpenGL GLX.
Hi Thomas,
you are right, sent patch: http://patchwork.ozlabs.org/patch/1175726/
Regards, Bernd
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/libva: fix mesa3d glx support
2019-10-01 6:05 [Buildroot] [PATCH 1/1] package/libva: fix mesa3d glx support Bernd Kuhls
2019-10-04 22:11 ` Giulio Benetti
2019-10-08 21:32 ` Thomas Petazzoni
@ 2019-10-28 13:04 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-10-28 13:04 UTC (permalink / raw)
To: buildroot
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:
> https://git.buildroot.net/buildroot/commit/package/mesa3d?id=5cb821d5635626b7327d5d704555c412e5ed5a1f
> added a new option to enable GLX support.
> This patch adjusts libva to use the new logic.
> Fixes:
> http://autobuild.buildroot.net/results/797/79776104e681402c24160be15789fe67bb69f833/
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-10-28 13:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-01 6:05 [Buildroot] [PATCH 1/1] package/libva: fix mesa3d glx support Bernd Kuhls
2019-10-04 22:11 ` Giulio Benetti
2019-10-08 21:32 ` Thomas Petazzoni
2019-10-12 15:40 ` Bernd Kuhls
2019-10-28 13:04 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox