[PATCH 2/3] [media] exynos4-is: Annotate unused functions

2013-08-01 Thread Sachin Kamat
__is_set_init_isp_aa and fimc_is_hw_set_tune currently do not have any callers. However these functions may be used in the future. Hence instead of deleting them, staticize and annotate them with __maybe_unused flag to avoid compiler warnings. Signed-off-by: Sachin Kamat --- drivers/media/platfo

[PATCH 3/3] [media] exynos4-is: Fix potential NULL pointer dereference

2013-08-01 Thread Sachin Kamat
dev->of_node could be NULL. Hence check for the same and return before dereferencing it in the subsequent error message. Signed-off-by: Sachin Kamat --- drivers/media/platform/exynos4-is/fimc-lite.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/exynos4-is/fimc-

[PATCH 1/3] [media] exynos4-is: Staticize local symbol

2013-08-01 Thread Sachin Kamat
__fimc_is_hw_update_param is used only in this file. Make it static. Signed-off-by: Sachin Kamat --- drivers/media/platform/exynos4-is/fimc-is-param.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos4-is/fimc-is-param.c b/drivers/media/platfor

Re: Doing a v4l-utils-1.0.0 release

2013-08-01 Thread Hans Verkuil
Hi Gregor, Let me know when you've branched 1.0.0. I want to merge Bård's work for qv4l2 (openGL support, upcoming audio support and other improvements), but I can't do that until after you made the 1.0.0 branch. Thanks! Hans On 08/01/2013 08:28 PM, Gregor Jasny wrote: > Hello, > > On

Re: [PATCH 2/2] videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table

2013-08-01 Thread Marek Szyprowski
Hello, On 7/19/2013 7:02 PM, Ricardo Ribalda Delgado wrote: Replace the private struct vb2_dma_sg_desc with the struct sg_table so we can benefit from all the helping functions in lib/scatterlist.c for things like allocating the sg or compacting the descriptor marvel-ccic and solo6x10 drivers,

Re: [PATCH] drm/exynos: Add check for IOMMU while passing physically continous memory flag

2013-08-01 Thread Vikas Sajjan
Hi Rob, On 2 August 2013 06:03, Rob Clark wrote: > On Thu, Aug 1, 2013 at 7:20 PM, Tomasz Figa wrote: >> Hi Vikas, >> >> On Thursday 01 of August 2013 16:49:32 Vikas Sajjan wrote: >>> While trying to get boot-logo up on exynos5420 SMDK which has eDP panel >>> connected with resolution 2560x1600,

Re: [PATCH 1/2] videobuf2-dma-sg: Allocate pages as contiguous as possible

2013-08-01 Thread Marek Szyprowski
Hello, On 7/19/2013 7:02 PM, Ricardo Ribalda Delgado wrote: Most DMA engines have limitations regarding the number of DMA segments (sg-buffers) that they can handle. Videobuffers can easily spread through houndreds of pages. In the previous aproach, the pages were allocated individually, this c

Re: [PATCH] drm/exynos: Add check for IOMMU while passing physically continous memory flag

2013-08-01 Thread Sachin Kamat
Hi Vikas, On 1 August 2013 16:49, Vikas Sajjan wrote: > While trying to get boot-logo up on exynos5420 SMDK which has eDP panel > connected with resolution 2560x1600, following error occured even with > IOMMU enabled: > [0.88] [drm:lowlevel_buffer_allocate] *ERROR* failed to allocate buffer.

Re: [PATCH] drm/exynos: Add check for IOMMU while passing physically continous memory flag

2013-08-01 Thread Sachin Kamat
Hi Vikas, On 2 August 2013 09:23, Vikas Sajjan wrote: > Hi Tomasz, > > > On 2 August 2013 04:50, Tomasz Figa wrote: >> >> Hi Vikas, >> >> On Thursday 01 of August 2013 16:49:32 Vikas Sajjan wrote: >> > While trying to get boot-logo up on exynos5420 SMDK which has eDP panel >> > connected with re

