All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libdrm: Remove i386/x86_64 dependency from Nouveau driver
@ 2015-12-19 16:53 Bernd Kuhls
  2015-12-19 16:53 ` [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix DRI dependency Bernd Kuhls
  2015-12-20 12:59 ` [Buildroot] [PATCH 1/2] package/libdrm: Remove i386/x86_64 dependency from Nouveau driver Thomas Petazzoni
  0 siblings, 2 replies; 6+ messages in thread
From: Bernd Kuhls @ 2015-12-19 16:53 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/libdrm/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index cf1c13b..445a85b 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -36,7 +36,6 @@ config BR2_PACKAGE_LIBDRM_AMDGPU
 
 config BR2_PACKAGE_LIBDRM_NOUVEAU
 	bool "nouveau"
-	depends on BR2_i386 || BR2_x86_64
 	help
 	  Install NVIDIA graphics driver.
 
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix DRI dependency
  2015-12-19 16:53 [Buildroot] [PATCH 1/2] package/libdrm: Remove i386/x86_64 dependency from Nouveau driver Bernd Kuhls
@ 2015-12-19 16:53 ` Bernd Kuhls
  2015-12-20 13:00   ` Thomas Petazzoni
  2016-03-22 21:31   ` [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix " Thomas Petazzoni
  2015-12-20 12:59 ` [Buildroot] [PATCH 1/2] package/libdrm: Remove i386/x86_64 dependency from Nouveau driver Thomas Petazzoni
  1 sibling, 2 replies; 6+ messages in thread
From: Bernd Kuhls @ 2015-12-19 16:53 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/x11r7/xdriver_xf86-video-nouveau/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/x11r7/xdriver_xf86-video-nouveau/Config.in b/package/x11r7/xdriver_xf86-video-nouveau/Config.in
index 7e756e2..5fe659c 100644
--- a/package/x11r7/xdriver_xf86-video-nouveau/Config.in
+++ b/package/x11r7/xdriver_xf86-video-nouveau/Config.in
@@ -1,6 +1,9 @@
 config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU
 	bool "xf86-video-nouveau"
 	depends on BR2_PACKAGE_MESA3D
+	# package depends on DRI support in xserver_xorg-server
+	# libdrm locking macros use armv6+ instructions on arm
+	depends on !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
 	select BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU
 	select BR2_PACKAGE_LIBDRM
 	select BR2_PACKAGE_LIBDRM_NOUVEAU
@@ -16,3 +19,4 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU
 
 comment "xf86-video-nouveau needs mesa3d"
 	depends on !BR2_PACKAGE_MESA3D
+	depends on !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/2] package/libdrm: Remove i386/x86_64 dependency from Nouveau driver
  2015-12-19 16:53 [Buildroot] [PATCH 1/2] package/libdrm: Remove i386/x86_64 dependency from Nouveau driver Bernd Kuhls
  2015-12-19 16:53 ` [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix DRI dependency Bernd Kuhls
@ 2015-12-20 12:59 ` Thomas Petazzoni
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2015-12-20 12:59 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sat, 19 Dec 2015 17:53:34 +0100, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/libdrm/Config.in | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix DRI dependency
  2015-12-19 16:53 ` [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix DRI dependency Bernd Kuhls
@ 2015-12-20 13:00   ` Thomas Petazzoni
  2015-12-20 17:09     ` [Buildroot] [PATCH 2/2]package/x11r7/xdriver_xf86-video-nouveau:Fix " Bernd Kuhls
  2016-03-22 21:31   ` [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix " Thomas Petazzoni
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2015-12-20 13:00 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sat, 19 Dec 2015 17:53:35 +0100, Bernd Kuhls wrote:

>  config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU
>  	bool "xf86-video-nouveau"
>  	depends on BR2_PACKAGE_MESA3D
> +	# package depends on DRI support in xserver_xorg-server
> +	# libdrm locking macros use armv6+ instructions on arm
> +	depends on !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
>  	select BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU
>  	select BR2_PACKAGE_LIBDRM
>  	select BR2_PACKAGE_LIBDRM_NOUVEAU

I don't quite understand this one. Where are these locking macros
implemented? In the nouveau xf86 driver? In the libdrm nouveau part? In
the mesa3d nouveau part?

The way you worded the comment makes me think it's in libdrm (but I was
unable to find those macros). And if they are in libdrm, then the
dependency should also be used for the libdrm package.

Could you clarify?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/2]package/x11r7/xdriver_xf86-video-nouveau:Fix DRI dependency
  2015-12-20 13:00   ` Thomas Petazzoni
@ 2015-12-20 17:09     ` Bernd Kuhls
  0 siblings, 0 replies; 6+ messages in thread
From: Bernd Kuhls @ 2015-12-20 17:09 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

Am Sun, 20 Dec 2015 14:00:03 +0100 schrieb Thomas Petazzoni:

> Dear Bernd Kuhls,
> 
> On Sat, 19 Dec 2015 17:53:35 +0100, Bernd Kuhls wrote:
> 
>>  config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU
>>  	bool "xf86-video-nouveau"
>>  	depends on BR2_PACKAGE_MESA3D
>> +	# package depends on DRI support in xserver_xorg-server +	# 
libdrm
>> locking macros use armv6+ instructions on arm +	depends on
>> !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
>>  	select BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU select
>>  	BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM_NOUVEAU
> 
> I don't quite understand this one. Where are these locking macros
> implemented? In the nouveau xf86 driver? In the libdrm nouveau part? In
> the mesa3d nouveau part?

the limitation comes from xserver_xorg-server:
https://git.busybox.net/buildroot/tree/package/x11r7/xserver_xorg-server/
xserver_xorg-server.mk#n133

xdriver_xf86-video-nouveau needs DRI support enabled in the xserver_xorg-
server package, this is only true in this case:
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER)n$(BR2_ARM_CPU_ARMV4)
$(BR2_ARM_CPU_ARMV5),yn)

I ported this limitation (no DRI support for armv4/5) to package/x11r7/
xdriver_xf86-video-nouveau/Config.in with this patch, along with the 
comment from xserver_xorg-server.mk and a reference to the xserver_xorg-
server package to fix your build error on armv5:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/135186

Regards, Bernd

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix DRI dependency
  2015-12-19 16:53 ` [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix DRI dependency Bernd Kuhls
  2015-12-20 13:00   ` Thomas Petazzoni
@ 2016-03-22 21:31   ` Thomas Petazzoni
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2016-03-22 21:31 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat, 19 Dec 2015 17:53:35 +0100, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/x11r7/xdriver_xf86-video-nouveau/Config.in | 4 ++++
>  1 file changed, 4 insertions(+)

I've just sent a series at
http://lists.busybox.net/pipermail/buildroot/2016-March/156858.html,
which I believe is a better fix for this problem. More details are
available in the cover letter.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-22 21:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-19 16:53 [Buildroot] [PATCH 1/2] package/libdrm: Remove i386/x86_64 dependency from Nouveau driver Bernd Kuhls
2015-12-19 16:53 ` [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix DRI dependency Bernd Kuhls
2015-12-20 13:00   ` Thomas Petazzoni
2015-12-20 17:09     ` [Buildroot] [PATCH 2/2]package/x11r7/xdriver_xf86-video-nouveau:Fix " Bernd Kuhls
2016-03-22 21:31   ` [Buildroot] [PATCH 2/2] package/x11r7/xdriver_xf86-video-nouveau: Fix " Thomas Petazzoni
2015-12-20 12:59 ` [Buildroot] [PATCH 1/2] package/libdrm: Remove i386/x86_64 dependency from Nouveau driver Thomas Petazzoni

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.