Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building
@ 2015-12-22 13:29 Lada Trimasova
  2015-12-22 13:29 ` [Buildroot] [PATCH 1/2] Enabling mesa3d radeon driver for all architectures Lada Trimasova
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Lada Trimasova @ 2015-12-22 13:29 UTC (permalink / raw)
  To: buildroot

xdriver_xf86-video-ati depends on the radeon driver from libdrm 
and DRI support in xserver_xorg-server, to achieve this we select
the Radeon mesa3d DRI driver which needs to be enabled for all architectures.

Fixes:
http://autobuild.buildroot.net/results/9da/9da4ffdf1c4ec78ae37322e253cb769340116035

Lada Trimasova (2):
  Enabling mesa3d radeon driver for all architectures
  Fixing xdriver_xf86-video-ati dependencies

 package/mesa3d/Config.in                       | 1 -
 package/x11r7/xdriver_xf86-video-ati/Config.in | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

-- 
2.5.0

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

* [Buildroot] [PATCH 1/2] Enabling mesa3d radeon driver for all architectures
  2015-12-22 13:29 [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building Lada Trimasova
@ 2015-12-22 13:29 ` Lada Trimasova
  2015-12-22 13:29 ` [Buildroot] [PATCH 2/2] Fixing xdriver_xf86-video-ati dependencies Lada Trimasova
  2015-12-22 15:06 ` [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building Bernd Kuhls
  2 siblings, 0 replies; 7+ messages in thread
From: Lada Trimasova @ 2015-12-22 13:29 UTC (permalink / raw)
  To: buildroot

Mesa32 radeon driver doesn't depend on x86 and can be build for all architectures.

Signed-off-by: Lada Trimasova <ltrimas@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
---
 package/mesa3d/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index fdeb599..c2c4bf3 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -109,7 +109,6 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965
 
 config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
 	bool "DRI radeon driver"
-	depends on BR2_i386 || BR2_x86_64
 	select BR2_PACKAGE_MESA3D_DRI_DRIVER
 	select BR2_PACKAGE_LIBDRM_RADEON
 	help
-- 
2.5.0

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

* [Buildroot] [PATCH 2/2] Fixing xdriver_xf86-video-ati dependencies
  2015-12-22 13:29 [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building Lada Trimasova
  2015-12-22 13:29 ` [Buildroot] [PATCH 1/2] Enabling mesa3d radeon driver for all architectures Lada Trimasova
@ 2015-12-22 13:29 ` Lada Trimasova
  2015-12-22 16:45   ` Yann E. MORIN
  2015-12-22 15:06 ` [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building Bernd Kuhls
  2 siblings, 1 reply; 7+ messages in thread
From: Lada Trimasova @ 2015-12-22 13:29 UTC (permalink / raw)
  To: buildroot

This package depends on the radeon driver from libdrm and depends on 
DRI support in xserver_xorg-server, to achieve this we select the 
Radeon mesa3d DRI driver.

Fixes:
http://autobuild.buildroot.net/results/9da/9da4ffdf1c4ec78ae37322e253cb769340116035

Signed-off-by: Lada Trimasova <ltrimas@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
---
 package/x11r7/xdriver_xf86-video-ati/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/x11r7/xdriver_xf86-video-ati/Config.in b/package/x11r7/xdriver_xf86-video-ati/Config.in
index 191c20f..ef96366 100644
--- a/package/x11r7/xdriver_xf86-video-ati/Config.in
+++ b/package/x11r7/xdriver_xf86-video-ati/Config.in
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI
 	bool "xf86-video-ati"
 	depends on BR2_PACKAGE_MESA3D
-	select BR2_PACKAGE_LIBDRM        if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
-	select BR2_PACKAGE_LIBDRM_RADEON if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
+	select BR2_PACKAGE_LIBDRM
+	select BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON        
 	select BR2_PACKAGE_XLIB_LIBXCOMPOSITE
 	select BR2_PACKAGE_XPROTO_FONTSPROTO
 	select BR2_PACKAGE_XPROTO_GLPROTO
-- 
2.5.0

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

* [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building
  2015-12-22 13:29 [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building Lada Trimasova
  2015-12-22 13:29 ` [Buildroot] [PATCH 1/2] Enabling mesa3d radeon driver for all architectures Lada Trimasova
  2015-12-22 13:29 ` [Buildroot] [PATCH 2/2] Fixing xdriver_xf86-video-ati dependencies Lada Trimasova
@ 2015-12-22 15:06 ` Bernd Kuhls
  2015-12-22 16:59   ` Yann E. MORIN
  2 siblings, 1 reply; 7+ messages in thread
From: Bernd Kuhls @ 2015-12-22 15:06 UTC (permalink / raw)
  To: buildroot

Am Tue, 22 Dec 2015 16:29:48 +0300 schrieb Lada Trimasova:

> xdriver_xf86-video-ati depends on the radeon driver from libdrm and DRI
> support in xserver_xorg-server, to achieve this we select the Radeon
> mesa3d DRI driver which needs to be enabled for all architectures.

Hi,

please have a look at my patch and join the discussion about whether this 
driver can be used outside the Intel world or not ;)

http://patchwork.ozlabs.org/patch/523146/

Regards, Bernd

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

* [Buildroot] [PATCH 2/2] Fixing xdriver_xf86-video-ati dependencies
  2015-12-22 13:29 ` [Buildroot] [PATCH 2/2] Fixing xdriver_xf86-video-ati dependencies Lada Trimasova
@ 2015-12-22 16:45   ` Yann E. MORIN
  2015-12-23 12:46     ` Lada Trimasova
  0 siblings, 1 reply; 7+ messages in thread
From: Yann E. MORIN @ 2015-12-22 16:45 UTC (permalink / raw)
  To: buildroot

Lada, All,

On 2015-12-22 16:29 +0300, Lada Trimasova spake thusly:
> This package depends on the radeon driver from libdrm and depends on 
> DRI support in xserver_xorg-server, to achieve this we select the 
> Radeon mesa3d DRI driver.
> 
> Fixes:
> http://autobuild.buildroot.net/results/9da/9da4ffdf1c4ec78ae37322e253cb769340116035
> 
> Signed-off-by: Lada Trimasova <ltrimas@synopsys.com>
> Cc: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Peter Korsgaard <peter@korsgaard.com>
> ---
>  package/x11r7/xdriver_xf86-video-ati/Config.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/x11r7/xdriver_xf86-video-ati/Config.in b/package/x11r7/xdriver_xf86-video-ati/Config.in
> index 191c20f..ef96366 100644
> --- a/package/x11r7/xdriver_xf86-video-ati/Config.in
> +++ b/package/x11r7/xdriver_xf86-video-ati/Config.in
> @@ -1,8 +1,8 @@
>  config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI
>  	bool "xf86-video-ati"
>  	depends on BR2_PACKAGE_MESA3D
> -	select BR2_PACKAGE_LIBDRM        if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
> -	select BR2_PACKAGE_LIBDRM_RADEON if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
> +	select BR2_PACKAGE_LIBDRM
> +	select BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON        

You ar eremoving the 'select' on BR2_PACKAGE_LIBDRM_RADEON. This is OK
with the current code, because BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON does
the 'select' too.

However, does xdriver_xf86-video-ati link with libdrm_radeon directly?
If so, and the build failure you linked to above seems to imply it does,
then you should keep the 'select' here, because it is a direct
dependency.

Otherwise, I'm Ok with the change.

Regards,
Yann E. MORIN.

>  	select BR2_PACKAGE_XLIB_LIBXCOMPOSITE
>  	select BR2_PACKAGE_XPROTO_FONTSPROTO
>  	select BR2_PACKAGE_XPROTO_GLPROTO
> -- 
> 2.5.0
> 
> _______________________________________________
> 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 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building
  2015-12-22 15:06 ` [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building Bernd Kuhls
@ 2015-12-22 16:59   ` Yann E. MORIN
  0 siblings, 0 replies; 7+ messages in thread
From: Yann E. MORIN @ 2015-12-22 16:59 UTC (permalink / raw)
  To: buildroot

Bernd, All,

On 2015-12-22 16:06 +0100, Bernd Kuhls spake thusly:
> Am Tue, 22 Dec 2015 16:29:48 +0300 schrieb Lada Trimasova:
> > xdriver_xf86-video-ati depends on the radeon driver from libdrm and DRI
> > support in xserver_xorg-server, to achieve this we select the Radeon
> > mesa3d DRI driver which needs to be enabled for all architectures.
> please have a look at my patch and join the discussion about whether this 
> driver can be used outside the Intel world or not ;)
> 
> http://patchwork.ozlabs.org/patch/523146/

Well, IIUC, Radeon is the chip in AMD's portfolio, right?

So, you culd get that board:
    http://softiron.co.uk/
and plugin any PCI-E garphic card to get an Radeon GPU on AArch64.

So, no Radeon is not restricted to x86.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 2/2] Fixing xdriver_xf86-video-ati dependencies
  2015-12-22 16:45   ` Yann E. MORIN
@ 2015-12-23 12:46     ` Lada Trimasova
  0 siblings, 0 replies; 7+ messages in thread
From: Lada Trimasova @ 2015-12-23 12:46 UTC (permalink / raw)
  To: buildroot

Right, xdriver_xf86-video-ati links with libdrm_radeon directly. I'll fix that and send an update.


Regards,

Lada Trimasova.

On Tue, 2015-12-22 at 17:45 +0100, Yann E. MORIN wrote:

Lada, All,

On 2015-12-22 16:29 +0300, Lada Trimasova spake thusly:


This package depends on the radeon driver from libdrm and depends on
DRI support in xserver_xorg-server, to achieve this we select the
Radeon mesa3d DRI driver.

Fixes:
http://autobuild.buildroot.net/results/9da/9da4ffdf1c4ec78ae37322e253cb769340116035

Signed-off-by: Lada Trimasova <ltrimas at synopsys.com<mailto:ltrimas@synopsys.com>>
Cc: Alexey Brodkin <abrodkin at synopsys.com<mailto:abrodkin@synopsys.com>>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com<mailto:thomas.petazzoni@free-electrons.com>>
Cc: Peter Korsgaard <peter at korsgaard.com<mailto:peter@korsgaard.com>>
---
 package/x11r7/xdriver_xf86-video-ati/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/x11r7/xdriver_xf86-video-ati/Config.in b/package/x11r7/xdriver_xf86-video-ati/Config.in
index 191c20f..ef96366 100644
--- a/package/x11r7/xdriver_xf86-video-ati/Config.in
+++ b/package/x11r7/xdriver_xf86-video-ati/Config.in
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI
        bool "xf86-video-ati"
        depends on BR2_PACKAGE_MESA3D
-       select BR2_PACKAGE_LIBDRM        if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
-       select BR2_PACKAGE_LIBDRM_RADEON if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
+       select BR2_PACKAGE_LIBDRM
+       select BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON



You ar eremoving the 'select' on BR2_PACKAGE_LIBDRM_RADEON. This is OK
with the current code, because BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON does
the 'select' too.

However, does xdriver_xf86-video-ati link with libdrm_radeon directly?
If so, and the build failure you linked to above seems to imply it does,
then you should keep the 'select' here, because it is a direct
dependency.

Otherwise, I'm Ok with the change.

Regards,
Yann E. MORIN.



        select BR2_PACKAGE_XLIB_LIBXCOMPOSITE
        select BR2_PACKAGE_XPROTO_FONTSPROTO
        select BR2_PACKAGE_XPROTO_GLPROTO
--
2.5.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net<mailto:buildroot@busybox.net>
http://lists.busybox.net/mailman/listinfo/buildroot

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

end of thread, other threads:[~2015-12-23 12:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-22 13:29 [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building Lada Trimasova
2015-12-22 13:29 ` [Buildroot] [PATCH 1/2] Enabling mesa3d radeon driver for all architectures Lada Trimasova
2015-12-22 13:29 ` [Buildroot] [PATCH 2/2] Fixing xdriver_xf86-video-ati dependencies Lada Trimasova
2015-12-22 16:45   ` Yann E. MORIN
2015-12-23 12:46     ` Lada Trimasova
2015-12-22 15:06 ` [Buildroot] [PATCH 0/2] Fixing xdriver_xf86-video-ati building Bernd Kuhls
2015-12-22 16:59   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox