[linuxtv-media:master 189/209] warning: (VIDEO_MEDIATEK_VCODEC) selects VIDEO_MEDIATEK_VPU which has unmet direct dependencies (MEDIA_SUPPORT && ..))

2016-08-31 Thread kbuild test robot
tree: git://linuxtv.org/media_tree.git master head: fb6609280db902bd5d34445fba1c926e95e63914 commit: 69d4a521586ef93db94451afa5072ec3f6bee401 [189/209] [media] VIDEO_MEDIATEK_VPU should depend on HAS_DMA config: m32r-allmodconfig (attached as .config) compiler: m32r-linux-gcc (GCC) 4.9.0

Re: [PATCH v5 2/3] st-hva: multi-format video encoder V4L2 driver

2016-08-31 Thread kbuild test robot
Hi Jean-Christophe, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.8-rc4 next-20160825] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for

cron job: media_tree daily build: ERRORS

2016-08-31 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 Sep 1 04:00:17 CEST 2016 git branch: test git hash: fb6609280db902bd5d34445fba1c926e95e63914 gcc

Greetings

2016-08-31 Thread Mrs Julie Leach
You are a recipient to Mrs Julie Leach Donation of $3 million USD. Contact ( julieleac...@outlook.com ) for claims. -- 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

[PATCH 2/3] doc-rst:c-domain: function-like macros arguments

2016-08-31 Thread Markus Heiser
From: Markus Heiser Handle signatures of function-like macros well. Don't try to deduce arguments types of function-like macros. Signed-off-by: Markus Heiser --- Documentation/sphinx/cdomain.py | 55

[PATCH 1/3] doc-rst:c-domain: fix sphinx version incompatibility

2016-08-31 Thread Markus Heiser
From: Markus Heiser The self.indexnode's tuple has changed in sphinx version 1.4, from a former 4 element tuple to a 5 element tuple. https://github.com/sphinx-doc/sphinx/commit/e6a5a3a92e938fcd75866b4227db9e0524d58f7c Signed-off-by: Markus Heiser

[PATCH 3/3] doc-rst:c-domain: function-like macros index entry

2016-08-31 Thread Markus Heiser
From: Markus Heiser For function-like macros, sphinx creates 'FOO (C function)' entries. With this patch 'FOO (C macro)' are created for function-like macros, which is the same for object-like macros. Signed-off-by: Markus Heiser ---

[RFC PATCH 0/3] doc-rst:c-domain: fix some issues in the c-domain

2016-08-31 Thread Markus Heiser
From: Markus Heiser Hi Jon, this is a small series, fixing a issues about sphinx version incompatibility and adds improved handling of function-like macros [1]. The last patch is optional, I don't know if it is better to create 'FOO (C macro)' index entries instead of

Re: [PATCH v1.1 6/6] smiapp: Remove set_xclk() callback from hwconfig

2016-08-31 Thread Sebastian Reichel
Hi, On Wed, Aug 31, 2016 at 04:01:37PM +0300, Sakari Ailus wrote: > The clock framework is generally so well supported that there's no reason > to keep this one around. > > Signed-off-by: Sakari Ailus > --- > drivers/media/i2c/smiapp/smiapp-core.c | 49 >

Re: [PATCH v1.1 5/5] smiapp: Switch to gpiod API for GPIO control

2016-08-31 Thread Sebastian Reichel
Hi, On Wed, Aug 31, 2016 at 04:00:56PM +0300, Sakari Ailus wrote: > Switch from the old gpio API to the new descriptor based gpiod API. > > [...] > > @@ -2572,17 +2569,10 @@ static int smiapp_init(struct smiapp_sensor *sensor) > } > } > > - if

Re: [PATCH v1.1 3/5] smiapp: Return -EPROBE_DEFER if the clock cannot be obtained

2016-08-31 Thread Sebastian Reichel
Hi, On Wed, Aug 31, 2016 at 03:57:57PM +0300, Sakari Ailus wrote: > The clock may be provided by a driver which is yet to probe. Print the > actual error code as well. > > Signed-off-by: Sakari Ailus > > --- > since v1: > - Add printing of the original error code

[PATCH] [media] s5p_cec: Fix memory allocation failure check

