All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] weston: disable v4l simple dmabuf for headers < 3.8
@ 2016-04-20 16:54 Gustavo Zacarias
  2016-04-21 21:26 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2016-04-20 16:54 UTC (permalink / raw)
  To: buildroot

It uses VIDIOC_EXPBUF which only came to light with kernel 3.8, so
disable it if headers are older. Fixes:
http://autobuild.buildroot.net/results/7fb/7fb9968b13f144c4576b28ecd01c82b74e4ed9d5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/weston/weston.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index 1f31097..052784e 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -26,6 +26,11 @@ WESTON_CONF_OPTS = \
 WESTON_MAKE_OPTS = \
 	WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols
 
+# Uses VIDIOC_EXPBUF, only available from 3.8+
+ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8),)
+WESTON_CONF_OPTS += --disable-simple-dmabuf-v4l-client
+endif
+
 ifeq ($(BR2_PACKAGE_DBUS),y)
 WESTON_CONF_OPTS += --enable-dbus
 WESTON_DEPENDENCIES += dbus
-- 
2.7.3

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

* [Buildroot] [PATCH] weston: disable v4l simple dmabuf for headers < 3.8
  2016-04-20 16:54 [Buildroot] [PATCH] weston: disable v4l simple dmabuf for headers < 3.8 Gustavo Zacarias
@ 2016-04-21 21:26 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-04-21 21:26 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 20 Apr 2016 13:54:43 -0300, Gustavo Zacarias wrote:
> It uses VIDIOC_EXPBUF which only came to light with kernel 3.8, so
> disable it if headers are older. Fixes:
> http://autobuild.buildroot.net/results/7fb/7fb9968b13f144c4576b28ecd01c82b74e4ed9d5/
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  package/weston/weston.mk | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to master, thanks.

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

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

end of thread, other threads:[~2016-04-21 21:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-20 16:54 [Buildroot] [PATCH] weston: disable v4l simple dmabuf for headers < 3.8 Gustavo Zacarias
2016-04-21 21:26 ` 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.