Re: [RFC v2 06/10] exynos5-fimc-is: Adds isp subdev

2013-08-01 Thread Arun Kumar K
Hi Sylwester, On Fri, Jun 21, 2013 at 4:55 AM, Sylwester Nawrocki wrote: > On 05/31/2013 03:03 PM, Arun Kumar K wrote: >> >> fimc-is driver takes video data input from the ISP video node >> which is added in this patch. This node accepts Bayer input >> buffers which is given from the IS sensors.

Re: [PATCH] drm/exynos: Add check for IOMMU while passing physically continous memory flag

2013-08-01 Thread Vikas Sajjan
Hi Tomasz, On 2 August 2013 04:50, Tomasz Figa wrote: > > Hi Vikas, > > On Thursday 01 of August 2013 16:49:32 Vikas Sajjan wrote: > > While trying to get boot-logo up on exynos5420 SMDK which has eDP panel > > connected with resolution 2560x1600, following error occured even with > > IOMMU enab

Re: mb86a20s and cx23885

2013-08-01 Thread Alfredo Jesús Delaiti
Hi El 01/08/13 15:48, Mauro Carvalho Chehab escribió: > This time it arrived fine, thanks! > > Btw, those changes at mb86a20s are required for it to work, or just alters > somewhat the tuning? > > Regards, > Mauro Without these changes do not work. With the original controller I get: mb86a20s: m

[PATCH v5 5/9] v4l: Add media format codes for ARGB8888 and AYUV8888 on 32-bit busses

2013-08-01 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart Reviewed-by: Sylwester Nawrocki --- Documentation/DocBook/media/v4l/subdev-formats.xml | 609 + Documentation/DocBook/media_api.tmpl | 6 + include/uapi/linux/v4l2-mediabus.h | 6 +- 3 files changed, 254 insert

[PATCH v5 8/9] vsp1: Fix lack of the sink entity registration for enabled links

2013-08-01 Thread Laurent Pinchart
From: Katsuya Matsubara Each source entity maintains a pointer to the counterpart sink entity while an enabled link connects them. It should be managed by the setup_link callback in the media controller framework at runtime. However, enabled links which connect RPFs and WPFs that have an equivale

[PATCH v5 9/9] vsp1: Use the maximum number of entities defined in platform data

2013-08-01 Thread Laurent Pinchart
From: Katsuya Matsubara The VSP1 driver allows to define the maximum number of each module such as RPF, WPF, and UDS in a platform data definition. This suppresses operations for nonexistent or unused modules. Signed-off-by: Katsuya Matsubara Signed-off-by: Laurent Pinchart Acked-by: Sakari Ai

[PATCH v5 6/9] v4l: Add V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV61M formats

2013-08-01 Thread Laurent Pinchart
NV16M and NV61M are planar YCbCr 4:2:2 and YCrCb 4:2:2 formats with a luma plane followed by an interleaved chroma plane. The planes are not required to be contiguous in memory, and the formats can only be used with the multi-planar formats API. Signed-off-by: Laurent Pinchart Reviewed-by: Sylwes

[PATCH v5 2/9] Documentation: media: Clarify the VIDIOC_CREATE_BUFS format requirements

