Re: [Linaro-mm-sig] [PATCH] dma-buf: add meta data attachment

2014-03-24 Thread Daniel Vetter
Hi all, Adding piles more people. For the first case of caching the iommu mapping there's different answers, depening upon the exact case: 1) You need to fix your userspace to not constantly re-establish the sharing. 2) We need to add streaming dma support for real to dma-bufs so that the mappi

Re: DTV-Scan-tables tarballs not generated properly

2014-03-24 Thread Olliver Schinagl
On 03/23/2014 03:58 PM, Mauro Carvalho Chehab wrote: Em Sun, 23 Mar 2014 11:14:13 +0100 Olliver Schinagl escreveu: Hey Mauro, Hope everything is well. People have noticed that the tarballs for the dtv-scan-tables aren't being generated properly. The 'LATEST' appears to be correct, but there

EM2860 + SAA7113 + STAC9752 no have sound

2014-03-24 Thread Evgeny Sagatov
Hi! I have the EasyCap device with EM2860 + SAA7113 + STAC9752 chips. Video from composite and from S-Video operate great. But I not have the sound. I do not see any errors in my logs. I tried VLC and gstreamer for open alsa device with any rates and options. I work on Ubuntu 12.04 and tried 3.2,

Re: DTV-Scan-tables tarballs not generated properly

2014-03-24 Thread Mauro Carvalho Chehab
Em Mon, 24 Mar 2014 10:21:46 +0100 Olliver Schinagl escreveu: > On 03/23/2014 03:58 PM, Mauro Carvalho Chehab wrote: > > Em Sun, 23 Mar 2014 11:14:13 +0100 > > Olliver Schinagl escreveu: > > > >> Hey Mauro, > >> > >> Hope everything is well. > >> > >> People have noticed that the tarballs for th

[PATCH] next-20140324 drivers/staging/media/sn9c102/sn9c102_hv7131r.c fix style warnings flagged by checkpatch.pl.

2014-03-24 Thread Mike Sampson
Signed-off-by: Mike Sampson --- drivers/staging/media/sn9c102/sn9c102_hv7131r.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/staging/media/sn9c102/sn9c102_hv7131r.c b/drivers/staging/media/sn9c102/sn9c102_hv7131r.c index 26a9111..51b24e

[PATCH] saa7134: automatic norm detection

2014-03-24 Thread Mikhail Domrachev
saa7134: automatic norm detection switched on saa7134: vidioc_querystd added saa7134: notification about TV norm changes via V4L2 event interface added videodev2: new event type added Signed-off-by: Mikhail Domrachev --- drivers/media/pci/saa7134/saa7134-empress.c | 1 + drivers/media/pci/saa

[PATCH] Documentation: media: Remove double 'struct'

2014-03-24 Thread Laurent Pinchart
The XML entities for media structures start with the 'struct' word. Remove duplicate 'struct' from the entity users. Reported-by: Hans Verkuil Signed-off-by: Laurent Pinchart --- Documentation/DocBook/media/v4l/io.xml | 2 +- Documentation/DocBook/media/v4l/media-ioc-enum-link

Re: EM2860 + SAA7113 + STAC9752 no have sound

2014-03-24 Thread Evgeny Sagatov
This is operate great if before connect devices I execute: sudo rmmod em28xx_rc sudo rmmod em28xx sudo modprobe em28xx card=2,2,2,2 24.03.2014, 13:54, "Evgeny Sagatov" : > Hi! > > I have the EasyCap device with EM2860 + SAA7113 + STAC9752 chips. > Video from composite and from S-Video operate gre

Re: [PATCH] Documentation: media: Remove double 'struct'

2014-03-24 Thread Sakari Ailus
On Mon, Mar 24, 2014 at 01:48:13PM +0100, Laurent Pinchart wrote: > The XML entities for media structures start with the 'struct' word. > Remove duplicate 'struct' from the entity users. > > Reported-by: Hans Verkuil > Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus -- Sakari Ailus e-

