libdrm: disable drivers for sparcv8
PATCH v2 1/1 libdrm: disable drivers for sparcv8
The drivers use atomic ops as CAS, which fails
to compile for sparcv8, but works fine for leon3.
Fixes following autobuild error:
http://autobuild.buildroot.net/results/fa0ac44d3c7953b2e2afa03cd7570d8a5d49fcc4/
Disable all sub packages using the DRM drivers.
As SPARC systems normally have SBUS graphic cards and I think nobody cares about 3D graphics on these machines, all gallium drivers are disabled for simplification, even if swrast might be used.
---
v1 -> v2:
- disable sub packages using libdrm drivers, suggested by Thomas Petazzoni
--- package/libdrm/Config.in | 1 + package/mesa3d/Config.in | 2 ++ package/x11r7/xdriver_xf86-video-ati/Config.in | 1 + package/x11r7/xdriver_xf86-video-nouveau/Config.in | 1 + 4 files changed, 5 insertions(+)
package/libdrm/Config.in +1 -0
@@ -15,6 +15,7 @@ config BR2_PACKAGE_LIBDRM_INSTALL_TESTS This option allows to install the libdrm test programs. menu "DRM Drivers" +depends on !BR2_sparc_v8 # drivers need atomic ops config BR2_PACKAGE_LIBDRM_INTEL bool "intel"
package/mesa3d/Config.in +2 -0
@@ -44,6 +44,7 @@ config BR2_PACKAGE_MESA3D_NEEDS_XA bool comment "Gallium drivers" +depends on !BR2_sparc_v8 # drivers need atomic ops config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU bool "Gallium nouveau driver"
@@ -93,6 +94,7 @@ comment "DRI drivers need X.Org" if BR2_PACKAGE_XORG7 comment "DRI drivers" +depends on !BR2_sparc_v8 # drivers need atomic ops config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST bool "DRI swrast driver"
package/x11r7/xdriver_xf86-video-ati/Config.in +1 -0
@@ -2,6 +2,7 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI bool "xf86-video-ati" depends on BR2_PACKAGE_MESA3D depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm -> libpthread-stubs + depends on !BR2_sparc_v8 # drivers need atomic ops select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM_RADEON select BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
package/x11r7/xdriver_xf86-video-nouveau/Config.in +1 -0
@@ -1,6 +1,7 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU bool "xf86-video-nouveau" depends on BR2_PACKAGE_MESA3D + depends on !BR2_sparc_v8 # drivers need atomic ops select BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM_NOUVEAU
Signature · 1 line
1.7.10.4
PATCH v2 1/1 libdrm: disable drivers for sparcv8
Hello,
Quoted 6 lines · Waldemar Brodkorb
The drivers use atomic ops as CAS, which fails
to compile for sparcv8, but works fine for leon3.Fixes following autobuild error:
http://autobuild.buildroot.net/results/fa0ac44d3c7953b2e2afa03cd7570d8a5d49fcc4/
Quoted 7 lines
Disable all sub packages using the DRM drivers.
As SPARC systems normally have SBUS graphic cards and I think nobody cares about 3D graphics on these machines, all gallium drivers are disabled for simplification, even if swrast might be used.
Signed-off-by Waldemar Brodkorb <[email protected]>
I've sent what I believe is a better patch, which makes libdrm drivers build on SPARCv8 using libatomic_ops. See
http://patchwork.ozlabs.org/patch/626636/.
I've marked your previous patch as Superseded.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com