cron job: media_tree daily build: OK

2018-04-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: Tue May 1 05:00:12 CEST 2018 media-tree git hash:a2b2eff6ac2716f499defa590a6ec4ba379d765e media_build

Re: [RESEND PATCH v8 2/2] media: dw9807: Add dw9807 vcm driver

2018-04-30 Thread Tomasz Figa
Hi Andy, On Wed, Apr 25, 2018 at 11:04 AM Andy Yeh wrote: > From: Alan Chiang > DW9807 is a 10 bit DAC from Dongwoon, designed for linear > control of voice coil motor. > This driver creates a V4L2 subdevice and > provides control to set the

Re: [PATCH v6 12/12] intel-ipu3: Add imgu top level pci device driver

2018-04-30 Thread Tomasz Figa
On Fri, Apr 27, 2018 at 2:22 AM Zhi, Yong wrote: > Hi, Tomasz, > Thanks for the review again. > > -Original Message- > > From: Tomasz Figa [mailto:tf...@chromium.org] > > Sent: Thursday, April 26, 2018 12:15 AM > > To: Zhi, Yong > > Cc: Linux

[PATCH v4 06/10] media-bus: uapi: Add YCrCb 420 media bus format

2018-04-30 Thread Satish Kumar Nagireddy
This commit adds YUV 420 media bus format. VYYUYY8_1X24 is an approximate way to descrive the pixels sent over the bus. This patch also contain rst documentation for media bus format. Signed-off-by: Satish Kumar Nagireddy ---

[PATCH v4 07/10] media: Add new dt-bindings/vf_codes for supported formats

2018-04-30 Thread Satish Kumar Nagireddy
From: Rohit Athavale This commit adds new entries to the exisiting vf_codes that are used to describe the media bus formats in the DT bindings. The newly added 8-bit and 10-bit color depth related formats will need these updates. Signed-off-by: Rohit Athavale

[PATCH v4 05/10] uapi: media: New fourcc codes needed by Xilinx Video IP

2018-04-30 Thread Satish Kumar Nagireddy
From: Jeffrey Mouroux The Xilinx Video Framebuffer DMA IP supports video memory formats that are not represented in the current V4L2 fourcc library. This patch adds those missing fourcc codes. This includes both new 8-bit and 10-bit pixel formats. Signed-off-by: Jeffrey

[PATCH v4 10/10] v4l: xilinx: dma: Add support for 10 bit formats

2018-04-30 Thread Satish Kumar Nagireddy
This patch adds xvip_format_plane_width_bytes function to calculate number of bytes for a macropixel formats and also adds new 10 bit pixel formats to video descriptor table. Signed-off-by: Satish Kumar Nagireddy ---

[PATCH v4 09/10] v4l: xilinx: dma: Add multi-planar support

2018-04-30 Thread Satish Kumar Nagireddy
The current v4l driver supports single plane formats. This patch adds support to handle multi-planar formats. Driver can handle both single and multi-planar formats. Signed-off-by: Satish Kumar Nagireddy --- drivers/media/platform/xilinx/xilinx-dma.c |

[PATCH v4 08/10] v4l: xilinx: dma: Update video format descriptor

2018-04-30 Thread Satish Kumar Nagireddy
This patch updates video format descriptor to help information viz., number of planes per color format and chroma sub sampling factors. Signed-off-by: Satish Kumar Nagireddy --- drivers/media/platform/xilinx/xilinx-dma.c | 12 ++--

[PATCH v4 04/10] Documentation: uapi: media: v4l: New pixel format

2018-04-30 Thread Satish Kumar Nagireddy
From: Jeffrey Mouroux These descriptions are for YUV 420 and YUV 422 10 bit formats. Signed-off-by: Jeffrey Mouroux Signed-off-by: Satish Kumar Nagireddy --- Documentation/media/uapi/v4l/pixfmt-xv15.rst | 135

[PATCH v4 01/10] v4l: xilinx: dma: Remove colorspace check in xvip_dma_verify_format

2018-04-30 Thread Satish Kumar Nagireddy
From: Radhey Shyam Pandey In current implementation driver only checks the colorspace between the last subdev in the pipeline and the connected video node, the pipeline could be configured with wrong colorspace information until the very end. It thus makes little

[PATCH v4 02/10] xilinx: v4l: dma: Use the dmaengine_terminate_all() wrapper

2018-04-30 Thread Satish Kumar Nagireddy
From: Laurent Pinchart Calling dmaengine_device_control() to terminate transfers is an internal API that will disappear, use the stable API wrapper instead. Signed-off-by: Laurent Pinchart Signed-off-by: Satish Kumar