2016-08-31 Thread Christophe JAILLET
It is likely that checking the result of the memory allocation just above is expected here. Signed-off-by: Christophe JAILLET --- drivers/staging/media/s5p-cec/s5p_cec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 3/3] ARM: exynos: add all required FIMC-IS clocks to exynos4x12 dtsi

2016-08-31 Thread Marek Szyprowski
FIMC-IS blocks must control 3 more clocks ("gicisp", "mcuctl_isp" and "pwm_isp") to make the hardware fully operational. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4x12.dtsi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH 2/3] media: exynos4-is: Improve clock management

2016-08-31 Thread Marek Szyprowski
There is no need to keep all clocks prepared all the time. Call to clk_prepare/unprepare can be done on demand from runtime pm callbacks (it is allowed to call sleeping functions from that context). Signed-off-by: Marek Szyprowski ---

[PATCH 1/3] media: exynos4-is: Add support for all required clocks

2016-08-31 Thread Marek Szyprowski
This patch adds 3 more clocks to Exynos4 ISP driver. Enabling them is needed to make the hardware operational. Till now it worked only because those clocks were registered with IGNORE_UNUSED flag and were enabled by default after SoC reset. Signed-off-by: Marek Szyprowski

[PATCH 0/3] Exynos4-IS: improve clock management

2016-08-31 Thread Marek Szyprowski
Dear All, This is a set of a few patches for Exynos4-IS driver, which improve clock management. Those patches are needed for improved runtime pm management for Exynos clocks driver, which will be posted in a separate thread. Best regards Marek Szyprowski Samsung R Institute Poland Marek

[PATCH v1.1 6/6] smiapp: Remove set_xclk() callback from hwconfig

2016-08-31 Thread Sakari Ailus
The clock framework is generally so well supported that there's no reason to keep this one around. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 49 -- include/media/i2c/smiapp.h | 2 -- 2

[PATCH v1.1 5/5] smiapp: Switch to gpiod API for GPIO control

2016-08-31 Thread Sakari Ailus
Switch from the old gpio API to the new descriptor based gpiod API. Signed-off-by: Sakari Ailus --- - Remove xshutdown field in smiapp_hwconfig, and SMIAPP_NO_XSHUTDOWN macro drivers/media/i2c/smiapp/smiapp-core.c | 36 +++---

Re: RFC: V4L2_PIX_FMT_NV16: should it allow padding after each plane?

2016-08-31 Thread Sakari Ailus
Hi Hans, On Wed, Aug 31, 2016 at 10:43:03AM +0200, Hans Verkuil wrote: > The NV16 documentation allows for padding after each line: > > https://hverkuil.home.xs4all.nl/spec/uapi/v4l/pixfmt-nv16.html > > But I have one case where there is also padding after each plane. > > Can we fold that into

[PATCH v1.1 3/5] smiapp: Return -EPROBE_DEFER if the clock cannot be obtained

2016-08-31 Thread Sakari Ailus
The clock may be provided by a driver which is yet to probe. Print the actual error code as well. Signed-off-by: Sakari Ailus --- since v1: - Add printing of the original error code drivers/media/i2c/smiapp/smiapp-core.c | 5 +++-- 1 file changed, 3 insertions(+),

[PATCH 2/6] drm/exynos: gsc: fix system and runtime pm integration

2016-08-31 Thread Marek Szyprowski
Use generic helpers instead of open-coding usage of runtime pm for system sleep pm, which was potentially broken for some corner cases. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 29 ++--- 1 file changed, 2

[PATCH 5/6] media: s5p-cec: fix system and runtime pm integration

2016-08-31 Thread Marek Szyprowski
Use generic helpers instead of open-coding usage of runtime pm for system sleep pm, which was potentially broken for some corner cases. Signed-off-by: Marek Szyprowski --- drivers/staging/media/s5p-cec/s5p_cec.c | 17 ++--- 1 file changed, 2 insertions(+),

[PATCH 6/6] media: s5p-jpeg: fix system and runtime pm integration

2016-08-31 Thread Marek Szyprowski
Use generic helpers instead of open-coding usage of runtime pm for system sleep pm, which was potentially broken for some corner cases. Signed-off-by: Marek Szyprowski --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 24 1 file changed, 4

