Re: [PATCH 2/7] [media] doc-rst: switch to new names for Full Screen/Aspect keys

2019-02-17 Thread Dmitry Torokhov
On Fri, Jan 18, 2019 at 03:30:32PM -0800, Dmitry Torokhov wrote: > We defined better names for keys to activate full screen mode or > change aspect ratio (while keeping the existing keycodes to avoid > breaking userspace), so let's use them in the document. > > Signed-off-by: Dmitry Torokhov > --

cron job: media_tree daily build: OK

2019-02-17 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: Mon Feb 18 05:00:10 CET 2019 media-tree git hash:6fd369dd1cb65a032f1ab9227033ecb7b759656d media_build git

Re: [PATCH 0/3] media: clean-up header search paths and add $(srctree)/ prefix

2019-02-17 Thread Masahiro Yamada
Hi Mauro, On Fri, Jan 25, 2019 at 4:00 PM Masahiro Yamada wrote: > > My main motivation is to get rid of crappy header search path manipulation > from Kbuild core. > > Before that, I want to do as many treewide cleanups as possible. > > If you are interested in the big picture of this work, > the

Re: [PATCH] rcar-vin: Fix lockdep warning at stream on

2019-02-17 Thread Niklas Söderlund
Hi Kieran, On 2019-02-17 22:27:27 +, Kieran Bingham wrote: > Hi Niklas, > > On 13/02/2019 22:07, Niklas Söderlund wrote: > > Changes to v4l2-fwnode in commit [1] triggered a lockdep warning in > > rcar-vin. The first attempt to solve this warning in the rcar-vin driver > > was incomplete and

Re: imx: smatch errors

2019-02-17 Thread Steve Longerbeam
Hi Hans, pardon the delay, I will post a patch for this tomorrow. Steve On 2/16/19 1:27 AM, Hans Verkuil wrote: On 2/7/19 3:33 PM, Hans Verkuil wrote: Hi Steve, It turns out that the daily build never compiled the staging media drivers, which included imx. Now that I enabled it I get these t

[no subject]

2019-02-17 Thread Major Dennis Hornbeck
I am in the military unit here in Afghanistan, we have some amount of funds that we want to move out of the country. My partners and I need a good partner someone we can trust. It is risk free and legal. Reply to this email: hornbeckmajordennis...@gmail.com Regards, Major Dennis Hornbeck.

Re: [PATCH] rcar-vin: Fix lockdep warning at stream on

2019-02-17 Thread Kieran Bingham
Hi Niklas, On 13/02/2019 22:07, Niklas Söderlund wrote: > Changes to v4l2-fwnode in commit [1] triggered a lockdep warning in > rcar-vin. The first attempt to solve this warning in the rcar-vin driver > was incomplete and only pushed the warning to happen at at stream on > time instead of at probe

[PATCH] [media] wl128x: fix spelling mistake: "Swtich" -> "Switch"

2019-02-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in a fmdbg debug message. Fix it. Signed-off-by: Colin Ian King --- drivers/media/radio/wl128x/fmdrv_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/radio/wl128x/fmdrv_common.c b/drivers/media/radio/wl

Re: [PATCH v4 6/7] media: vsp1: Replace the display list internal flag with a flags field

2019-02-17 Thread Kieran Bingham
Hi Laurent, On 17/02/2019 02:48, Laurent Pinchart wrote: > To prepare for addition of more flags to the display list, replace the > 'internal' flag field by a bitmask 'flags' field. > > Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham > --- > drivers/media/platform/vsp1/vsp1_dl.c

Re: [PATCH v4 5/7] media: vsp1: Refactor vsp1_video_complete_buffer() for later reuse

2019-02-17 Thread Kieran Bingham
Hi Laurent On 17/02/2019 02:48, Laurent Pinchart wrote: > The vsp1_video_complete_buffer() function completes the current buffer > and returns a pointer to the next buffer. Split the code that completes > the buffer to a separate function for later reuse, and rename > vsp1_video_complete_buffer()

Re: [PATCH v4 4/7] media: vsp1: Fix addresses of display-related registers for VSP-DL

2019-02-17 Thread Kieran Bingham
Hi Laurent, On 17/02/2019 02:48, Laurent Pinchart wrote: > The VSP-DL instances have two LIFs, and thus two copies of the > VI6_DISP_IRQ_ENB, VI6_DISP_IRQ_STA and VI6_WPF_WRBCK_CTRL registers. Fix > the corresponding macros accordingly. > Seep. This could have ended badly if someone used both LI

Re: [PATCH v4 3/7] media: vsp1: Replace leftover occurrence of fragment with body

2019-02-17 Thread Kieran Bingham
Hi Laurent, On 17/02/2019 02:48, Laurent Pinchart wrote: > Display list fragments have been renamed to bodies. Replace one last > occurrence of the word fragment in the documentation. > Interesting, this must have been a change that was written before the fragments were renamed, but got in /afte

Re: [PATCH v4 2/7] media: vsp1: wpf: Fix partition configuration for display pipelines

2019-02-17 Thread Kieran Bingham
Hi Laurent, On 17/02/2019 02:48, Laurent Pinchart wrote: > The WPF accesses partition configuration from pipe->partition in the > partition configuration that is not used for display pipelines. That sentence is hard to read... > Writeback support will require full configuration of the WPF while

Re: [PATCH v4 7/7] media: vsp1: Provide a writeback video device

