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

2014-03-25 Thread Seung-Woo Kim
Hi all, On 2014년 03월 24일 16:35, Daniel Vetter wrote: 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

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

2014-03-25 Thread James Hogan
On Tuesday 25 March 2014 00:51:46 David Härdeman wrote: 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

[PATCH v2 0/3] [media] atmel-isi: Add DT support for Atmel ISI driver

2014-03-25 Thread Josh Wu
This patch series add DT support for atmel ISI driver. It can support the common v4l2 DT interfaces. v1 -- v2: modified the device tree binding document to remove the a optional property. Josh Wu (3): [media] atmel-isi: add v4l2 async probe support [media] atmel-isi: convert the pdata from

[PATCH v2 1/3] [media] atmel-isi: add v4l2 async probe support

2014-03-25 Thread Josh Wu
Signed-off-by: Josh Wu josh...@atmel.com --- v1 -- v2: no change. drivers/media/platform/soc_camera/atmel-isi.c |5 + include/media/atmel-isi.h |4 2 files changed, 9 insertions(+) diff --git a/drivers/media/platform/soc_camera/atmel-isi.c

[PATCH v2 2/3] [media] atmel-isi: convert the pdata from pointer to structure

2014-03-25 Thread Josh Wu
Now the platform data is initialized by allocation of isi structure. In the future, we use pdata to store the dt parameters. Signed-off-by: Josh Wu josh...@atmel.com --- v1 -- v2: no change. drivers/media/platform/soc_camera/atmel-isi.c | 22 +++--- 1 file changed, 11

[PATCH v2 3/3] [media] atmel-isi: add primary DT support

2014-03-25 Thread Josh Wu
This patch add the DT support for Atmel ISI driver. It use the same v4l2 DT interface that defined in video-interfaces.txt. Signed-off-by: Josh Wu josh...@atmel.com Cc: devicet...@vger.kernel.org --- v1 -- v2: refine the binding document. add port node description. removed the optional

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

2014-03-25 Thread Daniel Vetter
On Tue, Mar 25, 2014 at 06:21:34PM +0900, Seung-Woo Kim wrote: Hi all, On 2014년 03월 24일 16:35, Daniel Vetter wrote: 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

Re: [PATCH 4/6] v4l: vsp1: Add DT support

2014-03-25 Thread Laurent Pinchart
Hello, Gentle ping. I'll send a pull request in a week if I don't receive any comment on the DT bindings in the meantime. On Wednesday 05 March 2014 20:30:27 Laurent Pinchart wrote: Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com ---

Re: [PATCH] saa7134: automatic norm detection

2014-03-25 Thread Mikhail Domrachev
Sorry, I forgot to add the maintainer to the recipients. 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

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

2014-03-25 Thread Jean-Francois Moine
On Mon, 24 Mar 2014 23:39:01 +0100 Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Jean-François, Hi Laurent, 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

[microblaze:master-next-test 22/78] drivers/media/v4l2-core/v4l2-compat-ioctl32.c:1090:14: sparse: incompatible types for 'case' statement

2014-03-25 Thread kbuild test robot
tree: git://git.monstr.eu/linux-2.6-microblaze master-next-test head: 4b7d2ed82a743f8f3f7fe09904e154e7b3f5d5e8 commit: f71a8a643dfe0bfc514b3223a440f0f4e4b9f39d [22/78] v4l2: add VIDIOC_G/S_EDID support to the v4l2 core reproduce: make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones

[PATCH 03/11] libdvbv5: mpeg elementary stream parsers

2014-03-25 Thread André Roth
Implement parsers for mpeg TS, PES and ES Signed-off-by: André Roth neol...@gmail.com --- lib/include/descriptors/mpeg_es.h | 109 + lib/include/descriptors/mpeg_pes.h | 111 + lib/include/descriptors/mpeg_ts.h | 79

[PATCH 01/11] libdvbv5: support info info log via dvb_loginfo

2014-03-25 Thread André Roth
dvb_loginfo log support without setting output color. Signed-off-by: André Roth neol...@gmail.com --- lib/include/dvb-log.h | 3 +++ lib/libdvbv5/dvb-log.c | 26 +- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/lib/include/dvb-log.h