Fwd: cx23885-dvb.c:undefined reference to `tda18271_attach'

2014-03-24 Thread Peter Senna Tschudin
Hi, I'm being blamed for some bugs for more than one year, and this weekend I was able to reproduce the error for the first time. I have the impression that the issue is related to Kconfig because when compiling the Kernel for x86(not x86_64), and when: CONFIG_VIDEO_CX23885=y and CONFIG_MEDIA_TU

why frameformat instead pixelformat?

2014-03-24 Thread Tom
Hello, while reading into the media-api issue I found out that for configuring the entity pads a frameformat is used. For that I found the negotiation rfc of that topic, but I don't really get the relevance of a frameformat. http://www.spinics.net/lists/linux-media/msg10006.html Can anyone ex

[PATCH] v4l2-pci-skeleton: fix typo while retrieving the skel_buffer

2014-03-24 Thread Lad, Prabhakar
From: "Lad, Prabhakar" Signed-off-by: Lad, Prabhakar --- Documentation/video4linux/v4l2-pci-skeleton.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/video4linux/v4l2-pci-skeleton.c b/Documentation/video4linux/v4l2-pci-skeleton.c index 3a1c0d2..61a56f4 100

How to build I2C_MUX in media_build as rtl28xxu depends on it ?

2014-03-24 Thread Jan Hoogenraad
After recent changes, I cannot build rtl28xxu on systems with linux 2.6.32 or 3.2.0. rtl28xxu is one of the few drivers depending on I2C_MUX. Kconfig.kern lists I2C_MUX (correctly) as not in the kernel of the system. I don't know if it is possible to load a new module for that. Who can help me w

Re: randconfig build error with next-20140324, in drivers/media/tuners/e4000.c

2014-03-24 Thread Antti Palosaari
Already fixed https://patchwork.linuxtv.org/patch/23115/ On 24.03.2014 20:38, Jim Davis wrote: Building with the attached random configuration file, warning: (DVB_USB_RTL28XXU) selects MEDIA_TUNER_E4000 which has unmet direct dependencies ((MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT ||

Re: [PATCH 4/5] em28xx: remove function em28xx_compression_disable() and its call

2014-03-24 Thread Frank Schäfer
Am 22.03.2014 14:01, schrieb Frank Schäfer: > em28xx_compression_disable() is a single line function which is called only > one > time and this call also isn't needed. > Register 0x26 is always configured as part of the scaler configuration, which > in turn is always done when the resolution chan

[PATCH v2 4/5] em28xx: remove function em28xx_compression_disable() and its call

2014-03-24 Thread Frank Schäfer
em28xx_compression_disable() is a single line function which is called only one time and this call also isn't needed. Register 0x26 is always configured as part of the scaler configuration, which in turn is always done when the resolution changes. And the initial resolution setting is applied at fi

Re: How to build I2C_MUX in media_build as rtl28xxu depends on it ?

2014-03-24 Thread Antti Palosaari
On 24.03.2014 20:08, Jan Hoogenraad wrote: After recent changes, I cannot build rtl28xxu on systems with linux 2.6.32 or 3.2.0. rtl28xxu is one of the few drivers depending on I2C_MUX. Kconfig.kern lists I2C_MUX (correctly) as not in the kernel of the system. I don't know if it is possible to l

[PATCH 00/19] em28xx: clean up the main device struct and move sub-module specific data to its own data structs

2014-03-24 Thread Frank Schäfer
This patch series cleans up the main device struct of the em28xx driver. Most of the patches (patches 3-16) are about moving the em28xx-v4l specific data to it's own dynamically allocated data structure. Patch 19 moves two em28xx-alsa specific fields to the em28xx_audio struct. Patches 17 and 18 r

[PATCH 02/19] em28xx-video: simplify usage of the pointer to struct v4l2_ctrl_handler in em28xx_v4l2_init()

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index 9df1826..45ad471 100644 --- a/driver

[PATCH 01/19] em28xx: move sub-module data structs to a common place in the main struct

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx.h | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h index 4beb1fa..9a3c496 100644 --- a/drivers/media/usb/em28xx/em28xx.h +++ b/dri

[PATCH 04/19] em28xx: move struct v4l2_ctrl_handler ctrl_handler from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c | 13 + drivers/media/usb/em28xx/em28xx.h | 3 ++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index 8

[PATCH 07/19] em28xx: move videobuf2 related data from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-cards.c | 2 -- drivers/media/usb/em28xx/em28xx-video.c | 15 +-- drivers/media/usb/em28xx/em28xx.h | 12 ++-- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/drivers/media/usb/em28xx/em28

[PATCH 06/19] em28xx: move video_device structs from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c | 120 ++-- drivers/media/usb/em28xx/em28xx.h | 7 +- 2 files changed, 56 insertions(+), 71 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/e

[PATCH 15/19] em28xx: move v4l2 user counting fields from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c | 27 +++ drivers/media/usb/em28xx/em28xx.h | 5 +++-- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28x

[PATCH 12/19] em28xx: move progressive/interlaced fields from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-cards.c | 2 -- drivers/media/usb/em28xx/em28xx-video.c | 27 +-- drivers/media/usb/em28xx/em28xx.h | 10 +- 3 files changed, 22 insertions(+), 17 deletions(-) diff --git a/drivers/media/usb/e

[PATCH 19/19] em28xx: move fields wq_trigger and streaming_started from struct em28xx to struct em28xx_audio

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-audio.c | 39 ++--- drivers/media/usb/em28xx/em28xx.h | 8 +++ 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-audio.c b/drivers/media/usb/em28

[PATCH 11/19] em28xx: move struct em28xx_fmt *format from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c | 14 +++--- drivers/media/usb/em28xx/em28xx.h | 3 +-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index 8

[PATCH 08/19] em28xx: move v4l2 frame resolutions and scale data from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-vbi.c | 10 +++-- drivers/media/usb/em28xx/em28xx-video.c | 80 +++-- drivers/media/usb/em28xx/em28xx.h | 16 --- 3 files changed, 61 insertions(+), 45 deletions(-) diff --git a/drivers/media

[PATCH 17/19] em28xx: remove field tda9887_conf from struct em28xx

2014-03-24 Thread Frank Schäfer
The tda9887 configuration is already stored in the board data, and it is used only one time by the v4l2 sub-module at tuner setup. Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-cards.c | 3 --- drivers/media/usb/em28xx/em28xx-video.c | 6 +++--- drivers/media/usb/em28xx/em28xx

[PATCH 09/19] em28xx: move vinmode and vinctrl data from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-camera.c | 16 drivers/media/usb/em28xx/em28xx-video.c | 10 +- drivers/media/usb/em28xx/em28xx.h| 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/media/usb/em28x

[PATCH 05/19] em28xx: move struct v4l2_clk *clk from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-camera.c | 11 ++- drivers/media/usb/em28xx/em28xx-video.c | 6 +++--- drivers/media/usb/em28xx/em28xx.h| 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-camer

[PATCH 14/19] em28xx: move capture state tracking fields from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c | 44 + drivers/media/usb/em28xx/em28xx.h | 13 +- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/e

[PATCH 10/19] em28xx: move TV norm from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c | 35 ++--- drivers/media/usb/em28xx/em28xx.h | 3 ++- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/e

[PATCH 18/19] em28xx: remove field tuner_addr from struct em28xx

2014-03-24 Thread Frank Schäfer
The tuner address is only used by the v4l submodule and at tuner setup and can be obtained from the board data directly (if specified). Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-cards.c | 2 -- drivers/media/usb/em28xx/em28xx-video.c | 17 - drivers/media/

[PATCH 13/19] em28xx: move sensor parameter fields from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-camera.c | 20 ++-- drivers/media/usb/em28xx/em28xx-video.c | 6 -- drivers/media/usb/em28xx/em28xx.h| 10 ++ 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/drivers/media/usb/e

[PATCH 16/19] em28xx: move tuner frequency field from struct em28xx to struct v4l2

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c | 16 +--- drivers/media/usb/em28xx/em28xx.h | 3 ++- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c inde

[PATCH 03/19] em28xx: start moving em28xx-v4l specific data to its own struct

2014-03-24 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-camera.c | 4 +- drivers/media/usb/em28xx/em28xx-video.c | 160 +-- drivers/media/usb/em28xx/em28xx.h| 8 +- 3 files changed, 116 insertions(+), 56 deletions(-) diff --git a/drivers/media/us

Re: cx23885-dvb.c:undefined reference to `tda18271_attach'