2013-08-01 Thread Laurent Pinchart
The VIDIOC_CREATE_BUFS ioctl takes a format argument that must contain a valid format supported by the driver. Clarify the documentation. Signed-off-by: Laurent Pinchart --- Documentation/DocBook/media/v4l/vidioc-create-bufs.xml | 15 --- 1 file changed, 8 insertions(+), 7 deletions(

[PATCH v5 3/9] videobuf2: Clarify queue_setup() and buf_prepare() usage documentation

2013-08-01 Thread Laurent Pinchart
Explain how the two operations must handle formats and validate buffer sizes when used with VIDIOC_CREATE_BUFS. Signed-off-by: Laurent Pinchart --- include/media/videobuf2-core.h | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/include/media/videobuf2-core.h b/incl

[PATCH v5 4/9] v4l: Fix V4L2_MBUS_FMT_YUV10_1X30 media bus pixel code value

2013-08-01 Thread Laurent Pinchart
The V4L2_MBUS_FMT_YUV10_1X30 code is documented as being equal to 0x2014, while the v4l2-mediabus.h header defines it as 0x2016. Fix the documentation. Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus --- Documentation/DocBook/media/v4l/subdev-formats.xml | 2 +- 1 file changed, 1 inserti

[PATCH v5 0/9] Renesas VSP1 driver

2013-08-01 Thread Laurent Pinchart
Hello, Here's the fifth version of the VSP1 engine (a Video Signal Processor found in several Renesas R-Car SoCs) driver. This version adds two additional documentation clarification patches that I hope won't trigger another round of review :-) The VSP1 is a video processing engine that includes

[PATCH v5 1/9] media: Add support for circular graph traversal

2013-08-01 Thread Laurent Pinchart
The graph traversal API (media_entity_graph_walk_*) doesn't support cyclic graphs and will fail to correctly walk a graph when circular links exist. Support circular graph traversal by checking whether an entity has already been visited before pushing it to the stack. Signed-off-by: Laurent Pincha

Re: [PATCH] drm/exynos: Add check for IOMMU while passing physically continous memory flag

