Skip to contentSkip to conversation

libdrm: add etnaviv (i.MX6/Vivante GCxxx) option

PATCH New Peter Seiderer 4 participants 7 messages Oct 4, 2016 – Oct 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libdrm: add etnaviv (i.MX6/Vivante GCxxx) option

---
 package/libdrm/Config.in | 8 ++++++++
 package/libdrm/libdrm.mk | 6 ++++++
 2 files changed, 14 insertions(+)
package/libdrm/Config.in +8 -0
index 3f39e27..81fc5cc 100644
@@ -62,6 +62,14 @@ config BR2_PACKAGE_LIBDRM_OMAP
 	help
 	  Install the TI OMAP driver using an experimental API.
 
+config BR2_PACKAGE_LIBDRM_ETNAVIV
+	bool "etnaviv (experimental)"
+	depends on BR2_arm
+	depends on BR2_PACKAGE_LIBDRM_HAS_ATOMIC
+	select BR2_PACKAGE_LIBDRM_ENABLE_ATOMIC
+	help
+	  Install the Etnaviv/Vivante driver using an experimental API.
+
 config BR2_PACKAGE_LIBDRM_EXYNOS
 	bool "exynos (experimental)"
 	depends on BR2_arm
package/libdrm/libdrm.mk +6 -0
index d06f3ec..cce5023 100644
@@ -65,6 +65,12 @@ else
 LIBDRM_CONF_OPTS += --disable-omap-experimental-api
 endif
 
+ifeq ($(BR2_PACKAGE_LIBDRM_ETNAVIV),y)
+LIBDRM_CONF_OPTS += --enable-etnaviv-experimental-api
+else
+LIBDRM_CONF_OPTS += --disable-etnaviv-experimental-api
+endif
+
 ifeq ($(BR2_PACKAGE_LIBDRM_EXYNOS),y)
 LIBDRM_CONF_OPTS += --enable-exynos-experimental-api
 else
Signature · 1 line
2.8.1
#2 lore raw

PATCH 1/1 libdrm: add etnaviv (i.MX6/Vivante GCxxx) option

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Estevam <[email protected]> writes:

Hi Peter,

Quoted 1 line · Peter Seiderer
Quoted 7 lines

Glad to see your patch! I was about to write the same.

Should we add a mesa-etnaviv package (from
https://github.com/etnaviv/mesa/commits/12.0_etnaviv) in Buildroot while etnaviv is not yet supported in mainline mesa?

Any opinions?

If there is interest and the mesa support isn't expected to get merged / released soon - Then yeah, why not?

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 1/1 libdrm: add etnaviv (i.MX6/Vivante GCxxx) option

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Estevam <[email protected]> writes:

Hi,

Quoted 8 lines
Quoted 2 lines

If there is interest and the mesa support isn't expected to get merged / released soon - Then yeah, why not?

According to this message in the mesa list:
https://lists.freedesktop.org/archives/mesa-dev/2016-October/130489.html

, we should have etnaviv support into 12.1, so I will wait for 12.1 to be released.

Great, thanks!

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard 
#6 lore raw

PATCH 1/1 libdrm: add etnaviv (i.MX6/Vivante GCxxx) option

In reply to Peter Seiderer

Hello,

Quoted 5 lines · Peter Seiderer
---
 package/libdrm/Config.in | 8 ++++++++
 package/libdrm/libdrm.mk | 6 ++++++
 2 files changed, 14 insertions(+)

Applied to master, thanks.

Thomas

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