2014-03-24 Thread Mauro Carvalho Chehab
Hi Peter, Em Mon, 24 Mar 2014 16:34:17 +0100 Peter Senna Tschudin escreveu: > Hi, > > I'm being blamed for some bugs for more than one year, and this > weekend I was able to reproduce the error for the first time. I have > the impression that the issue is related to Kconfig because when > compi

[PATCH] m88rs2000: fix sparse static warnings.

2014-03-24 Thread Malcolm Priestley
warnings m88rs2000.c:300:16: warning: symbol 'm88rs2000_setup' was not declared. Should it be static? m88rs2000.c:318:16: warning: symbol 'm88rs2000_shutdown' was not declared. Should it be static? m88rs2000.c:328:16: warning: symbol 'fe_reset' was not declared. Should it be static? m88rs2000.c

[linuxtv-media:master 248/499] WARNING: adding a line without newline at end of file

2014-03-24 Thread kbuild test robot
tree: git://linuxtv.org/media_tree.git master head: 8432164ddf7bfe40748ac49995356ab4dfda43b7 commit: b240eacdd536bac23c9d48dfc3d527ed6870ddad [248/499] [media] drx-j: get rid of drx_driver.c scripts/checkpatch.pl 0001-media-drx-j-get-rid-of-drx_driver.c.patch # many are suggestions rather tha