[PATCH 1/6] drm/exynos: fimc: fix system and runtime pm integration

2016-08-31 Thread Marek Szyprowski
Use generic helpers instead of open-coding usage of runtime pm for system sleep pm, which was potentially broken for some corner cases. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 29 ++--- 1 file changed, 2

[PATCH 3/6] drm/exynos: rotator: fix system and runtime pm integration

2016-08-31 Thread Marek Szyprowski
Use generic helpers instead of open-coding usage of runtime pm for system sleep pm, which was potentially broken for some corner cases. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_drm_rotator.c | 26 ++ 1 file changed, 2

[PATCH 4/6] drm/exynos: g2d: fix system and runtime pm integration

2016-08-31 Thread Marek Szyprowski
Move code from system sleep pm to runtime pm callbacks to ensure proper driver state preservation when device is under power domain. Then, use generic helpers for using runtime pm for system sleep pm. Signed-off-by: Marek Szyprowski ---

[PATCH 0/6] Exynos: runtime/sleep pm fixes for gfx and media drivers

2016-08-31 Thread Marek Szyprowski
Dear all, This is a quick fix of the incorrect usage of runtime pm for system sleep pm purposes. Patches introduce usage of the generic helpers pm_runtime_force_{suspend,resume} instead of open-coding them, which was potentially broken for some corner cases. The side-effect of this patch set is

Re: [PATCH 5/5] smiapp: Switch to gpiod API for GPIO control