[PATCH 02/11] libdvbv5: fix asprintf compile warnings

2014-03-25 Thread André Roth
- allow logging in dvb_vchannel - get rid of compile warings about unused asprintf return value Signed-off-by: André Roth neol...@gmail.com --- lib/libdvbv5/dvb-demux.c | 8 ++-- lib/libdvbv5/dvb-fe.c| 8 ++-- lib/libdvbv5/dvb-file.c | 31 +--

[PATCH 10/11] libdvbv5: add parser for ca and ca_identifier descriptors

2014-03-25 Thread André Roth
Signed-off-by: André Roth neol...@gmail.com --- lib/include/libdvbv5/desc_ca.h| 63 ++ lib/include/libdvbv5/desc_ca_identifier.h | 55 +++ lib/libdvbv5/Makefile.am | 10 +++-- lib/libdvbv5/descriptors.c

[PATCH 09/11] libdvbv5: add parser for CAT

2014-03-25 Thread André Roth
Signed-off-by: André Roth neol...@gmail.com --- lib/include/libdvbv5/cat.h | 51 ++ lib/libdvbv5/Makefile.am | 2 ++ lib/libdvbv5/descriptors.c | 2 ++ lib/libdvbv5/descriptors/cat.c | 72 ++ 4 files changed, 127

[PATCH 11/11] libdvbv5: fix PMT parser

2014-03-25 Thread André Roth
- check for correct table ID - parse all descriptos - improve table printing Signed-off-by: André Roth neol...@gmail.com --- lib/include/libdvbv5/pmt.h | 10 -- lib/libdvbv5/descriptors/pmt.c | 80 -- 2 files changed, 61 insertions(+), 29

[PATCH 08/11] libdvbv5: add attribute packed to structs and unions

2014-03-25 Thread André Roth
__attribute__((packed)) is needed for nested structs and unions to get the correct size. Signed-off-by: André Roth neol...@gmail.com --- lib/include/libdvbv5/atsc_header.h| 2 +- lib/include/libdvbv5/desc_atsc_service_location.h | 4 ++--

[PATCH 04/11] libdvbv5: fix EIT parsing

2014-03-25 Thread André Roth
the dvb_table_eit_event now contains the service_id, indicating where the events belong to. Signed-off-by: André Roth neol...@gmail.com --- lib/include/descriptors/eit.h | 3 ++- lib/libdvbv5/descriptors/eit.c | 35 ++- 2 files changed, 28 insertions(+), 10

[PATCH 06/11] libdvbv5: remove header files from SOURCES in Makefile.am

2014-03-25 Thread André Roth
The header files are not needed in the Makefile.am since automake finds the dependencies automatically. This is not needed for installing header files either. Signed-off-by: André Roth neol...@gmail.com --- lib/libdvbv5/Makefile.am | 87 1 file

[PATCH 07/11] libdvbv5: fix dvb_parse_descriptors and make dvb_desc_init private

2014-03-25 Thread André Roth
- set list pointer to NULL in case of an error - improve size checking - dvb_desc_init is used only internal, remove from header Signed-off-by: André Roth neol...@gmail.com --- lib/include/libdvbv5/descriptors.h | 2 -- lib/libdvbv5/descriptors.c | 44

[PATCH 0/5] s5p-fimc: Misc fixes

2014-03-25 Thread Nicolas Dufresne
This patch series fixes several bugs found in the s5p-fimc driver. These bugs relate to bad parameters in the formats definition and short size of image buffers. Nicolas Dufresne (5): s5p-fimc: Reuse calculated sizes s5p-fimc: Iterate for each memory plane s5p-fimc: Align imagesize to row

[PATCH 1/5] s5p-fimc: Changed RGB32 to BGR32

2014-03-25 Thread Nicolas Dufresne
Testing showed that HW produces BGR32 rather then RGB32 as exposed in the driver. The documentation seems to state the pixels are stored in little endian order. Signed-off-by: Nicolas Dufresne nicolas.dufre...@collabora.com --- drivers/media/platform/exynos4-is/fimc-core.c | 4 ++-- 1 file