2019-02-17 Thread Kieran Bingham
Hi Laurent, On 17/02/2019 20:06, Kieran Bingham wrote: > Hi Laurent, > > Thank you for updating the patch, > > On 17/02/2019 02:48, Laurent Pinchart wrote: >> From: Kieran Bingham >> >> When the VSP1 is used in an active display pipeline, the output of the >> WPF can supply the LIF entity direc

Re: [PATCH v4 7/7] media: vsp1: Provide a writeback video device

2019-02-17 Thread Kieran Bingham
Hi Laurent, Thank you for updating the patch, On 17/02/2019 02:48, Laurent Pinchart wrote: > From: Kieran Bingham > > When the VSP1 is used in an active display pipeline, the output of the > WPF can supply the LIF entity directly and simultaneously write to > memory. > > Support this functiona

Re: [PATCH] rcar-csi2: Use standby mode instead of resetting

2019-02-17 Thread Jacopo Mondi
Hi Niklas, ah, ups, this was maybe the patch the other one I just reviewed was based on... sorry, I missed this one :) On Sat, Feb 16, 2019 at 11:56:38PM +0100, Niklas Söderlund wrote: > Later versions of the datasheet updates the reset procedure to more > closely resemble the standby mode.

Re: [PATCH] rcar-csi2: Allow configuring of video standard

2019-02-17 Thread Jacopo Mondi
Hi Niklas, where is this patch supposed to be applied on? I tried master, media master, renesas-drivers and your rcar-csi2 and v4l2/mux branches, but it fails on all of them :( What am I doing wrong? On Sat, Feb 16, 2019 at 11:57:58PM +0100, Niklas Söderlund wrote: > Allow the hardware to to

[PATCH] media: ov7740: fix runtime pm initialization

2019-02-17 Thread Akinobu Mita
The runtime PM of this device is enabled after v4l2_ctrl_handler_setup(), and this makes this device's runtime PM usage count a negative value. The ov7740_set_ctrl() tries to do something only if the device's runtime PM usage counter is nonzero. ov7740_set_ctrl() { if (!pm_runtime_get_if_

[PATCH] vimc: fix memory leak

2019-02-17 Thread Hans Verkuil
media_device_cleanup() wasn't called, which caused a small memory leak. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/vimc/vimc-core.c b/drivers/media/platform/vimc/vimc-core.c index c2fdf3ea67ed..0fbb7914098f 100644 --- a/drivers/media/platform/vimc/vimc-core.c +++ b/drive

[PATCH] vivid: two unregistration fixes

2019-02-17 Thread Hans Verkuil
When the media device registration fails, don't call media_device_unregister since the device was never actually registered. When removing the module also call media_device_cleanup() to avoid a memory leak. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/vivid/vivid-core.c

[v4l-utils PATCH v2 3/4] v4l2-ctl: Add functions and variables to support fwht stateless decoder

2019-02-17 Thread Dafna Hirschfeld
Add the variable 'last_fwht_bf_ts' and the array 'fwht_reqs' to allow the fwht stateless decoder to maintain the requests. Signed-off-by: Dafna Hirschfeld --- utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 120 ++ 1 file changed, 120 insertions(+) diff --git a/utils/v4l2-ctl/v4

[v4l-utils PATCH v2 2/4] (c)v4l-helpers.h: Add support for the request api

2019-02-17 Thread Dafna Hirschfeld
Add an array of request file descriptors to v4l_queue and add methods to allocate and get them. Signed-off-by: Dafna Hirschfeld --- utils/common/cv4l-helpers.h | 5 + utils/common/v4l-helpers.h | 22 ++ 2 files changed, 27 insertions(+) diff --git a/utils/common/cv4l-h

[v4l-utils PATCH v2 0/4] Add fwht stateless decoder

2019-02-17 Thread Dafna Hirschfeld
Changes from v1: - patches 1,2 did not change - patches 3,4 changed, main change was removing the header from the compressed frame buffer. Dafna Hirschfeld (4): v4l2-ctl: move stateful m2m decode code to a separate function (c)v4l-helpers.h: Add support for the request api v4l2-ctl: Add fu

[v4l-utils PATCH v2 1/4] v4l2-ctl: move stateful m2m decode code to a separate function

2019-02-17 Thread Dafna Hirschfeld
Add the function stateful_m2m that implements the stateful codec api. This is a preparation for having both stateful and stateless implementations Signed-off-by: Dafna Hirschfeld --- utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 95 ++- 1 file changed, 50 insertions(+), 45 dele

[v4l-utils PATCH v2 4/4] v4l2-ctl: Add implementation for the stateless fwht decoder.

2019-02-17 Thread Dafna Hirschfeld
Add code to support the stateless decoder and the function 'stateless_m2m' that implements it. Signed-off-by: Dafna Hirschfeld --- utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 236 +- 1 file changed, 233 insertions(+), 3 deletions(-) diff --git a/utils/v4l2-ctl/v4l2-ctl-strea

Re: [PATCH] rcar-csi2: Allow configuring of video standard

2019-02-17 Thread Sergei Shtylyov
Hello! On 17.02.2019 1:57, Niklas Söderlund wrote: Allow the hardware to to do proper field detection for interlaced field formats by implementing s_std() and g_std(). Depending on which video standard is selected the driver needs to setup the hardware to correctly identify fields. Later versi