2016-08-31 Thread Sakari Ailus
Hi Sebastian, Thanks for the review! On 08/31/16 15:09, Sebastian Reichel wrote: > Hi Sakari, > > On Wed, Aug 31, 2016 at 10:42:05AM +0300, Sakari Ailus wrote: >> -if (gpio_is_valid(sensor->hwcfg->xshutdown)) { >> +if (client->dev.of_node) { >> +sensor->xshutdown = >> +

Re: [PATCH 0/5] smiapp cleanups, retry probe if getting clock fails

2016-08-31 Thread Sebastian Reichel
Hi, On Wed, Aug 31, 2016 at 10:42:00AM +0300, Sakari Ailus wrote: > These patches contain cleanups for the smiapp driver and return > -EPROBE_DEFER if getting the clock fails. Apart from comments on patches 3 & 5 the patchset is Reviewed-By: Sebastian Reichel -- Sebastian

Re: [PATCH 3/5] smiapp: Return -EPROBE_DEFER if the clock cannot be obtained

2016-08-31 Thread Sebastian Reichel
Hi, On Wed, Aug 31, 2016 at 10:42:03AM +0300, Sakari Ailus wrote: > The clock may be provided by a driver which is yet to probe. This probably fixes N950 with built-in drivers, where I could see smiapp fails due to missing clk. I have not yet further anaylsed it, since more important parts like

Re: [PATCH 5/5] smiapp: Switch to gpiod API for GPIO control

2016-08-31 Thread Sebastian Reichel
Hi Sakari, On Wed, Aug 31, 2016 at 10:42:05AM +0300, Sakari Ailus wrote: > - if (gpio_is_valid(sensor->hwcfg->xshutdown)) { > + if (client->dev.of_node) { > + sensor->xshutdown = > + devm_gpiod_get_optional(>dev, "xshutdown", > +

Re: [PATCH v3] docs-rst: ignore arguments on macro definitions

2016-08-31 Thread Markus Heiser
Am 31.08.2016 um 12:26 schrieb Mauro Carvalho Chehab : > Em Wed, 31 Aug 2016 12:09:39 +0200 > Markus Heiser escreveu: > >> Am 31.08.2016 um 11:02 schrieb Jani Nikula : >> >>> On Wed, 31 Aug 2016, Markus Heiser

Re: [PATCH v3] docs-rst: ignore arguments on macro definitions

2016-08-31 Thread Mauro Carvalho Chehab
Em Wed, 31 Aug 2016 12:09:39 +0200 Markus Heiser escreveu: > Am 31.08.2016 um 11:02 schrieb Jani Nikula : > > > On Wed, 31 Aug 2016, Markus Heiser wrote: > >> I haven't tested your suggestion, but since *void*

Re: [PATCH v3] docs-rst: ignore arguments on macro definitions

2016-08-31 Thread Markus Heiser
Am 31.08.2016 um 11:02 schrieb Jani Nikula : > On Wed, 31 Aug 2016, Markus Heiser wrote: >> I haven't tested your suggestion, but since *void* is in the list >> of stop-words: >> >># These C types aren't described anywhere, so don't

Re: [PATCH] [media] dw2102: Add support for Terratec Cinergy S2 USB BOX

2016-08-31 Thread Philipp Zabel
Am Mittwoch, den 27.07.2016, 17:34 +0200 schrieb Benjamin Larsson: > On 07/18/2016 01:59 PM, Mauro Carvalho Chehab wrote: > >It would be > > nice if both Philipp and Benjamin test such patch, for us to be sure > > that it would work for both. > > > > Regards, > > Mauro > > I added it to the

Re: [PATCH v3] docs-rst: ignore arguments on macro definitions

2016-08-31 Thread Jani Nikula
On Wed, 31 Aug 2016, Markus Heiser wrote: > I haven't tested your suggestion, but since *void* is in the list > of stop-words: > > # These C types aren't described anywhere, so don't try to create > # a cross-reference to them > stopwords = set(( >

RFC: V4L2_PIX_FMT_NV16: should it allow padding after each plane?

2016-08-31 Thread Hans Verkuil
The NV16 documentation allows for padding after each line: https://hverkuil.home.xs4all.nl/spec/uapi/v4l/pixfmt-nv16.html But I have one case where there is also padding after each plane. Can we fold that into the existing NV16 format? I.e., in that case the size of each plane is sizeimage / 2.

Re: [PATCH v3] docs-rst: ignore arguments on macro definitions

2016-08-31 Thread Markus Heiser
Am 29.08.2016 um 17:36 schrieb Jani Nikula : > On Mon, 29 Aug 2016, Mauro Carvalho Chehab wrote: >> Em Mon, 29 Aug 2016 16:12:39 +0200 >> Markus Heiser escreveu: >> >>> Am 29.08.2016 um 15:13 schrieb Mauro

[PATCH 4/5] smiapp: Constify the regs argument to smiapp_write_8s()

2016-08-31 Thread Sakari Ailus
The data may now be const as well. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-quirk.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-quirk.c

[PATCH 0/5] smiapp cleanups, retry probe if getting clock fails

2016-08-31 Thread Sakari Ailus
Hi all, These patches contain cleanups for the smiapp driver and return -EPROBE_DEFER if getting the clock fails. -- Kind 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

[PATCH 1/5] smiapp: Unify enforced and need-based 8-bit read

2016-08-31 Thread Sakari Ailus
From: Sakari Ailus Unify enforced 8-bit read access with that based on actual need. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-regs.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff

[PATCH 5/5] smiapp: Switch to gpiod API for GPIO control

2016-08-31 Thread Sakari Ailus
Switch from the old gpio API to the new descriptor based gpiod API. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 28 +++- drivers/media/i2c/smiapp/smiapp.h | 1 + 2 files changed, 16 insertions(+), 13

[PATCH 3/5] smiapp: Return -EPROBE_DEFER if the clock cannot be obtained

2016-08-31 Thread Sakari Ailus
The clock may be provided by a driver which is yet to probe. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c

[PATCH 2/5] smiapp: Rename smiapp_platform_data as smiapp_hwconfig

2016-08-31 Thread Sakari Ailus
This is really configuration to the driver originating from DT or elsewhere. Do not call it platform data. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 140 drivers/media/i2c/smiapp/smiapp-quirk.c | 4

Hello linux

2016-08-31 Thread Philip Poole
hi linux http://www.paolahsanchez.com/cream.php?section=zwk1p7a6azpbu82 Philip -- 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://vger.kernel.org/majordomo-info.html

[GIT PULL FOR v4.8] Two cec bug fixes

2016-08-31 Thread Hans Verkuil
Two CEC bug fixes that should go into 4.8. Regards, Hans The following changes since commit fb6609280db902bd5d34445fba1c926e95e63914: [media] dvb_frontend: Use memdup_user() rather than duplicating its implementation (2016-08-24 17:20:45 -0300) are available in the git repository