cron job: media_tree daily build: ERRORS

2016-07-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: Thu Jul 14 04:00:19 CEST 2016 git branch: test git hash: 5cac1f67ea0363d463a58ec2d9118268fe2ba5d6 gcc

Re: [ANN] Media documentation converted to ReST markup language

2016-07-13 Thread Laurent Pinchart
Hi Mauro, On Wednesday 13 Jul 2016 11:11:43 Mauro Carvalho Chehab wrote: > Em Sat, 09 Jul 2016 20:10:21 +0300 Laurent Pinchart escreveu: > > The other one is related, the table of contents in the main page of each > > section > >

Клиентские базы данных для Вашего Бизнеса!!! Узнайте подробнее или запишите контакты. Пригодится не сейчас так позднее!!! Email: nbiruko...@gmail.com Skype: prodawez389

2016-07-13 Thread flitki...@gmail.com
Клиентские базы данных для Вашего Бизнеса!!! Узнайте подробнее или запишите контакты. Пригодится не сейчас так потом!!! Email: nbiruko...@gmail.com Skype: prodawez389

Re: [PATCH 14/28] gpu: ipu-ic: Add complete image conversion support with tiling

2016-07-13 Thread Steve Longerbeam
On 07/13/2016 11:58 AM, Mauro Carvalho Chehab wrote: > > We don't do image rotation in software inside the Kernel! This is > something that should be done either by some hardware block or > in userspace. Hi Mauro, I'm not sure I follow you. This is all hardware conversions. > > We also don't do

[PATCH] [media] cxd2841er: avoid misleading gcc warning

2016-07-13 Thread Arnd Bergmann
The addition of jump label support in dynamic_debug caused an unexpected warning in exactly one file in the kernel: drivers/media/dvb-frontends/cxd2841er.c: In function 'cxd2841er_tune_tc': include/linux/dynamic_debug.h:134:3: error: 'carrier_offset' may be used uninitialized in this function

[PATCH] uapi: export lirc.h header

2016-07-13 Thread Mauro Carvalho Chehab
This header contains the userspace API for lirc. Signed-off-by: Mauro Carvalho Chehab --- include/uapi/linux/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index 8bdae34d1f9a..ec10cfef166a 100644 ---

Re: [PATCH 14/28] gpu: ipu-ic: Add complete image conversion support with tiling

2016-07-13 Thread Mauro Carvalho Chehab
Em Wed, 13 Jul 2016 15:58:31 -0300 Mauro Carvalho Chehab escreveu: > Em Wed, 6 Jul 2016 16:06:44 -0700 > Steve Longerbeam escreveu: > > > This patch implements complete image conversion support to ipu-ic, > > with tiling to support scaling to

Re: [PATCH 14/28] gpu: ipu-ic: Add complete image conversion support with tiling

2016-07-13 Thread Mauro Carvalho Chehab
Em Wed, 6 Jul 2016 16:06:44 -0700 Steve Longerbeam escreveu: > This patch implements complete image conversion support to ipu-ic, > with tiling to support scaling to and from images up to 4096x4096. > Image rotation is also supported. > > The internal API is subsystem

Re: [PATCH v2 4/4] dynamic_debug: add jump label support

2016-07-13 Thread Arnd Bergmann
On Wednesday, July 13, 2016 11:41:50 AM CEST Jason Baron wrote: > > Hi Arnd, > > Ok, this is back in linux-next now (with hopefully a fix for arm). I > was never able to quite reproduce the arm failure you saw. So if > you get the chance to test this it would be great. > I've had a day's worth

Re: [PATCH 07/12] drivers/media: Employ atomic_fetch_inc()

2016-07-13 Thread Mauro Carvalho Chehab
Em Mon, 20 Jun 2016 13:05:59 -0700 Davidlohr Bueso escreveu: > Now that we have fetch_inc() we can stop using inc_return() - 1. > > These are very similar to the existing OP-RETURN primitives we already > have, except they return the value of the atomic variable _before_ >

Re: [PATCH 1/2] [media] v4l2-subdev.h: allow V4L2_FRMIVAL_TYPE_CONTINUOUS & _STEPWISE

2016-07-13 Thread Mauro Carvalho Chehab
Em Sun, 12 Jun 2016 00:20:59 +0200 Philippe De Muyter escreveu: > add max_interval and step_interval to struct > v4l2_subdev_frame_interval_enum. > > When filled correctly by the sensor driver, those fields must be > used as follows by the intermediate level : > > struct

