* [Buildroot] [PATCH 1/1] package/mesa3d: add support for gallium i915 driver
@ 2020-02-08 7:42 James Hilliard
2020-02-09 10:06 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2020-02-08 7:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/mesa3d/Config.in | 12 ++++++++++++
package/mesa3d/mesa3d.mk | 1 +
2 files changed, 13 insertions(+)
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index 94e3f2cb9e..3da5fd3737 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -113,6 +113,18 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO
help
Mesa driver for Freedreno GPUs.
+config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915
+ bool "Gallium i915 driver"
+ depends on BR2_i386 || BR2_x86_64
+ depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
+ select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
+ select BR2_PACKAGE_LIBDRM_INTEL
+ help
+ Support for i915-based Intel GPUs.
+
+comment "Gallium i915: Only one i915 provider can be built"
+ depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
+
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS
bool "Gallium iris driver"
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index 1a18cf3c58..7fb07ae05c 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -74,6 +74,7 @@ endif
#Gallium Drivers
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += etnaviv
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO) += freedreno
+MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915) += i915
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS) += iris
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO) += kmsro
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) += lima
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/mesa3d: add support for gallium i915 driver
2020-02-08 7:42 [Buildroot] [PATCH 1/1] package/mesa3d: add support for gallium i915 driver James Hilliard
@ 2020-02-09 10:06 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2020-02-09 10:06 UTC (permalink / raw)
To: buildroot
James, All,
On 2020-02-08 00:42 -0700, James Hilliard spake thusly:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> package/mesa3d/Config.in | 12 ++++++++++++
> package/mesa3d/mesa3d.mk | 1 +
> 2 files changed, 13 insertions(+)
>
> diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
> index 94e3f2cb9e..3da5fd3737 100644
> --- a/package/mesa3d/Config.in
> +++ b/package/mesa3d/Config.in
> @@ -113,6 +113,18 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO
> help
> Mesa driver for Freedreno GPUs.
>
> +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915
> + bool "Gallium i915 driver"
> + depends on BR2_i386 || BR2_x86_64
> + depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
> + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
> + select BR2_PACKAGE_LIBDRM_INTEL
> + help
> + Support for i915-based Intel GPUs.
> +
> +comment "Gallium i915: Only one i915 provider can be built"
> + depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
We also want to hide the comment when the architecture is not x86, so I
added the missign dependency on x86.
Applied to master with that fixed, thanks.
Regards,
Yann E. MORIN.
> config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS
> bool "Gallium iris driver"
> select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
> diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
> index 1a18cf3c58..7fb07ae05c 100644
> --- a/package/mesa3d/mesa3d.mk
> +++ b/package/mesa3d/mesa3d.mk
> @@ -74,6 +74,7 @@ endif
> #Gallium Drivers
> MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += etnaviv
> MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO) += freedreno
> +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915) += i915
> MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS) += iris
> MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO) += kmsro
> MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) += lima
> --
> 2.20.1
>
> _______________________________________________
> 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 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-09 10:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-08 7:42 [Buildroot] [PATCH 1/1] package/mesa3d: add support for gallium i915 driver James Hilliard
2020-02-09 10:06 ` 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;
as well as URLs for NNTP newsgroup(s).