[PATCH 2/5] s5p-fimc: Fix YUV422P depth

2014-03-25 Thread Nicolas Dufresne
All YUV 422 has 16bit per pixels. Signed-off-by: Nicolas Dufresne nicolas.dufre...@collabora.com --- drivers/media/platform/exynos4-is/fimc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos4-is/fimc-core.c

[PATCH 3/5] s5p-fimc: Align imagesize to row size for tiled formats

2014-03-25 Thread Nicolas Dufresne
For tiled format, we need to allocated a multiple of the row size. A good example is for 1280x720, wich get adjusted to 1280x736. In tiles, this mean Y plane is 20x23 and UV plane 20x12. Because of the rounding, the previous code would only have enough space to fit half of the last row.

Re: [PATCH 11/11] libdvbv5: fix PMT parser

2014-03-25 Thread Bjørn Mork
André Roth neol...@gmail.com writes: --- a/lib/libdvbv5/descriptors/pmt.c +++ b/lib/libdvbv5/descriptors/pmt.c @@ -1,6 +1,5 @@ /* - * Copyright (c) 2011-2012 - Mauro Carvalho Chehab - * Copyright (c) 2012 - Andre Roth neol...@gmail.com + * Copyright (c) 2013 - Andre Roth neol...@gmail.com

[PATCH 5/5] s5p-fimc: Reuse calculated sizes

2014-03-25 Thread Nicolas Dufresne
This formula did not take into account the required tiled alignement for NV12MT format. As this was already computed an stored in payload array initially, reuse that value. Signed-off-by: Nicolas Dufresne nicolas.dufre...@collabora.com --- drivers/media/platform/exynos4-is/fimc-m2m.c | 2 +- 1

[PATCH 1/5] s5p-fimc: Changed RGB32 to BGR32

2014-03-25 Thread Nicolas Dufresne
Testing showed that HW produces BGR32 rather then RGB32 as exposed in the driver. The documentation seems to state the pixels are stored in little endian order. Signed-off-by: Nicolas Dufresne nicolas.dufre...@collabora.com --- drivers/media/platform/exynos4-is/fimc-core.c | 4 ++-- 1 file

[PATCH 4/5] s5p-fimc: Iterate for each memory plane

2014-03-25 Thread Nicolas Dufresne
Depth and payload is defined per memory plane. It's better to iterate using number of memory planes. This was not causing much issue since the rest of the arrays involved where intialized to zero. Signed-off-by: Nicolas Dufresne nicolas.dufre...@collabora.com ---

[PATCH 2/5] s5p-fimc: Fix YUV422P depth

2014-03-25 Thread Nicolas Dufresne
All YUV 422 has 16bit per pixels. Signed-off-by: Nicolas Dufresne nicolas.dufre...@collabora.com --- drivers/media/platform/exynos4-is/fimc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos4-is/fimc-core.c

Re: [PATCH 11/11] libdvbv5: fix PMT parser

2014-03-25 Thread André Roth
On Tue, 25 Mar 2014 21:51:49 +0100 Bjørn Mork bj...@mork.no wrote: - * Copyright (c) 2011-2012 - Mauro Carvalho Chehab - * Copyright (c) 2012 - Andre Roth neol...@gmail.com + * Copyright (c) 2013 - Andre Roth neol...@gmail.com * * This program is free software; you can redistribute

Re: [PATCH v2] uvcvideo: Work around buggy Logitech C920 firmware

2014-03-25 Thread Laurent Pinchart
Hi William, On Tuesday 25 March 2014 22:56:33 William Manley wrote: On 13/03/14 12:38, William Manley wrote: The uvcvideo webcam driver exposes the v4l2 control Exposure (Absolute) which allows the user to control the exposure time of the webcam, essentially controlling the brightness of

Re: [PATCH v2] uvcvideo: Work around buggy Logitech C920 firmware

2014-03-25 Thread William Manley
On 13/03/14 12:38, William Manley wrote: The uvcvideo webcam driver exposes the v4l2 control Exposure (Absolute) which allows the user to control the exposure time of the webcam, essentially controlling the brightness of the received image. By default the webcam automatically adjusts the

Re: [PATCH v2] uvcvideo: Work around buggy Logitech C920 firmware

2014-03-25 Thread William Manley
On 25/03/14 23:03, Laurent Pinchart wrote: Hi William, On Tuesday 25 March 2014 22:56:33 William Manley wrote: On 13/03/14 12:38, William Manley wrote: The uvcvideo webcam driver exposes the v4l2 control Exposure (Absolute) which allows the user to control the exposure time of the webcam,

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

2014-03-25 Thread David Härdeman
On Tue, Mar 25, 2014 at 09:12:11AM +, James Hogan wrote: On Tuesday 25 March 2014 00:51:46 David Härdeman wrote: 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

[PATCH 0/3] Series short description

2014-03-25 Thread David Härdeman
The following series implements... --- David Härdeman (3): bt8xx: fixup RC5 decoding rc-core: improve ir-kbd-i2c get_key functions rc-core: document the protocol type drivers/media/i2c/ir-kbd-i2c.c | 91 +++---

Re: [PATCH 0/3] Series short description

2014-03-25 Thread David Härdeman
On Wed, Mar 26, 2014 at 12:39:23AM +0100, David Härdeman wrote: The following series implements... Nothing...sorry, I'll send the real patchset soon :) -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v4 00/10] media: rc: ImgTec IR decoder driver

2014-03-25 Thread David Härdeman
On Fri, Feb 28, 2014 at 11:28:50PM +, James Hogan wrote: Add a driver for the ImgTec Infrared decoder block. Two separate rc input devices are exposed depending on kernel configuration. One uses the hardware decoder which is set up with timings for a specific protocol and supports mask/value

[PATCH 1/3] bt8xx: fixup RC5 decoding

2014-03-25 Thread David Härdeman
The bt8xx driver does RC5 decoding for Nebula digi hardware, but includes some pointless limitations (both start bits must be one, the device/address/system must be 0x00). Remove those limitations and update the keymap to use the full RC5 scancode (fortunately the 0x00 address means that this is

[PATCH 0/3] rc-core: misc protocol related fixups

2014-03-25 Thread David Härdeman
Hi Mauro, the following three patches provides some cleanups and documentation that makes the scancode/protocol combination explicit in all drivers. The information (which is the result of a lot of time spent reading through the source/keymaps of all drivers which use rc-core...not so

[PATCH 3/3] rc-core: document the protocol type

2014-03-25 Thread David Härdeman
Right now the protocol information is not preserved, rc-core gets handed a scancode but has no idea which protocol it corresponds to. This patch (which required reading through the source/keymap for all drivers, not fun) makes the protocol information explicit which is important documentation and

[PATCH 2/3] rc-core: improve ir-kbd-i2c get_key functions

2014-03-25 Thread David Härdeman
The arguments used for ir-kbd-i2c's get_key() functions are not really suited for rc-core and the ir_raw/ir_key distinction is just confusing. Convert all of them to return a protocol/scancode/toggle triple instead. Signed-off-by: David Härdeman da...@hardeman.nu ---

[PATCH] adv7611: Set HPD GPIO direction to output

2014-03-25 Thread Laurent Pinchart
The HPD GPIO is used as an output but its direction is never set. Fix it. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) This patch applies on top of the ADV7611 support series queued for

cron job: media_tree daily build: OK

2014-03-25 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: Wed Mar 26 04:00:16 CET 2014 git branch: test git hash: 8432164ddf7bfe40748ac49995356ab4dfda43b7 gcc

Question about 'flush' operation in v4l2 m2m driver framework

2014-03-25 Thread m silverstri
Hi, I read this email thread regarding 'flush operation'in v4l2 m2m driver framework: http://www.spinics.net/lists/linux-media/msg42944.html To implement a 'flush' operation, I should implement support for 'V4L2_DEC_CMD_STOP' command. Is my understanding correct?/ But my currently just