[PATCH RFC] v4l2-core: Use kvmalloc() for potentially big allocations

2017-05-30 Thread Tomasz Figa
There are multiple places where arrays or otherwise variable sized buffer are allocated through V4L2 core code, including things like controls, memory pages, staging buffers for ioctls and so on. Such allocations can potentially require an order > 0 allocation from the page allocator, which is not

Re: [RFC PATCH 6/7] drm: add support for DisplayPort CEC-Tunneling-over-AUX

2017-05-30 Thread Hans Verkuil
On 05/31/2017 01:57 AM, Clint Taylor wrote: On 05/26/2017 12:18 AM, Daniel Vetter wrote: On Thu, May 25, 2017 at 05:06:25PM +0200, Hans Verkuil wrote: From: Hans Verkuil This adds support for the DisplayPort CEC-Tunneling-over-AUX feature that is part of the DisplayPort 1.3 standard. Unfor

Re: [RFC PATCH 7/7] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-05-30 Thread Hans Verkuil
On 05/31/2017 01:25 AM, Clint Taylor wrote: On 05/30/2017 02:29 PM, Hans Verkuil wrote: On 05/30/2017 10:32 PM, Clint Taylor wrote: On 05/30/2017 09:54 AM, Hans Verkuil wrote: On 05/30/2017 06:49 PM, Hans Verkuil wrote: On 05/30/2017 04:19 PM, Clint Taylor wrote: On 05/30/2017 12:11 AM

Re: [RFC PATCH] [media] v4l2-subdev: check colorimetry in link validate

2017-05-30 Thread Sakari Ailus
Hi Helen, On Tue, May 30, 2017 at 04:08:08PM -0300, Helen Koike wrote: > colorspace, ycbcr_enc, quantization and xfer_func must match across the > link. > Check if they match in v4l2_subdev_link_validate_default unless they are > set as _DEFAULT. > > Signed-off-by: Helen Koike > > --- > > Hi,

cron job: media_tree daily build: WARNINGS

2017-05-30 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 May 31 05:00:16 CEST 2017 media-tree git hash:36bcba973ad478042d1ffc6e89afd92e8bd17030 media_build gi

Re: [PATCH v2] [media] vb2: core: Lower the log level of debug outputs

2017-05-30 Thread Joe Perches
On Wed, 2017-05-31 at 12:28 +0900, Hirokazu Honda wrote: > If I understand a bitmap correctly, it is necessary to change the log level > for each message. > I didn't mean a bitmap will take a long CPU time. > I mean the work to change so takes a long time. No, none of the messages or levels need c

Re: [PATCH 04/19] [media] dvb-frontends/cxd2841er: support CXD2837/38/43ER demods/Chip IDs

2017-05-30 Thread Abylay Ospan
Acked-by: Abylay Ospan 2017-04-09 15:38 GMT-04:00 Daniel Scheller : > From: Daniel Scheller > > Those demods are programmed in the same way as the CXD2841ER/54ER and can > be handled by this driver. Support added in a way matching the existing > code, supported delivery systems are set according

Re: [PATCH v2] [media] vb2: core: Lower the log level of debug outputs

2017-05-30 Thread Joe Perches
On Wed, 2017-05-31 at 11:05 +0900, Hirokazu Honda wrote: > Although bitmap is useful, there is need to change the log level for each > log. > Because it will take a longer time, it should be done in another patch. I have no idea what you mean. A bit & comparison is typically an identical instruct

media_build: fails to install

2017-05-30 Thread Olli Salonen
It seems that I'm able to build the media_build correctly on Ubuntu 16.04.2 with kernel 4.8, but make install fails: ~/src/media_build$ sudo make install make -C /home/olli/src/media_build/v4l install make[1]: Entering directory '/home/olli/src/media_build/v4l' make[1]: *** No rule to make target

Re: [PATCH 03/19] [media] dvb-frontends/cxd2841er: immediately unfreeze regs when done

2017-05-30 Thread Abylay Ospan
Acked-by: Abylay Ospan 2017-04-09 15:38 GMT-04:00 Daniel Scheller : > From: Daniel Scheller > > Do unfreeze_regs() directly when accessing the demod registers is done, > and don't have multiple unfreeze's on different conditions, which even > can get prone to errors. > > Signed-off-by: Daniel Sc

Re: [RFC PATCH 6/7] drm: add support for DisplayPort CEC-Tunneling-over-AUX

