All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd.kuhls@t-online.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v11 05/13] package/mesa3d: add xvmc option
Date: Sun,  1 Sep 2019 14:36:59 +0200	[thread overview]
Message-ID: <20190901123707.19342-6-bernd.kuhls@t-online.de> (raw)
In-Reply-To: <20190901123707.19342-1-bernd.kuhls@t-online.de>

From: Romain Naour <romain.naour@smile.fr>

"XVMC state tracker requires at least one of the following gallium drivers: r600, nouveau."

https://cgit.freedesktop.org/mesa/mesa/commit/?id=22a817af8a89eb3c762fc3e07b443a3ce37d7416

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mesa3d/Config.in | 14 ++++++++++++++
 package/mesa3d/mesa3d.mk |  2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index 1f5f221337..7cec73ab5b 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -312,6 +312,20 @@ config BR2_PACKAGE_PROVIDES_LIBGLES
 config BR2_PACKAGE_PROVIDES_LIBOPENCL
 	default "mesa3d" if BR2_PACKAGE_MESA3D_OPENCL
 
+config BR2_PACKAGE_MESA3D_XVMC
+	bool "XvMC state tracker"
+	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \
+		|| BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
+	select BR2_PACKAGE_XLIB_LIBXVMC
+	help
+	  XVMC state tracker (needs r600 or nouveau gallium drivers).
+
+comment "XvMC depends on X.org and needs gallium drivers: r600, nouveau"
+	depends on !BR2_PACKAGE_XORG7
+	depends on !BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \
+		|| !BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
+
 endif # BR2_PACKAGE_MESA3D
 
 comment "mesa3d needs a toolchain w/ C++, NPTL, dynamic library"
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index 81736c83d3..5fb6c5aee9 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -220,7 +220,7 @@ else
 MESA3D_CONF_OPTS += --disable-gles1 --disable-gles2
 endif
 
-ifeq ($(BR2_PACKAGE_XLIB_LIBXVMC),y)
+ifeq ($(BR2_PACKAGE_MESA3D_XVMC),y)
 MESA3D_DEPENDENCIES += xlib_libXvMC
 MESA3D_CONF_OPTS += --enable-xvmc
 else
-- 
2.20.1

  parent reply	other threads:[~2019-09-01 12:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-01 12:36 [Buildroot] [PATCH v11 00/13] package/{mesa3d, mesa3d-headers}: bump version to 19.1.5 Bernd Kuhls
2019-09-01 12:36 ` [Buildroot] [PATCH v11 01/13] package/python3-mako: new package Bernd Kuhls
2019-09-01 12:36 ` [Buildroot] [PATCH v11 02/13] package/mesa3d: rename OSMesa option Bernd Kuhls
2019-09-01 12:36 ` [Buildroot] [PATCH v11 03/13] package/mesa3d: add OSMesa classic needs dri swrast Bernd Kuhls
2019-09-01 12:36 ` [Buildroot] [PATCH v11 04/13] package/mesa3d: Only one swrast provider can be built Bernd Kuhls
2019-09-01 12:36 ` Bernd Kuhls [this message]
2019-09-01 12:37 ` [Buildroot] [PATCH v11 06/13] package/mesa3d: Gallium xa state tracker is only available for nouveau and svga Gallium drivers Bernd Kuhls
2019-09-01 12:37 ` [Buildroot] [PATCH v11 07/13] package/mesa3d: Gallium vdpau state tracker is only available for r300, r600, radeonsi and nouveau drivers Bernd Kuhls
2019-09-01 12:37 ` [Buildroot] [PATCH v11 08/13] package/mesa3d: add a new option to enable GLX support Bernd Kuhls
2019-09-01 12:37 ` [Buildroot] [PATCH v11 09/13] package/mesa3d: switch build system to meson Bernd Kuhls
2019-09-01 12:37 ` [Buildroot] [PATCH v11 10/13] package/mesa3d: select kmsro for etnaviv Bernd Kuhls
2019-09-01 12:37 ` [Buildroot] [PATCH v11 11/13] package/{mesa3d, mesa3d-headers}: bump version to 19.1.5 Bernd Kuhls
2019-09-01 12:37 ` [Buildroot] [PATCH v11 12/13] package/mesa3d: add support for gallium lima driver Bernd Kuhls
2019-09-01 12:37 ` [Buildroot] [PATCH v11 13/13] package/mesa3d: add support for gallium panfrost driver Bernd Kuhls
2019-09-03  2:20 ` [Buildroot] [PATCH v11 00/13] package/{mesa3d, mesa3d-headers}: bump version to 19.1.5 Fabio Estevam
2019-09-04 12:40 ` Andreas Naumann

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=20190901123707.19342-6-bernd.kuhls@t-online.de \
    --to=bernd.kuhls@t-online.de \
    --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 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.