[PATCH] [media] docs-rst: Fix some typos

2016-07-13 Thread Mauro Carvalho Chehab
Those fixes came from patchs from Andrea for the old DocBook documentation. As we're removing it on Kernel 4.8, it doesn't make sense to apply the original patches, but, as the typos were ported to ReST, let's fix the issues there. Suggested-by: Andrea Gelmini

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

2016-07-13 Thread Jean Christophe TROTIN
On 07/11/2016 08:00 PM, Nicolas Dufresne wrote: > Le lundi 11 juillet 2016 à 17:14 +0200, Jean-Christophe Trotin a écrit : [snip] >> +static int hva_g_fmt_stream(struct file *file, void *fh, struct v4l2_format >> *f) >> +{ >> +struct hva_ctx *ctx = fh_to_ctx(file->private_data); >> +

Re: [ANN] Media documentation converted to ReST markup language

2016-07-13 Thread Mauro Carvalho Chehab
Em Sat, 09 Jul 2016 20:10:21 +0300 Laurent Pinchart escreveu: > The other one is related, the table of contents in the main page of each > section > (https://mchehab.fedorapeople.org/media_API_book/linux_tv/media/v4l/v4l2.html > for instance) only shows the

Re: [PATCH v2.2 10/10] v4l: Add 16-bit raw bayer pixel format definitions

2016-07-13 Thread Lad, Prabhakar
On Thu, Jul 7, 2016 at 7:48 AM, Sakari Ailus wrote: > The formats added by this patch are: > > V4L2_PIX_FMT_SBGGR16 > V4L2_PIX_FMT_SGBRG16 > V4L2_PIX_FMT_SGRBG16 > > V4L2_PIX_FMT_SRGGB16 already existed before the patch. Rework the >

Re: [PATCH v2 0/3] support of v4l2 encoder for STMicroelectronics SOC

2016-07-13 Thread Javier Martinez Canillas
Hello Jean Christophe, On Wed, Jul 13, 2016 at 9:49 AM, Jean Christophe TROTIN wrote: > > > On 07/11/2016 08:57 PM, Javier Martinez Canillas wrote: >> On Mon, Jul 11, 2016 at 1:48 PM, Nicolas Dufresne >> wrote: >>> Le lundi 11 juillet

Re: [PATCH v3 3/9] DocBook/v4l: Add compressed video formats used on MT8173 codec driver

2016-07-13 Thread Nicolas Dufresne
Le mercredi 13 juillet 2016 à 10:00 +0800, tiffany lin a écrit : > Hi Nicolas, > > On Tue, 2016-07-12 at 15:14 -0400, Nicolas Dufresne wrote: > > Le mardi 12 juillet 2016 à 15:08 -0400, Nicolas Dufresne a écrit : > > > Le mardi 12 juillet 2016 à 16:16 +0800, Wu-Cheng Li (李務誠) a écrit > : > > > >

Re: [PATCH 7/9] vpbe_display: convert g/s_crop to g/s_selection.

2016-07-13 Thread Lad, Prabhakar
On Mon, Jul 4, 2016 at 9:32 AM, Hans Verkuil wrote: > From: Hans Verkuil > > This is part of a final push to convert all drivers to g/s_selection. > > Signed-off-by: Hans Verkuil > Cc: Prabhakar Lad

[PATCH 2/2] [media] doc-rst: increase depth of the main index

2016-07-13 Thread Mauro Carvalho Chehab
It is useful to have an index with all the book contents somewhere, as it makes easier to seek for something. So, increase maxdepth to 5 for the main index at the beginning of the book. While here, remove the genindex content, as it is bogus. Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH 03/14] davinci: drop unused control callbacks

2016-07-13 Thread Lad, Prabhakar
On Mon, Jul 4, 2016 at 9:34 AM, Hans Verkuil wrote: > From: Hans Verkuil > > These callbacks are no longer used since the davinci drivers use the > control framework. > > Signed-off-by: Hans Verkuil > Cc: Prabhakar Lad

Re: [PATCH] [media] mtk-vcodec: fix type mismatches

2016-07-13 Thread tiffany lin
Hi Arnd, On Wed, 2016-07-13 at 15:08 +0200, Arnd Bergmann wrote: > On Wednesday, July 13, 2016 5:56:26 PM CEST tiffany lin wrote: > > > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c > > > b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c > > > index

[PATCH 1/2] [media] doc-rst: fix an undefined reference

2016-07-13 Thread Mauro Carvalho Chehab
Documentation/media/uapi/cec/cec-ioc-dqevent.rst:43: WARNING: undefined label: cec_event_state_change (if the link has no caption the label must precede a section header) Signed-off-by: Mauro Carvalho Chehab ---

Re: [PATCH v2 0/3] support of v4l2 encoder for STMicroelectronics SOC

2016-07-13 Thread Jean Christophe TROTIN
On 07/11/2016 08:57 PM, Javier Martinez Canillas wrote: > On Mon, Jul 11, 2016 at 1:48 PM, Nicolas Dufresne > wrote: >> Le lundi 11 juillet 2016 à 17:14 +0200, Jean-Christophe Trotin a >> écrit : > > [snip] > >>> >>> Below is the v4l2-compliance report for the

Re: [PATCH v2.2 09/10] v4l: 16-bit BGGR is always 16 bits

2016-07-13 Thread Lad, Prabhakar
On Thu, Jul 7, 2016 at 7:48 AM, Sakari Ailus wrote: > The V4L2_PIX_FMT_SBGGR16 format is documented to contain samples of fewer > than 16 bits. However, we do have specific definitions for smaller sample > sizes. Therefore, this note is redundant from the API point

Re: [PATCH 6/9] vpfe_capture: convert g/s_crop to g/s_selection.

2016-07-13 Thread Lad, Prabhakar
On Mon, Jul 4, 2016 at 9:32 AM, Hans Verkuil wrote: > From: Hans Verkuil > > This is part of a final push to convert all drivers to g/s_selection. > > Signed-off-by: Hans Verkuil > Cc: Prabhakar Lad

Re: [PATCH 2/2] [media] s5p-g2d: Replace old driver with DRM version

2016-07-13 Thread Nicolas Dufresne
Le mardi 12 juillet 2016 à 20:02 -0300, Mauro Carvalho Chehab a écrit : > I suspect that you'll be applying this one via DRM tree, so: > > Em Tue, 24 May 2016 15:28:13 +0200 > Krzysztof Kozlowski escreveu: > > > Remove the old non-DRM driver because it is now entirely

Re: [PATCH v2] [media] mtk-vcodec: fix more type mismatches

2016-07-13 Thread pochun lin
Hi Arnd, On Wed, 2016-07-13 at 15:17 +0200, Arnd Bergmann wrote: > On Wednesday, July 13, 2016 6:52:43 PM CEST pochun lin wrote: > > > diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c > > > b/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c > > > index

Re: [PATCH v2] [media] mtk-vcodec: fix more type mismatches

2016-07-13 Thread Arnd Bergmann
On Wednesday, July 13, 2016 6:52:43 PM CEST pochun lin wrote: > > diff --git a/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c > > b/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c > > index f4e18bb44cb9..9a600525b3c1 100644 > > ---

Re: [PATCH] drivers: misc: ti-st: Use int instead of fuzzy char for callback status

2016-07-13 Thread Marcel Holtmann
Hi Geert, > On mips and parisc: > >drivers/bluetooth/btwilink.c: In function 'ti_st_open': >drivers/bluetooth/btwilink.c:174:21: warning: overflow in implicit > constant conversion [-Woverflow] > hst->reg_status = -EINPROGRESS; > >drivers/nfc/nfcwilink.c: In function

Re: [PATCH] [media] mtk-vcodec: fix type mismatches

2016-07-13 Thread Arnd Bergmann
On Wednesday, July 13, 2016 5:56:26 PM CEST tiffany lin wrote: > > diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c > > b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c > > index 6dcae0a0a1f2..0b25a8700877 100644 > > --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c > >

[PATCH -next] [media] pulse8-cec: fix non static symbol warning

2016-07-13 Thread weiyj_lk
From: Wei Yongjun Fixes the following sparse warning: drivers/staging/media/pulse8-cec/pulse8-cec.c:427:27: warning: symbol 'pulse8_cec_adap_ops' was not declared. Should it be static? Signed-off-by: Wei Yongjun ---

[PATCHv2] doc-rst: improve CEC documentation

2016-07-13 Thread Hans Verkuil
Lots of fixups relating to references. Signed-off-by: Hans Verkuil --- Changes since v1: - Always use refs for ioctls --- diff --git a/Documentation/media/uapi/cec/cec-func-ioctl.rst b/Documentation/media/uapi/cec/cec-func-ioctl.rst index a07cc7c..d0279e6d 100644 ---

Re: [PATCH 2/2] [media] docs-rst: escape [] characters

2016-07-13 Thread Mauro Carvalho Chehab
Em Wed, 13 Jul 2016 08:15:48 -0300 Mauro Carvalho Chehab escreveu: > Those characters are used for citations. Better to escape, to > avoid them to be misinterpreted. > > Signed-off-by: Mauro Carvalho Chehab > --- > diff --git

[PATCH 1/2] [media] doc-rst: use the right markup for footnotes

2016-07-13 Thread Mauro Carvalho Chehab
According with ReST spec, footnotes should be like: [#name], and not [name]. So, change them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/audio.rst | 4 +-- Documentation/media/uapi/v4l/control.rst | 4 +--

[PATCH 2/2] [media] docs-rst: escape [] characters

2016-07-13 Thread Mauro Carvalho Chehab
Those characters are used for citations. Better to escape, to avoid them to be misinterpreted. Signed-off-by: Mauro Carvalho Chehab --- .../media/uapi/cec/cec-ioc-adap-g-caps.rst | 4 +- .../media/uapi/cec/cec-ioc-adap-g-log-addrs.rst| 6 +--

Re: [PATCH 2/9] async: Introduce kfence, a N:M completion mechanism

2016-07-13 Thread Chris Wilson
On Wed, Jul 13, 2016 at 11:38:52AM +0200, Peter Zijlstra wrote: > On Fri, Jun 24, 2016 at 10:08:46AM +0100, Chris Wilson wrote: > > diff --git a/kernel/async.c b/kernel/async.c > > index d2edd6efec56..d0bcb7cc4884 100644 > > --- a/kernel/async.c > > +++ b/kernel/async.c > > @@ -50,6 +50,7 @@

Re: [PATCH] drivers: misc: ti-st: Use int instead of fuzzy char for callback status

2016-07-13 Thread Marcel Holtmann
Hi Mauro, >> On mips and parisc: >> >>drivers/bluetooth/btwilink.c: In function 'ti_st_open': >>drivers/bluetooth/btwilink.c:174:21: warning: overflow in implicit >> constant conversion [-Woverflow] >> hst->reg_status = -EINPROGRESS; >> >>drivers/nfc/nfcwilink.c: In function

Re: [PATCH 2/9] async: Introduce kfence, a N:M completion mechanism

2016-07-13 Thread Daniel Vetter
On Wed, Jul 13, 2016 at 11:20:14AM +0100, Chris Wilson wrote: > On Wed, Jul 13, 2016 at 11:38:52AM +0200, Peter Zijlstra wrote: > > Also, I'm not a particular fan of the k* naming, but I see 'fence' is > > already taken. > > Agreed, I really want to rename the dma-buf fence to struct dma_fence -

Re: [PATCH] drivers: misc: ti-st: Use int instead of fuzzy char for callback status

2016-07-13 Thread Samuel Ortiz
Hi Marcel, On Wed, Jul 13, 2016 at 11:56:02AM +0100, Marcel Holtmann wrote: > Hi Mauro, > > >> On mips and parisc: > >> > >>drivers/bluetooth/btwilink.c: In function 'ti_st_open': > >>drivers/bluetooth/btwilink.c:174:21: warning: overflow in implicit > >> constant conversion

Re: [PATCH v2] [media] mtk-vcodec: fix more type mismatches

2016-07-13 Thread pochun lin
Hi Arnd, On Wed, 2016-07-13 at 10:47 +0200, Arnd Bergmann wrote: > The newly added mtk-vcodec driver produces a number of warnings in an ARM > allmodconfig build, mainly since it assumes that dma_addr_t is 32-bit wide: > > mtk-vcodec/venc/venc_vp8_if.c: In function 'vp8_enc_alloc_work_buf': >

Re: [PATCH] drivers: misc: ti-st: Use int instead of fuzzy char for callback status

2016-07-13 Thread Mauro Carvalho Chehab
Em Mon, 6 Jun 2016 11:02:03 +0200 Geert Uytterhoeven escreveu: > On mips and parisc: > > drivers/bluetooth/btwilink.c: In function 'ti_st_open': > drivers/bluetooth/btwilink.c:174:21: warning: overflow in implicit > constant conversion [-Woverflow] >

Re: [PATCH 2/2] doc-rst: improve CEC documentation

2016-07-13 Thread Mauro Carvalho Chehab
Em Wed, 13 Jul 2016 12:10:23 +0200 Hans Verkuil escreveu: > On 07/13/16 12:06, Mauro Carvalho Chehab wrote: > > Hi Hans, > > > > Em Tue, 12 Jul 2016 20:07:45 +0200 > > Hans Verkuil escreveu: > > > >> From: Hans Verkuil > >> >

Re: [PATCH 3/9] async: Extend kfence to allow struct embedding

2016-07-13 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 10:08:47AM +0100, Chris Wilson wrote: > @@ -151,7 +161,11 @@ static void kfence_free(struct kref *kref) > > WARN_ON(atomic_read(>pending) > 0); > > - kfree(fence); > + if (fence->flags) { > + kfence_notify_t fn = (kfence_notify_t)fence->flags;

Re: [PATCH 5/9] async: Wrap hrtimer to provide a time source for a kfence

2016-07-13 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 10:08:49AM +0100, Chris Wilson wrote: > kfence_add_delay() is a convenience wrapper around > hrtimer_start_range_ns() to provide a time source for a kfence graph. Changelog could be greatly improved by telling us why we'd want this. -- To unsubscribe from this list: send

[GIT PULL for v4.7] media fixes

2016-07-13 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.7-2 For two regression fixes: - A regression when handling VIDIOC_CROPCAP at the media core; - A regression at adv7604 that was ignoring pad number in subdev ops. Thanks! Mauro

Re: [PATCH 2/9] async: Introduce kfence, a N:M completion mechanism

2016-07-13 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 10:08:46AM +0100, Chris Wilson wrote: > +struct kfence { > + wait_queue_head_t wait; > + unsigned long flags; > + struct kref kref; > + atomic_t pending; > +}; > +#define KFENCE_CHECKED_BIT 0 > + > +static void kfence_free(struct kref *kref) > +{ > +

Re: [PATCH 2/2] doc-rst: improve CEC documentation

2016-07-13 Thread Mauro Carvalho Chehab
Hi Hans, Em Tue, 12 Jul 2016 20:07:45 +0200 Hans Verkuil escreveu: > From: Hans Verkuil > > Lots of fixups relating to references. > > Signed-off-by: Hans Verkuil > --- > Documentation/media/uapi/cec/cec-func-ioctl.rst

Re: [PATCH 2/2] doc-rst: improve CEC documentation

2016-07-13 Thread Hans Verkuil
On 07/13/16 12:06, Mauro Carvalho Chehab wrote: > Hi Hans, > > Em Tue, 12 Jul 2016 20:07:45 +0200 > Hans Verkuil escreveu: > >> From: Hans Verkuil >> >> Lots of fixups relating to references. >> >> Signed-off-by: Hans Verkuil

Re: [PATCH] [media] mtk-vcodec: fix type mismatches

2016-07-13 Thread tiffany lin
Hi Arnd, On Mon, 2016-07-11 at 23:37 +0200, Arnd Bergmann wrote: > The newly added mtk-vcodec driver produces a number of warnings in an ARM > allmodconfig build, mainly since it assumes that dma_addr_t is 32-bit wide: > > mtk-vcodec/venc/venc_vp8_if.c: In function 'vp8_enc_alloc_work_buf': >

Re: [PATCH 2/9] async: Introduce kfence, a N:M completion mechanism

2016-07-13 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 10:08:46AM +0100, Chris Wilson wrote: > diff --git a/kernel/async.c b/kernel/async.c > index d2edd6efec56..d0bcb7cc4884 100644 > --- a/kernel/async.c > +++ b/kernel/async.c > @@ -50,6 +50,7 @@ asynchronous and synchronous parts of the kernel. > > #include > #include >

[PATCH v2] [media] mtk-vcodec: fix more type mismatches

2016-07-13 Thread Arnd Bergmann
The newly added mtk-vcodec driver produces a number of warnings in an ARM allmodconfig build, mainly since it assumes that dma_addr_t is 32-bit wide: mtk-vcodec/venc/venc_vp8_if.c: In function 'vp8_enc_alloc_work_buf': mtk-vcodec/venc/venc_vp8_if.c:212:191: error: cast to pointer from integer of

[PATCH v6 19/46] [media] dma-mapping: Use unsigned long for dma_attrs

2016-07-13 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski [for bdisp] Acked-by: Fabien Dessenne [for vb2-core] Reviewed-by: Marek Szyprowski ---

[PATCH v6 45/46] dma-mapping: Remove dma_get_attr

2016-07-13 Thread Krzysztof Kozlowski
After switching DMA attributes to unsigned long it is easier to just compare the bits. Signed-off-by: Krzysztof Kozlowski [for avr32] Acked-by: Hans-Christian Noren Egtvedt [for arc] Acked-by: Vineet Gupta [for arm64 and

[PATCH v6 01/46] [media] mtk-vcodec: Remove unused dma_attrs

2016-07-13 Thread Krzysztof Kozlowski
The local variable dma_attrs is set but never read. Signed-off-by: Krzysztof Kozlowski --- Changes since v5: New patch. --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 4 1 file changed, 4 deletions(-) diff --git

[PATCH v6 00/46] dma-mapping: Use unsigned long for dma_attrs

2016-07-13 Thread Krzysztof Kozlowski
Hi, The fifth version of this patchset was merged by Andrew Morton few days ago. It was rebased on v4.7-rc5 so it missed some ongoing changes. This is just rebase on next-20160713. For easier testing the patchset is available here: repo: https://github.com/krzk/linux branch: for-next/dma

Re: si2157: new revision?

2016-07-13 Thread Oleh Kravchenko
Hello Antti! Thank you for your advice. I succeed with demod chip! ... [ 3454.060649] cx231xx #0: (pipe 0x8b80): IN: c0 0d 0f 00 74 00 04 00 <<< 6f 03 00 00 [ 3454.060784] cx231xx #0 at cx231xx_i2c_xfer: read stop addr=0x64 len=10: [ 3454.060793] cx231xx #0: (pipe 0x8b80): IN: c0 05 23

[PATCH] [media] mtk-vcodec: fix default OUTPUT buffer size

2016-07-13 Thread Tiffany Lin
When calculate OUTPUT buffer size in vidioc_try_fmt, it will add more size hw need in each plane. But in mtk_vcodec_enc_set_default_params, it do not add same size in each plane. This makes v4l2-compliance test fail. This patch fix the issue. Signed-off-by: Tiffany Lin

Re: [PATCH 2/2] [media] s5p-g2d: Replace old driver with DRM version

2016-07-13 Thread Krzysztof Kozlowski
On 07/13/2016 01:02 AM, Mauro Carvalho Chehab wrote: > I suspect that you'll be applying this one via DRM tree, so: > > Em Tue, 24 May 2016 15:28:13 +0200 > Krzysztof Kozlowski escreveu: > >> Remove the old non-DRM driver because it is now entirely supported by >>

[PATCH] cec: don't zero reply and timeout on error

2016-07-13 Thread Hans Verkuil
There is really no reason to zero the reply and timeout fields if an error occurs. This is a left-over from earlier versions where that was used to signal errors, but this is now handled by the rx/tx_status fields. Signed-off-by: Hans Verkuil ---

Re: [PATCH] userspace API definitions for auto-focus coil

2016-07-13 Thread Pavel Machek
On Tue 2016-07-12 20:32:01, Mauro Carvalho Chehab wrote: > Em Sat, 18 Jun 2016 17:38:46 +0200 > Pavel Machek escreveu: > > > Hi! > > > > > > Not V4L2_CID_USER_AD5820...? > > > > > > The rest of the controls have no USER as part of the macro name, so I > > > wouldn't use it here

Re: [PATCH v4] [media] pci: Add tw5864 driver - fixed few style nits, going to resubmit soon

2016-07-13 Thread Hans Verkuil
On 07/13/2016 04:05 AM, Andrey Utkin wrote: > Found and fixed few very minor coding style nits, will resubmit in few days, > now still waiting for comments to v4. Can you resubmit now? I plan to review it on Friday or Monday, and I'd rather review the latest version. Regards, Hans > >

Re: [PATCH] userspace API definitions for auto-focus coil

2016-07-13 Thread Pavel Machek
On Tue 2016-07-12 20:32:01, Mauro Carvalho Chehab wrote: 1;2802;0c> Em Sat, 18 Jun 2016 17:38:46 +0200 > Pavel Machek escreveu: > > > Hi! > > > > > > Not V4L2_CID_USER_AD5820...? > > > > > > The rest of the controls have no USER as part of the macro name, so I > > > wouldn't