2013-08-01 Thread Rob Clark
On Thu, Aug 1, 2013 at 7:20 PM, Tomasz Figa wrote: > Hi Vikas, > > On Thursday 01 of August 2013 16:49:32 Vikas Sajjan wrote: >> While trying to get boot-logo up on exynos5420 SMDK which has eDP panel >> connected with resolution 2560x1600, following error occured even with >> IOMMU enabled: >> [0

Re: [PATCH v4 5/7] v4l: Renesas R-Car VSP1 driver

2013-08-01 Thread Laurent Pinchart
Hi Sylwester, On Friday 02 August 2013 00:31:15 Sylwester Nawrocki wrote: > On 08/01/2013 12:03 AM, Laurent Pinchart wrote: > > On Wednesday 31 July 2013 23:02:05 Sylwester Nawrocki wrote: > >> On 07/31/2013 05:52 PM, Laurent Pinchart wrote: > >>> The VSP1 is a video processing engine that include

[PATCH V3 2/3] include: Convert ethernet mac address declarations to use ETH_ALEN

2013-08-01 Thread Joe Perches
It's convenient to have ethernet mac addresses use ETH_ALEN to be able to grep for them a bit easier and also to ensure that the addresses are __aligned(2). Add #include as necessary. Signed-off-by: Joe Perches Acked-by: Mauro Carvalho Chehab --- include/linux/dm9000.h | 4 ++- incl

[PATCH V3 0/3] networking: Use ETH_ALEN where appropriate

2013-08-01 Thread Joe Perches
Convert the uses mac addresses to ETH_ALEN so it's easier to find and verify where mac addresses need to be __aligned(2) Change in V2: - Remove include/acpi/actbl2.h conversion It's a file copied from outside ACPI sources Changes in V3: - Don't move the pasemi_mac.h mac address to be aligned(2)

Re: [PATCH] drm/exynos: Add check for IOMMU while passing physically continous memory flag

2013-08-01 Thread Tomasz Figa
Hi Vikas, On Thursday 01 of August 2013 16:49:32 Vikas Sajjan wrote: > While trying to get boot-logo up on exynos5420 SMDK which has eDP panel > connected with resolution 2560x1600, following error occured even with > IOMMU enabled: > [0.88] [drm:lowlevel_buffer_allocate] *ERROR* failed to all

Re: [PATCH v4 5/7] v4l: Renesas R-Car VSP1 driver

2013-08-01 Thread Sylwester Nawrocki
Hi Laurent, On 08/01/2013 12:03 AM, Laurent Pinchart wrote: On Wednesday 31 July 2013 23:02:05 Sylwester Nawrocki wrote: On 07/31/2013 05:52 PM, Laurent Pinchart wrote: The VSP1 is a video processing engine that includes a blender, scalers, filters and statistics computation. Configurable data

[PATCH V2 2/3] include: Convert ethernet mac address declarations to use ETH_ALEN

2013-08-01 Thread Joe Perches
It's convenient to have ethernet mac addresses use ETH_ALEN to be able to grep for them a bit easier and also to ensure that the addresses are __aligned(2). Add #include as necessary. Signed-off-by: Joe Perches Acked-by: Mauro Carvalho Chehab --- include/linux/dm9000.h | 4 ++- incl

[PATCH V2 0/3] networking: Use ETH_ALEN where appropriate

2013-08-01 Thread Joe Perches
Convert the uses mac addresses to ETH_ALEN so it's easier to find and verify where mac addresses need to be __aligned(2) Change from initial submission: - Remove include/acpi/actbl2.h conversion It's a file copied from outside ACPI sources Joe Perches (3): uapi: Convert some uses of 6 to ETH_

Re: mb86a20s and cx23885

2013-08-01 Thread Mauro Carvalho Chehab
Em Thu, 01 Aug 2013 15:09:35 -0300 Alfredo Jesús Delaiti escreveu: > Hi > > El 01/08/13 14:37, Mauro Carvalho Chehab escribió: > > Em Thu, 01 Aug 2013 14:16:32 -0300 > > Alfredo Jesús Delaiti escreveu: > > > >> Hi > >> > >> El 01/08/13 09:04, Mauro Carvalho Chehab escribió: > I found the

Re: Doing a v4l-utils-1.0.0 release

2013-08-01 Thread Gregor Jasny
Hello, On 6/14/13 9:15 AM, Hans de Goede wrote: IIRC the 0.9.x series were meant as development releases leading up to a new stable 1.0.0 release. Lately there have been no maintenance 0.8.x releases and a lot of interesting development going on in the 0.9.x, while at the same time there have be

cron job: media_tree daily build: ERRORS

2013-08-01 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: Thu Aug 1 19:00:22 CEST 2013 git branch: test git hash: b43ea8068d2090cb1e44632c8a938ab40d2c7419 gcc versi

Re: mb86a20s and cx23885

2013-08-01 Thread Alfredo Jesús Delaiti
Hi El 01/08/13 14:37, Mauro Carvalho Chehab escribió: Em Thu, 01 Aug 2013 14:16:32 -0300 Alfredo Jesús Delaiti escreveu: Hi El 01/08/13 09:04, Mauro Carvalho Chehab escribió: I found the patch that affects the X8507 board is: commit a7d44baaed0a8c7d4c4fb47938455cb3fc2bb1eb alfred

Re: Prof p7500 DVB-S2 USB device

2013-08-01 Thread Oliver Schinagl
In theory, no, it should be identical. Hopeing you don't have any USB issue, I think you should let the maintainer know that this is happening. I'm sorry but I lack knowledge in this area to help you any further. Oliver On 08/01/13 16:36, Krishna Kishore wrote: Hi Oliver, Thanks for y

Re: [PATCH 2/3] include: Convert ethernet mac address declarations to use ETH_ALEN

2013-08-01 Thread Mauro Carvalho Chehab
Em Sun, 28 Jul 2013 22:29:04 -0700 Joe Perches escreveu: > It's convenient to have ethernet mac addresses use > ETH_ALEN to be able to grep for them a bit easier and > also to ensure that the addresses are __aligned(2). > > Add #include as necessary. > > Signed-off-by: Joe Perches > --- > in

Re: mb86a20s and cx23885

2013-08-01 Thread Mauro Carvalho Chehab
Em Thu, 01 Aug 2013 14:16:32 -0300 Alfredo Jesús Delaiti escreveu: > Hi > > El 01/08/13 09:04, Mauro Carvalho Chehab escribió: > >> > >> I found the patch that affects the X8507 board is: commit > >> a7d44baaed0a8c7d4c4fb47938455cb3fc2bb1eb > >> > >> > >> alfredo@linux-puon:/usr/src/gi

Re: mb86a20s and cx23885

2013-08-01 Thread Alfredo Jesús Delaiti
Hi El 01/08/13 09:04, Mauro Carvalho Chehab escribió: I found the patch that affects the X8507 board is: commit a7d44baaed0a8c7d4c4fb47938455cb3fc2bb1eb alfredo@linux-puon:/usr/src/git/linux> git stash Saved working directory and index state WIP on (no branch): c6f56e7 [media] dvb: do

Re: dib8000 scanning not working on 3.10.3

2013-08-01 Thread Mauro Carvalho Chehab
Em Thu, 1 Aug 2013 13:36:25 -0300 Ezequiel Garcia escreveu: > Hi Luis, > > (I'm Ccing Mauro, who mantains this driver and might know what's going on). > > On Wed, Jul 31, 2013 at 03:47:10PM -0300, Luis Polasek wrote: > > Hi, I just upgraded my kernel to 3.10.3, and dib8000 scanning does not > >

Re: Fwd: dib8000 scanning not working on 3.10.3

2013-08-01 Thread Ezequiel Garcia
Hi Luis, (I'm Ccing Mauro, who mantains this driver and might know what's going on). On Wed, Jul 31, 2013 at 03:47:10PM -0300, Luis Polasek wrote: > Hi, I just upgraded my kernel to 3.10.3, and dib8000 scanning does not > work anymore. > > I tested using dvbscan (from dvb-apps/util/) and w_scan

RE: [PATCH v4 1/3] [media] coda: Fix error paths

2013-08-01 Thread Kamil Debski
Hi Fabio, > From: Philipp Zabel [mailto:p.za...@pengutronix.de] > Sent: Wednesday, July 24, 2013 11:47 AM > To: Fabio Estevam > Cc: k.deb...@samsung.com; m.che...@samsung.com; ker...@pengutronix.de; > linux-media@vger.kernel.org > Subject: Re: [PATCH v4 1/3] [media] coda: Fix error paths > > Hi F

Re: [PATCH] This brings the genpix line of devices snr reporting in line with other drivers

2013-08-01 Thread Mauro Carvalho Chehab
Em Tue, 23 Jul 2013 09:12:06 -0600 Chris Lee escreveu: > Signed-off-by: Chris Lee Hi Chris, Please better describe your patches. It is not clear what you're wanting to do on them. A good patch should contain a detailed explanation about it, describing the changes with some detail. Please don

Re: Prof p7500 DVB-S2 USB device

2013-08-01 Thread Oliver Schinagl
You are making it very hard to troubleshoot your problem and since the driver seems to work on your PC this is almost the wrong place for your support questions. I suppose the panda board forums would be better? Anyway, if your issue on the pandaboard is that it's not showing up in lsusb, you

Re: [PATCH 1/2] videobuf2-dma-sg: Allocate pages as contiguous as possible

2013-08-01 Thread Ricardo Ribalda Delgado
Hi Sakarius I think the whole point of the videobuf2 is sharing pages with the user space, so until vm_insert_page does not support high order pages we should split them. Unfortunately the mm is completely out of my topic, so I don't think that I could be very useful there. With my patch, in the

[PATCH 1/2] libv4lconvert: Support for Y16 pixel format

2013-08-01 Thread Ricardo Ribalda Delgado
This patch adds support for V4L2_PIX_FMT_Y16 format. Signed-off-by: Ricardo Ribalda Delgado --- lib/libv4lconvert/libv4lconvert-priv.h |6 ++ lib/libv4lconvert/libv4lconvert.c | 19 +++ lib/libv4lconvert/rgbyuv.c | 30 ++ 3

Re: [PATCH v4 6/7] vsp1: Fix lack of the sink entity registration for enabled links

2013-08-01 Thread Sakari Ailus
Hi Laurent, On Thu, Aug 01, 2013 at 12:48:39AM +0200, Laurent Pinchart wrote: > Hi Sakari, > > On Thursday 01 August 2013 00:29:21 Sakari Ailus wrote: > > On Wed, Jul 31, 2013 at 05:52:33PM +0200, Laurent Pinchart wrote: > > > From: Katsuya Matsubara > > > > > > Each source entity maintains a p

[PATCH 0/2] Add support for V4L2_PIX_FMT_Y16, V4L2_PIX_FMT_RGB32 and V4L2_PIX_FMT_BGR32

2013-08-01 Thread Ricardo Ribalda Delgado
This patch adds support for 3 new formats. Ricardo Ribalda Delgado (2): libv4lconvert: Support for Y16 pixel format libv4lconvert: Support for RGB32 and BGR32 format lib/libv4lconvert/libv4lconvert-priv.h | 11 +++- lib/libv4lconvert/libv4lconvert.c | 77 +++-- l

[PATCH 2/2] libv4lconvert: Support for RGB32 and BGR32 format

2013-08-01 Thread Ricardo Ribalda Delgado
This patch adds support for V4L2_PIX_FMT_BGR32 and V4L2_PIX_FMT_BGR32 formats. Signed-off-by: Ricardo Ribalda Delgado --- lib/libv4lconvert/libv4lconvert-priv.h |5 ++- lib/libv4lconvert/libv4lconvert.c | 58 +--- lib/libv4lconvert/rgbyuv.c | 66 +

[PATCH] libv4lconvert: Support for Y16 pixel format

2013-08-01 Thread Ricardo Ribalda Delgado
This patch adds support for V4L2_PIX_FMT_Y16 format. Signed-off-by: Ricardo Ribalda Delgado --- lib/libv4lconvert/libv4lconvert.c | 19 +++ lib/libv4lconvert/rgbyuv.c| 30 ++ 2 files changed, 49 insertions(+) diff --git a/lib/libv4lconvert

[PATCH] drm/exynos: Add check for IOMMU while passing physically continous memory flag

2013-08-01 Thread Vikas Sajjan
While trying to get boot-logo up on exynos5420 SMDK which has eDP panel connected with resolution 2560x1600, following error occured even with IOMMU enabled: [0.88] [drm:lowlevel_buffer_allocate] *ERROR* failed to allocate buffer. [0.89] [drm] Initialized exynos 1.0.0 20110530 on minor 0 T

Re: [PATCHv2 FINAL 6/6] qv4l2: add OpenGL rendering

2013-08-01 Thread Bård Eirik Winther
On Tuesday, July 30, 2013 10:15:24 AM you wrote: > [PATCHv2 FINAL 6/6] qv4l2: add OpenGL rendering >From 505e803da95dd7c4aeb9d7ec4661c83bb743da1e Mon Sep 17 00:00:00 2001 Message-Id: <505e803da95dd7c4aeb9d7ec4661c83bb743da1e.1375355021.git.bwint...@cisco.com> From: =?UTF-8?q?B=C3=A5rd=20Eirik=20Wi

RE: Prof DVB-S2 USB device

2013-08-01 Thread Krishna Kishore
Hi, Does anyone know about the following error? I am using Linux kernel 3.9.0. I am getting this error with 3.8.4 also. [ 233.017242] PM: Syncing filesystems ... done. [ 233.253112] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 233.273712] Freezing remaining freezable

Re: [RESEND PATCH v10 1/8] drivers: phy: add generic PHY framework

2013-08-01 Thread Greg KH
On Fri, Jul 26, 2013 at 06:19:16PM +0530, Kishon Vijay Abraham I wrote: > +static int phy_get_id(void) > +{ > + int ret; > + int id; > + > + ret = ida_pre_get(&phy_ida, GFP_KERNEL); > + if (!ret) > + return -ENOMEM; > + > + ret = ida_get_new(&phy_ida, &id); > + i