Re: [PATCH 0/4] Add V4L2_PIX_FMT_MT21C format for MT8173 codec driver

2016-09-13 Thread Tiffany Lin
Hi Hans, On Thu, 2016-09-08 at 11:27 +0200, Hans Verkuil wrote: > On 09/08/16 11:11, Tiffany Lin wrote: > > Hi Hans, > > > > On Thu, 2016-09-08 at 09:21 +0200, Hans Verkuil wrote: > >> Hi Tiffany, > >> > >> On 09/07/2016 08:56 AM, Tiffany Lin wrote: > >>> This patch series add Mediatek compressed

cron job: media_tree daily build: WARNINGS

2016-09-13 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 Sep 14 04:00:17 CEST 2016 git branch: test git hash: c3b809834db8b1a8891c7ff873a216eac119628d gcc versi

Re: [v4l-utils PATCH 2/2] media-ctl: Print information related to a single entity

2016-09-13 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. This is a feature I've often thought would be useful. On Tuesday 13 Sep 2016 11:28:16 Sakari Ailus wrote: > Add an optional argument to the -p option that allows printing all > information related to a given entity. This may be handy sometimes if only > a singl

Re: [v4l-utils PATCH 1/2] media-ctl: Split off printing information related to a single entity

2016-09-13 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Tuesday 13 Sep 2016 11:28:15 Sakari Ailus wrote: > As a result, a function that can be used to print information on a given > entity only is provided. > > Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart > --- > utils/media-ctl/media-ctl.c | 93 +

[PATCH 14/13] v4l: vsp1: Fix spinlock in mixed IRQ context function

2016-09-13 Thread Laurent Pinchart
The wpf_configure() function can be called both from IRQ and non-IRQ contexts, use spin_lock_irqsave(). Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_wpf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/vsp1/vsp1_wpf.c b/dr

[PATCH 01/13] v4l: vsp1: Prevent pipelines from running when not streaming

2016-09-13 Thread Laurent Pinchart
Pipelines can only be run if all their video nodes are streaming. Commit b4dfb9b35a19 ("[media] v4l: vsp1: Stop the pipeline upon the first STREAMOFF") fixed the pipeline stop sequence, but introduced a race condition that makes it possible to run a pipeline after stopping the stream on a video nod

[PATCH 02/13] v4l: vsp1: Protect against race conditions between get and set format

2016-09-13 Thread Laurent Pinchart
The subdev userspace API isn't serialized in the core, serialize access to formats and selection rectangles in the driver. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c| 28 +++- drivers/media/platform/vsp1/vsp1_clu.c| 15 --- drivers/

[PATCH 11/13] v4l: vsp1: Determine partition requirements for scaled images

2016-09-13 Thread Laurent Pinchart
From: Kieran Bingham The partition algorithm needs to determine the capabilities of each entity in the pipeline to identify the correct maximum partition width. Extend the vsp1 entity operations to provide a max_width operation and use this call to calculate the number of partitions that will be

[PATCH 12/13] v4l: vsp1: Support multiple partitions per frame

2016-09-13 Thread Laurent Pinchart
From: Kieran Bingham Adapt vsp1_video_pipeline_run() such that it can iterate each partition required for constructing this frame's display list chain in the event that multiple display lists are required to process in hardware. The first display list is held as the head list object, whilst any

[PATCH 06/13] v4l: vsp1: Disable cropping on WPF sink pad

2016-09-13 Thread Laurent Pinchart
Cropping on the WPF sink pad restricts the left and top coordinates to 0-255. The same result can be obtained by cropping on the RPF without any such restriction, this feature isn't useful. Disable it. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_rwpf.c | 37 +

[PATCH 09/13] v4l: vsp1: Replace .set_memory() with VSP1_ENTITY_PARAMS_PARTITION

2016-09-13 Thread Laurent Pinchart
The new VSP1_ENTITY_PARAMS_PARTITION configuration parameters type covers all registers that need to be configured for every partition. This prepares for support of image partitioning, and replaces the .set_memory() operation as the memory registers take different values for every partition. Signe

[PATCH 08/13] v4l: vsp1: Pass parameter type to entity configuration operation