[PATCH v4 03/10] xilinx: v4l: dma: Update driver to allow for probe defer

2018-04-30 Thread Satish Kumar Nagireddy
From: Rohit Athavale Update xvip_dma_init() to use dma_request_chan(), enabling probe deferral. Also update the cleanup routine to prevent dereferencing an ERR_PTR(). Signed-off-by: Rohit Athavale Signed-off-by: Satish Kumar Nagireddy

[PATCH v4 00/10] Add support for multi-planar formats and 10 bit formats

2018-04-30 Thread Satish Kumar Nagireddy
The patches are for xilinx v4l. The patcheset enable support to handle multiplanar formats and 10 bit formats. The implemenation has handling of single plane formats too for backward compatibility of some existing applications. Changes in v4 (Thanks to Sakari Ailus, Hyun Kwon and Ian

Re: [PATCH] media: v4l2-ioctl: fix function types for IOCTL_INFO_STD

2018-04-30 Thread Kees Cook
On Fri, Apr 27, 2018 at 11:59 AM, Sami Tolvanen wrote: > This change fixes indirect call mismatches with Control-Flow Integrity > checking, which are caused by calling standard ioctls using a function > pointer that doesn't match the type of the actual function. > >

Re: [PATCH] media: media-device: fix ioctl function types

2018-04-30 Thread Kees Cook
On Fri, Apr 27, 2018 at 12:54 PM, Sami Tolvanen wrote: > This change fixes function types for media device ioctls to avoid > indirect call mismatches with Control-Flow Integrity checking. > > Signed-off-by: Sami Tolvanen Thanks for sending

Re: [Intel-gfx] [PATCH 01/17] dma-fence: Some kerneldoc polish for dma-fence.h

2018-04-30 Thread Eric Anholt
Daniel Vetter writes: > + /** > + * @fill_driver_data: > + * > + * Callback to fill in free-form debug info Returns amount of bytes > + * filled, or negative error on failure. Maybe this "Returns" should be on a new line? Or at least a '.' in

Re: [PATCH v7 8/8] media: vsp1: Move video configuration to a cached dlb

2018-04-30 Thread Kieran Bingham
Hi Laurent, On 07/04/18 01:23, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Thursday, 8 March 2018 02:05:31 EEST Kieran Bingham wrote: >> We are now able to configure a pipeline directly into a local display >> list body. Take advantage of this fact, and create a

[PATCH] media: videobuf-dma-sg: Fix dma_{sync,unmap}_sg() calls

2018-04-30 Thread Robin Murphy
This reverts commit fc7f8fd42c2b934ac348995e0c530c917fc277d5. Whilst the rationale for the above commit was in general correct, i.e. that users *consuming* the DMA addresses should rely on sglen rather than num_pages, it has always been the case that the DMA API itself still requires that

Re: [PATCH v7 6/8] media: vsp1: Refactor display list configure operations

2018-04-30 Thread Kieran Bingham
Hi Laurent, On 07/04/18 00:38, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Thursday, 8 March 2018 02:05:29 EEST Kieran Bingham wrote: >> The entities provide a single .configure operation which configures the >> object into the target display list, based on the

Re: [PATCH 04/17] dma-fence: Allow wait_any_timeout for all fences

2018-04-30 Thread Daniel Vetter
On Sun, Apr 29, 2018 at 09:11:31AM +0200, Christian König wrote: > Am 27.04.2018 um 08:17 schrieb Daniel Vetter: > > When this was introduced in > > > > commit a519435a96597d8cd96123246fea4ae5a6c90b02 > > Author: Christian König > > Date: Tue Oct 20 16:34:16 2015

Re: [PATCH v8 10/13] [media] vb2: add out-fence support to QBUF

2018-04-30 Thread Ezequiel Garcia
Hi guys, I've a couple questions. On 9 March 2018 at 14:49, Gustavo Padovan wrote: > From: Gustavo Padovan > > If V4L2_BUF_FLAG_OUT_FENCE flag is present on the QBUF call we create > an out_fence and send its fd to userspace on the fence_fd

Re: [PATCH][next] media: ispstat: don't dereference user_cfg before a null check

2018-04-30 Thread Gustavo A. R. Silva
Hi Sakari, On 04/30/2018 10:15 AM, Sakari Ailus wrote: Isn't there a guarantee that new_buf won't be NULL ? The new_buf pointer comes from the parg variable in video_usercopy(), which should always point to a valid buffer given that the ioctl number specifies a non-zero size. Fair question.

Re: [PATCH][next] media: ispstat: don't dereference user_cfg before a null check

2018-04-30 Thread Sakari Ailus
On Thu, Apr 26, 2018 at 01:03:15PM +0300, Laurent Pinchart wrote: > Hi Sakari, > > On Thursday, 26 April 2018 11:37:31 EEST Sakari Ailus wrote: > > On Tue, Apr 24, 2018 at 02:06:18PM +0100, Colin King wrote: > > > From: Colin Ian King > > > > > > The pointer user_cfg

Re: [PATCH] media: intel-ipu3: cio2: Handle IRQs until INT_STS is cleared

2018-04-30 Thread Sakari Ailus
On Mon, Apr 30, 2018 at 09:30:40AM -0500, Yong Zhi wrote: > From: Bingbu Cao > > Interrupt behavior shows that some time the frame end and frame start > of next frame is unstable and can range from several to hundreds of micro-sec. > In the case of ~10us, isr may not clear

Re: [RFCv11 PATCH 26/29] vim2m: use workqueue

2018-04-30 Thread Hans Verkuil
On 12/04/18 11:02, Tomasz Figa wrote: > Hi Hans, > > On Mon, Apr 9, 2018 at 11:20 PM Hans Verkuil wrote: > >> From: Hans Verkuil > >> v4l2_ctrl uses mutexes, so we can't setup a ctrl_handler in >> interrupt context. Switch to a workqueue instead. >

Re: [RFCv11 PATCH 26/29] vim2m: use workqueue

2018-04-30 Thread Hans Verkuil
On 11/04/18 16:06, Paul Kocialkowski wrote: > Hi, > > On Mon, 2018-04-09 at 16:20 +0200, Hans Verkuil wrote: >> From: Hans Verkuil >> >> v4l2_ctrl uses mutexes, so we can't setup a ctrl_handler in >> interrupt context. Switch to a workqueue instead. > > See one comment

Re: [PATCH v7 4/8] media: vsp1: Convert display lists to use new body pool

2018-04-30 Thread Kieran Bingham
Hi Laurent, On 06/04/18 23:55, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Thursday, 8 March 2018 02:05:27 EEST Kieran Bingham wrote: >> Adapt the dl->body0 object to use an object from the body pool. This >> greatly reduces the pressure on the TLB for IPMMU use

[PATCH] media: intel-ipu3: cio2: Handle IRQs until INT_STS is cleared

2018-04-30 Thread Yong Zhi
From: Bingbu Cao Interrupt behavior shows that some time the frame end and frame start of next frame is unstable and can range from several to hundreds of micro-sec. In the case of ~10us, isr may not clear next sof interrupt status in single handling, which prevents new

Re: [PATCH v7 3/8] media: vsp1: Provide a body pool

2018-04-30 Thread Kieran Bingham
Hi Laurent, On 06/04/18 23:33, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Thursday, 8 March 2018 02:05:26 EEST Kieran Bingham wrote: >> Each display list allocates a body to store register values in a dma >> accessible buffer from a dma_alloc_wc() allocation. Each

Re: atomisp: drop from staging ?

2018-04-30 Thread Sakari Ailus
Hi Alan, On Sun, Apr 29, 2018 at 01:18:37AM +0100, Alan Cox wrote: > > I think this is going to be the best option. When I started cleaning up > the atomisp code I had time to work on it. Then spectre/meltdown > happened (which btw is why the updating suddenly and mysteriously stopped > last

Re: [PATCH v2 1/2] dt-bindings: media: renesas-ceu: Add R-Mobile R8A7740

2018-04-30 Thread Simon Horman
On Thu, Apr 26, 2018 at 08:24:42PM +0200, Jacopo Mondi wrote: > Add R-Mobile A1 R8A7740 SoC to the list of compatible values for the CEU > unit. > > Signed-off-by: Jacopo Mondi Reviewed-by: Simon Horman > --- >

Re: [PATCH] rcar-vin: fix null pointer dereference in rvin_group_get()

2018-04-30 Thread Simon Horman
On Thu, Apr 26, 2018 at 05:20:05PM +0200, Niklas Söderlund wrote: > Hi Simon, > > Thanks for your feedback. > > On 2018-04-25 09:18:51 +0200, Simon Horman wrote: > > On Wed, Apr 25, 2018 at 01:45:06AM +0200, Niklas Söderlund wrote: > > > Store the group pointer before disassociating the VIN from