All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd.kuhls@t-online.de>
To: buildroot@buildroot.org
Cc: "Gary Bisson" <bisson.gary@gmail.com>,
	"Romain Naour" <romain.naour@gmail.com>,
	"Yann E . MORIN" <yann.morin.1998@free.fr>,
	"Jérôme Pouiller" <jezz@sysmic.org>
Subject: [Buildroot] [PATCH 04/19] package/x11r7/xdriver_xf86-video-amdgpu: needs libgbm
Date: Sat, 14 May 2022 19:55:57 +0200	[thread overview]
Message-ID: <20220514175612.2510884-4-bernd.kuhls@t-online.de> (raw)
In-Reply-To: <20220514175612.2510884-1-bernd.kuhls@t-online.de>

The package depends on gbm:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/blob/master/configure.ac#L75

For details see
http://lists.busybox.net/pipermail/buildroot/2022-April/641451.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/x11r7/xdriver_xf86-video-amdgpu/Config.in         | 8 +++-----
 .../xdriver_xf86-video-amdgpu.mk                          | 1 +
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in
index c42255f55c..fb23fc1fdf 100644
--- a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in
+++ b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in
@@ -1,8 +1,7 @@
 config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU
 	bool "xf86-video-amdgpu"
 	depends on BR2_USE_MMU # libdrm
-	depends on BR2_PACKAGE_MESA3D_DRI_DRIVER
-	depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm
+	depends on BR2_PACKAGE_HAS_LIBGBM
 	select BR2_PACKAGE_LIBDRM
 	select BR2_PACKAGE_LIBDRM_AMDGPU
 	select BR2_PACKAGE_LIBEPOXY
@@ -11,7 +10,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU
 	help
 	  AMD GPU video driver
 
-comment "xf86-video-amdgpu needs egl/opengl support from mesa3d"
+comment "xf86-video-amdgpu needs GBM"
 	depends on BR2_USE_MMU
-	depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \
-		!BR2_PACKAGE_MESA3D_DRI_DRIVER
+	depends on !BR2_PACKAGE_HAS_LIBGBM
diff --git a/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk b/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk
index c34af6faf1..ba4ab43db2 100644
--- a/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk
+++ b/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk
@@ -11,6 +11,7 @@ XDRIVER_XF86_VIDEO_AMDGPU_LICENSE = MIT
 XDRIVER_XF86_VIDEO_AMDGPU_LICENSE_FILES = COPYING
 XDRIVER_XF86_VIDEO_AMDGPU_DEPENDENCIES = \
 	libdrm \
+	libgbm \
 	xlib_libXcomposite \
 	xorgproto \
 	xserver_xorg-server
-- 
2.30.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2022-05-14 17:59 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14 17:55 [Buildroot] [PATCH 01/19] package/x11r7/xserver_xorg-server: bump version to 21.1.3 Bernd Kuhls
2022-05-14 17:55 ` [Buildroot] [PATCH 02/19] package/x11r7/xdriver_xf86-video-amdgpu: fix glamor support Bernd Kuhls
2022-05-18 19:17   ` Arnout Vandecappelle
     [not found]   ` <f210edc8-09f9-c668-cf1f-19992e5243a2__20312.2769644082$1652901469$gmane$org@mind.be>
2022-05-18 20:37     ` Bernd Kuhls
2022-06-01 16:04   ` Peter Korsgaard
2022-05-14 17:55 ` [Buildroot] [PATCH 03/19] package/x11r7/xdriver_xf86-video-amdgpu: bump version to 22.0.0 Bernd Kuhls
2022-05-14 17:55 ` Bernd Kuhls [this message]
2022-06-05 22:01   ` [Buildroot] [PATCH 04/19] package/x11r7/xdriver_xf86-video-amdgpu: needs libgbm Thomas Petazzoni via buildroot
     [not found]   ` <20220606000120.052ee137__6105.38827474869$1654466507$gmane$org@windsurf>
2022-06-06 13:16     ` Bernd Kuhls
2022-05-14 17:55 ` [Buildroot] [PATCH 05/19] package/x11r7/xdriver_xf86-video-ati: fix build with newer versions of xserver Bernd Kuhls
2022-06-04 19:06   ` Yann E. MORIN
2022-05-14 17:55 ` [Buildroot] [PATCH 06/19] package/x11r7/xdriver_xf86-video-ati: switch dependency from mesa3d to libgbm Bernd Kuhls
2022-06-05 22:02   ` Thomas Petazzoni via buildroot
2022-05-14 17:56 ` [Buildroot] [PATCH 07/19] package/x11r7/xdriver_xf86-video-imx-viv: switch dependency from mesa3d to libgl Bernd Kuhls
2022-06-06 20:24   ` Arnout Vandecappelle
2022-05-14 17:56 ` [Buildroot] [PATCH 08/19] package/x11r7/xdriver_xf86-video-intel: " Bernd Kuhls
2022-06-06 20:27   ` Arnout Vandecappelle
2022-05-14 17:56 ` [Buildroot] [PATCH 09/19] package/x11r7/xdriver_xf86-video-mach64: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 10/19] package/x11r7/xdriver_xf86-video-mga: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 11/19] package/x11r7/xdriver_xf86-video-nouveau: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 12/19] package/x11r7/xdriver_xf86-video-openchrome: switch source to git repo Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 13/19] package/x11r7/xdriver_xf86-video-openchrome: bump version to 0.6.225 Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 14/19] package/x11r7/xdriver_xf86-video-openchrome: switch dependency from mesa3d to libgl Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 15/19] package/x11r7/xdriver_xf86-video-r128: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 16/19] package/x11r7/xdriver_xf86-video-sis: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 17/19] package/x11r7/xdriver_xf86-video-savage: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 18/19] package/x11r7/xdriver_xf86-video-tdfx: " Bernd Kuhls
2022-05-14 17:56 ` [Buildroot] [PATCH 19/19] package/{mesa3d, mesa3d-headers}: bump version to 22.0.3 Bernd Kuhls
2022-06-06 20:43   ` Arnout Vandecappelle
     [not found]   ` <ab57f204-1b69-e99e-6dd1-4d3809740ed2__12424.3190091633$1654548218$gmane$org@mind.be>
2022-06-07 19:42     ` Bernd Kuhls
2022-06-06 20:37 ` [Buildroot] [PATCH 01/19] package/x11r7/xserver_xorg-server: bump version to 21.1.3 Arnout Vandecappelle
2022-08-16  9:35 ` 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=20220514175612.2510884-4-bernd.kuhls@t-online.de \
    --to=bernd.kuhls@t-online.de \
    --cc=bisson.gary@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=jezz@sysmic.org \
    --cc=romain.naour@gmail.com \
    --cc=yann.morin.1998@free.fr \
    /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.