2017-05-30 Thread Clint Taylor
On 05/26/2017 12:18 AM, Daniel Vetter wrote: On Thu, May 25, 2017 at 05:06:25PM +0200, Hans Verkuil wrote: From: Hans Verkuil This adds support for the DisplayPort CEC-Tunneling-over-AUX feature that is part of the DisplayPort 1.3 standard. Unfortunately, not all DisplayPort/USB-C to HDMI a

Re: [RFC v3 00/21] Make use of kref in media device, grab references as needed

2017-05-30 Thread Shuah Khan
Hi Sailus/Mauro, On 01/26/2017 02:10 AM, Mauro Carvalho Chehab wrote: > Em Wed, 25 Jan 2017 13:02:31 +0200 > Sakari Ailus escreveu: > >> Hi Mauro, >> >> On Tue, Jan 24, 2017 at 08:49:02AM -0200, Mauro Carvalho Chehab wrote: >>> Hi Sakari, >>> >>> Just returned this week from vacations. I'm readi

Re: [RFC PATCH 7/7] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-05-30 Thread Clint Taylor
On 05/30/2017 02:29 PM, Hans Verkuil wrote: On 05/30/2017 10:32 PM, Clint Taylor wrote: On 05/30/2017 09:54 AM, Hans Verkuil wrote: On 05/30/2017 06:49 PM, Hans Verkuil wrote: On 05/30/2017 04:19 PM, Clint Taylor wrote: On 05/30/2017 12:11 AM, Jani Nikula wrote: On Tue, 30 May 2017, Ha

Re: [RFC PATCH 7/7] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-05-30 Thread Hans Verkuil
On 05/30/2017 10:32 PM, Clint Taylor wrote: On 05/30/2017 09:54 AM, Hans Verkuil wrote: On 05/30/2017 06:49 PM, Hans Verkuil wrote: On 05/30/2017 04:19 PM, Clint Taylor wrote: On 05/30/2017 12:11 AM, Jani Nikula wrote: On Tue, 30 May 2017, Hans Verkuil wrote: On 05/29/2017 09:00 PM, Dan

Re: [RFC PATCH 7/7] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-05-30 Thread Clint Taylor
On 05/30/2017 09:54 AM, Hans Verkuil wrote: On 05/30/2017 06:49 PM, Hans Verkuil wrote: On 05/30/2017 04:19 PM, Clint Taylor wrote: On 05/30/2017 12:11 AM, Jani Nikula wrote: On Tue, 30 May 2017, Hans Verkuil wrote: On 05/29/2017 09:00 PM, Daniel Vetter wrote: On Fri, May 26, 2017 at 12

Re: [RFC PATCH 7/7] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-05-30 Thread Clint Taylor
On 05/30/2017 09:49 AM, Hans Verkuil wrote: On 05/30/2017 04:19 PM, Clint Taylor wrote: On 05/30/2017 12:11 AM, Jani Nikula wrote: On Tue, 30 May 2017, Hans Verkuil wrote: On 05/29/2017 09:00 PM, Daniel Vetter wrote: On Fri, May 26, 2017 at 12:20:48PM +0200, Hans Verkuil wrote: On 05/26

Re: [PATCH] dtv-scan-tables - dvb-s - add the config file for Eutelsat 5 West A - 5.0W - C Band

2017-05-30 Thread Olliver Schinagl
Hey Lenny, On 01/11/17 14:54, l...@netcourrier.com wrote: > Hello, > > There is no config scan file for Eutelsat 5 West A - 5.0W - C Band > transponders at https://git.linuxtv.org/dtv-scan-tables.git/tree/dvb-s/ > Attached is a config scan file for Eutelsat 5 West A - 5.0W - C Band > transponde

Re: [PATCH] dtv-scan-tables - dvb-t - add file for France Paris Eiffel Tower DVB-T transmitters

2017-05-30 Thread Olliver Schinagl
Hey Lenny, On 01/11/17 14:51, l...@netcourrier.com wrote: > Hello, > > There is no file for Paris Eiffel Tower DVB-T transmitters at > https://git.linuxtv.org/dtv-scan-tables.git/tree/dvb-t/ . > Attached is a config scan file for Paris Eiffel Tower transmitters in dvbv5 > format. > Could you ple

Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"

2017-05-30 Thread Karl Wallin
Oh and it is the same running as my normal user as well as "root". Med vänlig hälsning / Best Regards - Karl Wallin karl.wallin...@gmail.com P.S. Om mitt mail bör vidarebefodras, vänligen gör detta istället för att återkomma med en email-adress i ett svar till mig. / If my mail should be forwarde

Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"