Re: [PATCH RFC v2 2/6] drm/i2c: tda998x: Move tda998x to a couple encoder/connector

2014-03-24 Thread Laurent Pinchart
Hi Jean-François, Thank you for the patch. On Friday 21 March 2014 09:17:32 Jean-Francois Moine wrote: > The 'slave encoder' structure of the tda998x driver asks for glue > between the DRM driver and the encoder/connector structures. > > This patch changes the driver to a normal DRM encoder/conn

[PATCH 1/1] media/usb/gspca: Add support for Scopium astro webcam (0547:7303)

2014-03-24 Thread Robert Butora
This patch does not modify existing drivers. It adds subdriver to gspca for DTCS033 (Scopium) webcam for astrophotography. The patch adds dtcs033.c and modifies Kconfig and Makefile. Signed-off-by: Robert Butora --- drivers/media/usb/gspca/Kconfig | 10 + drivers/media/usb/gspca/Makefile |

[linuxtv-media:master 453/499] WARNING: Comparing jiffies is almost always wrong; prefer time_after, time_before and friends

2014-03-24 Thread kbuild test robot
tree: git://linuxtv.org/media_tree.git master head: 8432164ddf7bfe40748ac49995356ab4dfda43b7 commit: 3d0c8fa3c5a0f9ffc4c3e8b4625ddeb875aee50b [453/499] [media] msi3101: convert to SDR API scripts/checkpatch.pl 0001-media-msi3101-convert-to-SDR-API.patch # many are suggestions rather than must

Re: [PATCH 1/5] rc-main: add generic scancode filtering

2014-03-24 Thread David Härdeman
On Fri, Feb 28, 2014 at 11:17:02PM +, James Hogan wrote: >Add generic scancode filtering of RC input events, and fall back to >permitting any RC_FILTER_NORMAL scancode filter to be set if no s_filter >callback exists. This allows raw IR decoder events to be filtered, and >potentially allows har

Re: [PATCH v2 0/9] rc: Add IR encode based wakeup filtering

2014-03-24 Thread David Härdeman
On Mon, Mar 17, 2014 at 10:34:25PM +, James Hogan wrote: >It's ambiguous the other way too (which is probably a strong point against >having actual protocol bits for each NEC variant, since they only differ in >how the scancode is constructed). E.g. the Tivo keymap is 32-bit NEC, but has >ex

cron job: media_tree daily build: OK

2014-03-24 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Tue Mar 25 04:00:19 CET 2014 git branch: test git hash: 8432164ddf7bfe40748ac49995356ab4dfda43b7 gcc versio

[PATCH] [media] uvcvideo: Fix marking buffer erroneous in case of FID toggling

2014-03-24 Thread Anton Leontiev
Set error bit for incomplete buffers when end of buffer is detected by FID toggling (for example when last transaction with EOF is lost). This prevents passing incomplete buffers to the userspace. Signed-off-by: Anton Leontiev --- drivers/media/usb/uvc/uvc_video.c | 21 +++-- 1 f

[GIT PULL FOR v3.15] Davinci media fixes

2014-03-24 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches which are fixes for various davinci media drivers. Thanks, --Prabhakar Lad The following changes since commit 8432164ddf7bfe40748ac49995356ab4dfda43b7: [media] Sensoray 2255 uses videobuf2 (2014-03-24 17:23:43 -0300) are available in the git reposi