2016-09-13 Thread Laurent Pinchart
Replace the current boolean parameter (full / !full) with an explicit enum. - VSP1_ENTITY_PARAMS_INIT for parameters to be configured at pipeline initialization time only (V4L2 stream on or DRM atomic update) - VSP1_ENTITY_PARAMS_RUNTIME for all parameters that can be freely modified at runtim

[PATCH 13/13] v4l: vsp1: wpf: Implement rotation support

2016-09-13 Thread Laurent Pinchart
Some WPF instances, on Gen3 devices, can perform 90° rotation when writing frames to memory. Implement support for this using the V4L2_CID_ROTATE control. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_rpf.c | 2 +- drivers/media/platform/vsp1/vsp1_rwpf.c | 5 + driv

[PATCH 04/13] v4l: vsp1: Repair race between frame end and qbuf handler

2016-09-13 Thread Laurent Pinchart
From: Kieran Bingham The frame-end function releases and completes the buffers on the input and output entities of the pipe before marking the pipe->state as 'STOPPED'. This introduces a race whereby with the pipe->state still 'RUNNING', a QBUF handler can commence processing a frame before the f

[PATCH 05/13] v4l: vsp1: Use DFE instead of FRE for frame end

2016-09-13 Thread Laurent Pinchart
From: Kieran Bingham The DFE and FRE interrupts are both fired at frame completion, as each display list processes a single frame. This won't be true anymore when using image partitioning, switch to DFE in preparation. Signed-off-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- drivers/

[PATCH 07/13] v4l: vsp1: Fix RPF cropping

2016-09-13 Thread Laurent Pinchart
The RPF cropping offset for the chroma planes is incorrectly computed, it needs to be divided by the horizontal subsampling factor. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_rpf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platf

[PATCH 00/13] Renesas R-Car VSP: Scaling and rotation support on Gen3

2016-09-13 Thread Laurent Pinchart
Hello, This patch series adds support for scaling and rotation to the VSP1 driver on the R-Car Gen3 SoCs. Unlike Gen2 that can scale full resolution images, the Gen3 VSP scaler has a width limitation that prevent full images from being processed in one go. They must be partitioned in slices that

[PATCH 03/13] v4l: vsp1: Ensure pipeline locking in resume path

2016-09-13 Thread Laurent Pinchart
From: Kieran Bingham The vsp1_pipeline_ready() and vsp1_pipeline_run() functions must be called with the pipeline lock held, fix the resume code path. Signed-off-by: Kieran Bingham Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_pipe.c | 3 +++ 1 file changed, 3 insertion

[PATCH 10/13] v4l: vsp1: Support chained display lists

2016-09-13 Thread Laurent Pinchart
From: Kieran Bingham When display lists are linked in a chain, they will be processed automatically by the hardware, with each list linking to the next. Only on the last display list will the frame end interrupt be fired to mark the completion event. Upon frame-end, the chain will be iterated to

[PATCH] [v4l-utils] libv4l2subdev: Propagate format deep in the topology

2016-09-13 Thread Helen Koike
The format was only being propagated to the subdevices directly connected to the node being changed. Continue propagating the format to all the subdevices in the video pipe. Signed-off-by: Helen Koike --- Only one level of propagation was not that useful for me so I made it to completely propag

Re: pull request: linux-firmware: Update Mediatek MT8173 VPU firmware

2016-09-13 Thread Kyle McMartin
On Thu, Sep 08, 2016 at 08:29:16PM +0800, Andrew-CT Chen wrote: > Hi linux-firmware maintainers, > > The following changes since commit c883a6b6186bb2415761d287cbac773062911212: > > rtl_bt: Add firmware and config file for RTL8822BE (2016-08-31 02:38:31 > +0100) > > are available in the git r

Good Day

2016-09-13 Thread Mrs. Rona Fairhead
Good Day How are you doing Now contact my assistance for your share of the money. Name: Mr. Ralph Barber E-mail: ralph.barb...@pisem.net Wish you luck. Mrs Rona Fairhead -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@v

Re: [PATCH] dma-buf/sync-file: Avoid enable fence signaling if poll(.timeout=0)