2017-05-30 Thread Karl Wallin
Hi! Sorry for not replying earlier, work. I came so far as to download the patches (via n00bishly pasting the actual content of the .patch-files into .patch-files since my git cherry-pick command didn't work) but then after trying to apply them I got a prompt with specifying the path of the file a

[RFC PATCH] [media] v4l2-subdev: check colorimetry in link validate

2017-05-30 Thread Helen Koike
colorspace, ycbcr_enc, quantization and xfer_func must match across the link. Check if they match in v4l2_subdev_link_validate_default unless they are set as _DEFAULT. Signed-off-by: Helen Koike --- Hi, I think we should validate colorimetry as having different colorimetry across a link doesn'

Re: [RFC PATCH 7/7] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-05-30 Thread Hans Verkuil
On 05/30/2017 06:49 PM, Hans Verkuil wrote: On 05/30/2017 04:19 PM, Clint Taylor wrote: On 05/30/2017 12:11 AM, Jani Nikula wrote: On Tue, 30 May 2017, Hans Verkuil wrote: On 05/29/2017 09:00 PM, Daniel Vetter wrote: On Fri, May 26, 2017 at 12:20:48PM +0200, Hans Verkuil wrote: On 05/26/2

Re: [RFC PATCH 7/7] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-05-30 Thread Hans Verkuil
On 05/30/2017 04:19 PM, Clint Taylor wrote: On 05/30/2017 12:11 AM, Jani Nikula wrote: On Tue, 30 May 2017, Hans Verkuil wrote: On 05/29/2017 09:00 PM, Daniel Vetter wrote: On Fri, May 26, 2017 at 12:20:48PM +0200, Hans Verkuil wrote: On 05/26/2017 09:15 AM, Daniel Vetter wrote: Did you l

Re: [PATCH 02/19] [media] dvb-frontends/cxd2841er: do I2C reads in one go

2017-05-30 Thread Abylay Ospan
Acked-by: Abylay Ospan 2017-04-09 15:38 GMT-04:00 Daniel Scheller : > From: Daniel Scheller > > Doing the I2C read operation with two calls to i2c_transfer() causes the > exclusive I2C bus lock of the underlying adapter to be released. While this > isn't an issue if only one demodulator is attac

Re: Firmware for staging atomisp driver

2017-05-30 Thread Alan Cox
On Sun, 2017-05-28 at 14:30 +0200, Hans de Goede wrote: > I started with an Asus T100TA after fixing 2 oopses in the sensor > driver there I found out that the BIOS does not allow to put the > ISP in PCI mode and that there is no code to drive it in ACPI > enumerated mode. In ACPI mode it's enumer

Re: [PATCH 01/19] [media] dvb-frontends/cxd2841er: remove kernel log spam in non-debug levels

2017-05-30 Thread Abylay Ospan
Acked-by: Abylay Ospan 2017-04-09 15:38 GMT-04:00 Daniel Scheller : > From: Daniel Scheller > > This moves the I2C debug dump into the preceding dev_dbg() call by > utilising the %*ph format macro and removes the call to > print_hex_debug_bytes(). > > Signed-off-by: Daniel Scheller > --- > dri

Re: [RFC PATCH 7/7] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-05-30 Thread Clint Taylor
On 05/30/2017 12:11 AM, Jani Nikula wrote: On Tue, 30 May 2017, Hans Verkuil wrote: On 05/29/2017 09:00 PM, Daniel Vetter wrote: On Fri, May 26, 2017 at 12:20:48PM +0200, Hans Verkuil wrote: On 05/26/2017 09:15 AM, Daniel Vetter wrote: Did you look into also wiring this up for dp mst chain

Re: [PATCH v4 1/4] media-ctl: add pad support to set/get_frame_interval

2017-05-30 Thread Sakari Ailus
On Tue, May 30, 2017 at 03:04:39PM +0200, Philipp Zabel wrote: > Hi, > > On Thu, 2017-03-30 at 18:51 +0200, Philipp Zabel wrote: > > This allows to set and get the frame interval on pads other than pad 0. > > > > Signed-off-by: Philipp Zabel > > Acked-by: Sakari Ailus > > any more comments on

Re: [PATCH 0/3] Fix failure of media_build build script

2017-05-30 Thread Vincent McIntyre
Before sending I ran one-more-test... which failed. Will respin and try again later. Vince

[GIT PULL FOR v4.12] RC race condition

2017-05-30 Thread Sean Young
Hi Mauro, Just a fix for an issue which the 0day robot found. I think the bug has always been present. Thanks Sean The following changes since commit dd8245f445f5e751b38126140b6ba1723f06c60b: [media] atomisp: don't treat warnings as errors (2017-05-18 05:44:00 -0300) are available in the git

Re: [PATCH v4 1/4] media-ctl: add pad support to set/get_frame_interval

2017-05-30 Thread Philipp Zabel
Hi, On Thu, 2017-03-30 at 18:51 +0200, Philipp Zabel wrote: > This allows to set and get the frame interval on pads other than pad 0. > > Signed-off-by: Philipp Zabel > Acked-by: Sakari Ailus any more comments on these? regards Philipp > --- > utils/media-ctl/libv4l2subdev.c | 24 ++

[PATCH 0/3] Fix failure of media_build build script

2017-05-30 Thread Vincent McIntyre
Hi I was trying to run build --main-git without the --depth option and it went splat. The attached series fixes my problem, possibly not entirely correctly for all cases, in the first patch. The other two patches are small cleanups that should make things more legible. Vincent McIntyre (3): Use

Re: [PATCH] davinci: vpif_capture: fix default pixel format for BT.656/BT.1120 video

2017-05-30 Thread Benoit Parrot
Sekhar Nori wrote on Fri [2017-May-26 16:25:27 +0530]: > For both BT.656 and BT.1120 video, the pixel format > used by VPIF is Y/CbCr 4:2:2 in semi-planar format > (Luma in one plane and Chroma in another). This > corresponds to NV16 pixel format. > > This is documented in section 36.2.3 of OMAP-

Re: [PATCH] davinci: vpif_capture: fix default pixel format for BT.656/BT.1120 video

2017-05-30 Thread Sekhar Nori
On Tuesday 30 May 2017 03:10 PM, Lad, Prabhakar wrote: > Hi Sekhar, > > Thanks for the patch. > > On Fri, May 26, 2017 at 11:55 AM, Sekhar Nori wrote: >> For both BT.656 and BT.1120 video, the pixel format >> used by VPIF is Y/CbCr 4:2:2 in semi-planar format >> (Luma in one plane and Chroma in

Re: [PATCH v2] [media] vb2: core: Lower the log level of debug outputs

2017-05-30 Thread Joe Perches
On Tue, 2017-05-30 at 18:49 +0900, Hirokazu Honda wrote: > Some debug output whose log level is set 1 flooded the log. > Their log level is lowered to find the important log easily. Maybe use pr_debug instead? Perhaps it would be better to change the level to a bitmap so these can be more individ

Re: [PATCH v7 2/3] [media] add mux and video interface bridge entity functions

2017-05-30 Thread Philipp Zabel
Hi Sakari, On Mon, 2017-05-29 at 23:38 +0300, Sakari Ailus wrote: [...] > > diff --git a/Documentation/media/uapi/mediactl/media-types.rst > > b/Documentation/media/uapi/mediactl/media-types.rst > > index 2a5164aea2b40..1d15542f447c1 100644 > > --- a/Documentation/media/uapi/mediactl/media-types.

[PATCH v2] [media] mtk-vcodec: Show mtk driver error without DEBUG definition

2017-05-30 Thread Hirokazu Honda
A driver error message is shown without DEBUG definition to find an error and debug easily. Signed-off-by: Hirokazu Honda --- drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/media/platform/mtk-v

[PATCH v2] [media] vb2: core: Lower the log level of debug outputs

2017-05-30 Thread Hirokazu Honda
Some debug output whose log level is set 1 flooded the log. Their log level is lowered to find the important log easily. Signed-off-by: Hirokazu Honda --- drivers/media/v4l2-core/videobuf2-core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/media/v4l2-co

Re: [PATCH] davinci: vpif_capture: fix default pixel format for BT.656/BT.1120 video

2017-05-30 Thread Lad, Prabhakar
Hi Sekhar, Thanks for the patch. On Fri, May 26, 2017 at 11:55 AM, Sekhar Nori wrote: > For both BT.656 and BT.1120 video, the pixel format > used by VPIF is Y/CbCr 4:2:2 in semi-planar format > (Luma in one plane and Chroma in another). This > corresponds to NV16 pixel format. > > This is docum

[PATCH] mtk-vcodec: Show mtk driver error without DEBUG definition

2017-05-30 Thread Hirokazu Honda
A driver error message is shown without DEBUG definition to find an error and debug easily. Signed-off-by: Hirokazu Honda --- drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/media/platform/mtk-v

Re: [PATCH] [media] s5p-jpeg: fix recursive spinlock acquisition

2017-05-30 Thread Alexandre Courbot
On Tue, May 30, 2017 at 5:30 PM, Sylwester Nawrocki wrote: > Hi, > > On 05/29/2017 09:08 PM, Jacek Anaszewski wrote: >> >> This patch seems to have lost somehow. Could you help merging it? > > > It's not lost, it has been on my todo queue. I have applied it now. Awesome, thanks!

Re: [PATCH v3 0/4] r8a7793 Gose video input support

2017-05-30 Thread Simon Horman
On Fri, May 26, 2017 at 08:49:07AM +0200, Simon Horman wrote: > On Fri, May 19, 2017 at 03:07:00PM +0200, Ulrich Hecht wrote: > > Hi! > > > > This is a by-the-datasheet implementation of analog and digital video input > > on the Gose board. > > > > This revision adds new bindings that distinguish

Re: [PATCH v3 0/4] r8a7793 Gose video input support

2017-05-30 Thread Simon Horman
On Mon, May 29, 2017 at 11:08:12AM +0200, Hans Verkuil wrote: > On 05/19/2017 03:07 PM, Ulrich Hecht wrote: > >Hi! > > > >This is a by-the-datasheet implementation of analog and digital video input > >on the Gose board. > > > >This revision adds new bindings that distinguish between ADV7180 variant

Re: [ANN] HDMI CEC Status Update

2017-05-30 Thread Hans Verkuil
On 05/30/17 09:21, Neil Armstrong wrote: > Hi Hans, > > On 05/30/2017 08:53 AM, Hans Verkuil wrote: >> For those who are interested in HDMI CEC support I made a little status >> document that I intend to keep up to date: >> >> https://hverkuil.home.xs4all.nl/cec-status.txt >> >> My goal is to get

Re: [PATCH] [media] s5p-jpeg: fix recursive spinlock acquisition

2017-05-30 Thread Sylwester Nawrocki
Hi, On 05/29/2017 09:08 PM, Jacek Anaszewski wrote: This patch seems to have lost somehow. Could you help merging it? It's not lost, it has been on my todo queue. I have applied it now. -- Thanks, Sylwester

Re: [PATCH] Lower the log level of debug outputs

2017-05-30 Thread Alexandre Courbot
On Tue, May 30, 2017 at 3:54 PM, Hirokazu Honda wrote: > Some debug output whose log level is set 1 flooded the log. > Their log level is lowered to find the important log easily. > > Signed-off-by: Hirokazu Honda Your patch title should specify the subsystem of your patch. Something like "[medi

Re: [ANN] HDMI CEC Status Update

2017-05-30 Thread Neil Armstrong
Hi Hans, On 05/30/2017 08:53 AM, Hans Verkuil wrote: > For those who are interested in HDMI CEC support I made a little status > document that I intend to keep up to date: > > https://hverkuil.home.xs4all.nl/cec-status.txt > > My goal is to get CEC supported for any mainlined HDMI driver where t

Re: [PATCH v2 5/7] [media] vimc: cap: Support several image formats

2017-05-30 Thread Hans Verkuil
On 05/29/2017 07:48 PM, Helen Koike wrote: Hi Hans, Thank you for your review. I just have a question for this one. On 2017-05-08 08:53 AM, Hans Verkuil wrote: On 04/08/2017 12:37 AM, Helen Koike wrote: Allow user space to change the image format as the frame size, the pixel format, colorspac

Re: [RFC PATCH 7/7] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-05-30 Thread Jani Nikula
On Tue, 30 May 2017, Hans Verkuil wrote: > On 05/29/2017 09:00 PM, Daniel Vetter wrote: >> On Fri, May 26, 2017 at 12:20:48PM +0200, Hans Verkuil wrote: >>> On 05/26/2017 09:15 AM, Daniel Vetter wrote: Did you look into also wiring this up for dp mst chains? >>> >>> Isn't this sufficient? I h

Re: [RFC PATCH 7/7] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-05-30 Thread Hans Verkuil
On 05/29/2017 09:00 PM, Daniel Vetter wrote: On Fri, May 26, 2017 at 12:20:48PM +0200, Hans Verkuil wrote: On 05/26/2017 09:15 AM, Daniel Vetter wrote: Did you look into also wiring this up for dp mst chains? Isn't this sufficient? I have no way of testing mst chains. I think I need some poi