2016-09-13 Thread Sumit Semwal
Hi Chris, On 29 August 2016 at 23:56, Gustavo Padovan wrote: > Hi Chris, > > 2016-08-29 Chris Wilson : > >> If we being polled with a timeout of zero, a nonblocking busy query, >> we don't need to install any fence callbacks as we will not be waiting. >> As we only install the callback once, the

Re: [PATCH v2 0/4] R-Car VSP1 1-D Histogram support

2016-09-13 Thread Laurent Pinchart
Hi Geert, On Tuesday 13 Sep 2016 14:19:56 Geert Uytterhoeven wrote: > On Wed, Aug 17, 2016 at 2:20 PM, Laurent Pinchart wrote: > > This patch series implements support for the Renesas R-Car VSP1 1-D > > histogram generator (HGO). It is based on top of the latest media tree's > > master branch, and

Re: [PATCH v2 0/4] R-Car VSP1 1-D Histogram support

2016-09-13 Thread Geert Uytterhoeven
Hi Laurent, On Wed, Aug 17, 2016 at 2:20 PM, Laurent Pinchart wrote: > This patch series implements support for the Renesas R-Car VSP1 1-D histogram > generator (HGO). It is based on top of the latest media tree's master branch, > and available for convenience at > > git://linuxtv.org/pin

DV Timings handling

2016-09-13 Thread Jose Abreu
Hi All, I am writing a very simple v4l2 driver for HDMI video capturing and I have a question regarding the DV timings. I have implemented {g/s/query}_dv_timings in my driver but these ioctls are not called when I try to use mplayer. If I grep mplayer code I don't find any reference to these funct

Re: [PATCH v4 1/5] media: Determine early whether an IOCTL is supported

2016-09-13 Thread Mauro Carvalho Chehab
Em Tue, 13 Sep 2016 13:51:25 +0300 Sakari Ailus escreveu: > Hi Mauro, > > On Tue, Sep 06, 2016 at 06:56:17AM -0300, Mauro Carvalho Chehab wrote: > > Em Thu, 11 Aug 2016 23:29:14 +0300 > > Sakari Ailus escreveu: > > > > So, we don't expect to have the V4L2 compat32 mess here, but, instead, >

Re: [PATCH v4 1/5] media: Determine early whether an IOCTL is supported

2016-09-13 Thread Sakari Ailus
Hi Mauro, On Tue, Sep 06, 2016 at 06:56:17AM -0300, Mauro Carvalho Chehab wrote: > Em Thu, 11 Aug 2016 23:29:14 +0300 > Sakari Ailus escreveu: > > > Preparation for refactoring media IOCTL handling to unify common parts. > > > > Reviewed-by: Laurent Pinchart > > Signed-off-by: Sakari Ailus >

Re: [PATCH 1/2] [media] ad5820: use __maybe_unused for PM functions

2016-09-13 Thread Sakari Ailus
On Mon, Sep 12, 2016 at 07:52:08PM +0200, Pavel Machek wrote: > On Mon 2016-09-12 17:32:57, Arnd Bergmann wrote: > > The new ad5820 driver uses #ifdef to hide the suspend/resume functions, > > but gets it wrong when CONFIG_PM_SLEEP is disabled: > > > > drivers/media/i2c/ad5820.c:286:12: error: 'ad

[v4l-utils PATCH 2/2] media-ctl: Print information related to a single entity

2016-09-13 Thread Sakari Ailus
Add an optional argument to the -p option that allows printing all information related to a given entity. This may be handy sometimes if only a single entity is of interest and there are many entities. Signed-off-by: Sakari Ailus --- utils/media-ctl/media-ctl.c | 26 +++--- u

[v4l-utils PATCH 1/2] media-ctl: Split off printing information related to a single entity

2016-09-13 Thread Sakari Ailus
As a result, a function that can be used to print information on a given entity only is provided. Signed-off-by: Sakari Ailus --- utils/media-ctl/media-ctl.c | 93 - 1 file changed, 49 insertions(+), 44 deletions(-) diff --git a/utils/media-ctl/media-

[v4l-utils PATCH 0/2] Print information on given entity only

2016-09-13 Thread Sakari Ailus
Hi, These patches add the ability to media-ctl to print information on a given entity only. That's sometimes handy. -- Regards, Sakari -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://