Re: [PATCH 1/2] media: ipu3-imgu: Use MENU type for mode control

2019-01-14 Thread Sakari Ailus
Hi Yong, On Mon, Jan 14, 2019 at 09:37:44PM -0600, Yong Zhi wrote: > This addresses the below TODO item. > - Use V4L2_CTRL_TYPE_MENU for dual-pipe mode control. (Sakari) > > Signed-off-by: Yong Zhi > --- > drivers/staging/media/ipu3/TODO | 2 -- > drivers/staging/media/ipu3/inc

Re: [PATCH 2/2] media: ipu3-imgu: Remove dead code for NULL check

2019-01-14 Thread Tomasz Figa
Hi Yong, On Tue, Jan 15, 2019 at 12:38 PM Yong Zhi wrote: > > Since ipu3_css_buf_dequeue() never returns NULL, remove the > dead code to fix static checker warning: > > drivers/staging/media/ipu3/ipu3.c:493 imgu_isr_threaded() > warn: 'b' is an error pointer or valid > > Signed-off-by: Yong Zhi

Re: [PATCH 1/2] media: ipu3-imgu: Use MENU type for mode control

2019-01-14 Thread Tomasz Figa
Hi Yong, On Tue, Jan 15, 2019 at 12:38 PM Yong Zhi wrote: > > This addresses the below TODO item. > - Use V4L2_CTRL_TYPE_MENU for dual-pipe mode control. (Sakari) > > Signed-off-by: Yong Zhi > --- > drivers/staging/media/ipu3/TODO | 2 -- > drivers/staging/media/ipu3/include/in

RE: [PATCH v2] media: ov8856: Add support for OV8856 sensor

2019-01-14 Thread Yeh, Andy
Hi Ben, You are referring to older type of sensor i2c control. You can refer to IMX258 driver. drivers/media/i2c/imx258.c /* Write registers up to 2 at a time */ static int imx258_write_reg(struct imx258 *imx258, u16 reg, u32 len, u32 val) { struct i2c_client *client = v4l2_get_subdevd

cron job: media_tree daily build: OK

2019-01-14 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 Jan 15 05:00:13 CET 2019 media-tree git hash:1e0d0a5fd38192f23304ea2fc2b531fea7c74247 media_build git

[PATCH 1/2] media: ipu3-imgu: Use MENU type for mode control

2019-01-14 Thread Yong Zhi
This addresses the below TODO item. - Use V4L2_CTRL_TYPE_MENU for dual-pipe mode control. (Sakari) Signed-off-by: Yong Zhi --- drivers/staging/media/ipu3/TODO | 2 -- drivers/staging/media/ipu3/include/intel-ipu3.h | 6 -- drivers/staging/media/ipu3/ipu3-v4l2.c | 1

[PATCH 2/2] media: ipu3-imgu: Remove dead code for NULL check

2019-01-14 Thread Yong Zhi
Since ipu3_css_buf_dequeue() never returns NULL, remove the dead code to fix static checker warning: drivers/staging/media/ipu3/ipu3.c:493 imgu_isr_threaded() warn: 'b' is an error pointer or valid Signed-off-by: Yong Zhi --- Link to Dan's bug report: https://www.spinics.net/lists/linux-media/ms

Re: [PATCH v2] media: ov8856: Add support for OV8856 sensor

2019-01-14 Thread Tomasz Figa
Hi Ben, On Fri, Jan 11, 2019 at 12:12 PM Ben Kao wrote: > > This patch adds driver for Omnivision's ov8856 sensor, > the driver supports following features: [snip] > +static int ov8856_write_reg(struct ov8856 *ov8856, u16 reg, u16 len, u32 > __val) > +{ > + struct i2c_client *client = v4l2

Re: Magewell Gen 2935:0001 USB annoyances

2019-01-14 Thread Kai Hendry
Thanks for getting back to me Mauro. So it works on MacOS via a hootoo USB-C dongle https://s.natalian.org/2019-01-15/hootoo.jpeg So since my T480s has two USB-C ports, I tried using the same dongle on my Thinkpad. It works! I discovered that I can reliably get the device working by using

[PATCH 0/2] Media Controller "taint" fixes

2019-01-14 Thread Brad Love
Hauppauge USBLive2 was reported broken. A change in media controller logic appears to be the culprit. Fixes: 9d6d20e652 ("v4l2-mc: switch it to use the new approach to setup pipelines") Without "taint" set for signal type, devices with analog capture fail during probe: [5.821715] cx231xx 3-

[PATCH 1/2] cx231xx-video: Set media controller taint for analog

2019-01-14 Thread Brad Love
Fixes: 9d6d20e652 ("v4l2-mc: switch it to use the new approach to setup pipelines") Without "taint" set for signal type, devices with analog capture fail during probe: [5.821715] cx231xx 3-2:1.1: v4l2 driver version 0.0.3 [5.955721] cx231xx 3-2:1.1: Registered video device video0 [v4l2]

[PATCH 2/2] cx25840-core: Set media controller taint for pads

2019-01-14 Thread Brad Love
Fixes: 9d6d20e652 ("v4l2-mc: switch it to use the new approach to setup pipelines") Without "taint" set for signal type, devices with analog capture fail during probe: [5.821715] cx231xx 3-2:1.1: v4l2 driver version 0.0.3 [5.955721] cx231xx 3-2:1.1: Registered video device video0 [v4l2]

[PATCH v3] media: rcar-vin: Allow independent VIN link enablement

2019-01-14 Thread Steve Longerbeam
From: Steve Longerbeam There is a block of code in rvin_group_link_notify() that prevents enabling a link to a VIN node if any entity in the media graph is in use. This prevents enabling a VIN link even if there is an in-use entity somewhere in the graph that is independent of the link's pipeline

Re: [RFC PATCH v2] media: rcar-vin: Allow independent VIN link enablement

2019-01-14 Thread Steve Longerbeam
On 1/9/19 5:19 PM, Steve Longerbeam wrote: On 1/9/19 2:40 PM, Niklas Söderlund wrote: Hi Steve, Thanks for your patch, I think it looks good. Thanks for the Ack! I'm not real familiar with the RFC patch process. Should this be submitted again with RFC stripped from the subject line? I

Re: i.MX6 RAW8 format

2019-01-14 Thread Steve Longerbeam
Hi JM, On 1/14/19 1:52 AM, Jean-Michel Hautbois wrote: Hi, I am currently using an upstream kernel on a i.MX6 Quad board, and I have a strange issue. The device I am using is able to produce RGB888 MIPI data, or RAW8/RAW10. The MIPI data types are respectively 0x24, 0x2A and 0x2B. When I config

[PATCH v2] media: vimc: Add vimc-streamer for stream control

2019-01-14 Thread Lucas A. M. Magalhaes
Add a linear pipeline logic for the stream control. It's created by walking backwards on the entity graph. When the stream starts it will simply loop through the pipeline calling the respective process_frame function of each entity. Fixes: f2fe89061d797 ("vimc: Virtual Media Controller core, captu

[PATCH] media: cx25840: mark pad sig_types to fix cx231xx init

2019-01-14 Thread Cody P Schafer
Without this, we get failures like this when the kernel attempts to initialize a cx231xx device: [16046.153653] cx231xx 3-1.2:1.1: New device Hauppauge Hauppauge Device @ 480 Mbps (2040:c200) with 6 interfaces [16046.153900] cx231xx 3-1.2:1.1: can't change interface 3 alt no. to

[PATCH 1/1] ov7670: Remove useless use of a ret variable

2019-01-14 Thread Sakari Ailus
Instead of assigning the return value to ret and then checking and returning it, just return the value to the caller directly. The success value is always 0. Signed-off-by: Sakari Ailus --- drivers/media/i2c/ov7670.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/driver

Re: [PATCH v3 02/14] media: ov7670: split register setting from set_framerate() logic

2019-01-14 Thread Sakari Ailus
On Tue, Nov 20, 2018 at 11:03:07AM +0100, Lubomir Rintel wrote: > This will allow us to restore the last set frame rate after the device > returns from a power off. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v2: > - This patch was added to the series > > drivers/media/i2c/ov7670

Re: [PATCH] lib/scatterlist: Provide a DMA page iterator

2019-01-14 Thread Jason Gunthorpe
On Sat, Jan 12, 2019 at 01:03:05PM -0600, Shiraz Saleem wrote: > On Sat, Jan 12, 2019 at 06:37:58PM +, Jason Gunthorpe wrote: > > On Sat, Jan 12, 2019 at 12:27:05PM -0600, Shiraz Saleem wrote: > > > On Fri, Jan 04, 2019 at 10:35:43PM +, Jason Gunthorpe wrote: > > > > Commit 2db76d7c3c6d ("l

[no subject]

2019-01-14 Thread JULIAN GARDNER
Linux https://goo.gl/H3yrpC JULIAN GARDNER

Re: [PATCH v5] media: imx: add mem2mem device

2019-01-14 Thread Nicolas Dufresne
Le mardi 08 janvier 2019 à 16:30 +0100, Philipp Zabel a écrit : > > # To demonstrate (with patched gst-plugins-bad > > https://paste.fedoraproject.org/paste/rs-CbEq7coL4XSKrnWpEDw) > > gst-launch-1.0 videotestsrc ! video/x-raw,format=YUY2 ! v4l2convert ! > > video/x-raw,format=xRGB ! kmssink > >

[PATCH] media: ipu3: update meta format documentation

2019-01-14 Thread Yong Zhi
Make changes based on Laurent's v8 review: https://www.spinics.net/lists/linux-media/msg144408.html Signed-off-by: Yong Zhi --- Documentation/media/uapi/v4l/meta-formats.rst | 2 +- .../media/uapi/v4l/pixfmt-meta-intel-ipu3.rst | 119 ++--- Documentation/media/v4l-drivers

RE: [PATCH v1 2/2] media: atmel-isc: Update device tree binding documentation

2019-01-14 Thread Ken Sloat
> From: Hans Verkuil > Sent: Tuesday, January 8, 2019 8:46 AM > To: Ken Sloat ; eugen.hris...@microchip.com > Cc: mche...@kernel.org; nicolas.fe...@microchip.com; > alexandre.bell...@bootlin.com; ludovic.desroc...@microchip.com; linux- > me...@vger.kernel.org > Subject: Re: [PATCH v1 2/2] media: a

RE: [PATCH v1 1/2] media: atmel-isc: Add support for BT656 with CRC decoding

2019-01-14 Thread Ken Sloat
> From: eugen.hris...@microchip.com > Sent: Monday, January 7, 2019 6:10 AM > To: Ken Sloat > Cc: mche...@kernel.org; nicolas.fe...@microchip.com; > alexandre.bell...@bootlin.com; ludovic.desroc...@microchip.com; linux- > me...@vger.kernel.org > Subject: Re: [PATCH v1 1/2] media: atmel-isc: Add s

Re: [PATCH 1/3] dma-mapping: remove the default map_resource implementation

2019-01-14 Thread Christoph Hellwig
On Mon, Jan 14, 2019 at 01:12:33PM +, Robin Murphy wrote: > Ignoring the offset was kind of intentional there, because at the time I > was primarily thinking about it in terms of the Keystone 2 platform where > the peripherals are all in the same place (0-2GB) in both the bus and CPU > physi

Re: [PATCH] vimc: add USERPTR support

2019-01-14 Thread Hans Verkuil
On 1/14/19 6:04 PM, Helen Koike wrote: > Hi Hans, > > Thanks for the patch. > > On 1/14/19 12:58 PM, Hans Verkuil wrote: >> Add VB2_USERPTR to the vimc capture device. >> >> Signed-off-by: Hans Verkuil >> --- >> diff --git a/drivers/media/platform/vimc/vimc-capture.c >> b/drivers/media/platform

Re: [PATCH] vimc: add USERPTR support

2019-01-14 Thread Helen Koike
Hi Hans, Thanks for the patch. On 1/14/19 12:58 PM, Hans Verkuil wrote: > Add VB2_USERPTR to the vimc capture device. > > Signed-off-by: Hans Verkuil > --- > diff --git a/drivers/media/platform/vimc/vimc-capture.c > b/drivers/media/platform/vimc/vimc-capture.c > index 3f7e9ed56633..35c730f484a

Re: [PATCH v10 1/2] drm/fourcc: Add new P010, P016 video format

2019-01-14 Thread Ayan Halder
On Thu, Jan 10, 2019 at 03:57:09AM +0800, Randy Li wrote: > P010 is a planar 4:2:0 YUV with interleaved UV plane, 10 bits per > channel video format. > > P012 is a planar 4:2:0 YUV 12 bits per channel > > P016 is a planar 4:2:0 YUV with interleaved UV plane, 16 bits per > channel video format. >

[PATCH] vivid: take data_offset into account for video output

2019-01-14 Thread Hans Verkuil
The video output sizeimage calculation did not take data_offset into account. This can cause problems with video loopback or exporting output buffers for use as dmabuf import buffers since the output buffer size is now too small. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platfor

Bitte kontaktieren Sie mich, dies ist Rebecca Wilson,

2019-01-14 Thread Rebecca Wilson

[PATCH RESEND] media: s5p-mfc: Fix memdev DMA configuration

2019-01-14 Thread Robin Murphy
Having of_reserved_mem_device_init() forcibly reconfigure DMA for all callers, potentially overriding the work done by a bus-specific .dma_configure method earlier, is at best a bad idea and at worst actively harmful. If drivers really need virtual devices to own dma-coherent memory, they should ex

[PATCH] vimc: add USERPTR support

2019-01-14 Thread Hans Verkuil
Add VB2_USERPTR to the vimc capture device. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/vimc/vimc-capture.c b/drivers/media/platform/vimc/vimc-capture.c index 3f7e9ed56633..35c730f484a7 100644 --- a/drivers/media/platform/vimc/vimc-capture.c +++ b/drivers/media/platform/v

Re: [PATCH v3 3/6] media: adv748x: csi2: Link AFE with TXA and TXB

2019-01-14 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. On 2019-01-10 15:02:10 +0100, Jacopo Mondi wrote: > The ADV748x chip supports routing AFE output to either TXA or TXB. > In order to support run-time configuration of video stream path, create an > additional (not enabled) "AFE:8->TXA:0" link, and remove the IMMU

Re: [PATCH v3 2/6] media: adv748x: Rename reset procedures

2019-01-14 Thread Niklas Söderlund
Hi Jacopo, Thanks for your work. On 2019-01-10 15:02:09 +0100, Jacopo Mondi wrote: > Rename the chip reset procedure as they configure the CP (HDMI) and SD > (AFE) cores. > > Reviewed-by: Kieran Bingham > Reviewed-by: Laurent Pinchart > Signed-off-by: Jacopo Mondi Reviewed-by: Niklas Söderlu

Re: [PATCH v3 1/6] media: adv748x: Add is_txb()

2019-01-14 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. On 2019-01-10 15:02:08 +0100, Jacopo Mondi wrote: > Add small is_txb() macro to the existing is_txa() and use it where > appropriate. > > Reviewed-by: Kieran Bingham > Reviewed-by: Laurent Pinchart > Signed-off-by: Jacopo Mondi Reviewed-by: Niklas Söderlund

Re: [PATCH 2/2] media: i2c: adv748x: Remove PAGE_WAIT

2019-01-14 Thread Niklas Söderlund
Hi Kieran, Thanks for your patch. On 2019-01-11 17:41:41 +, Kieran Bingham wrote: > The ADV748X_PAGE_WAIT is a fake page to insert arbitrary delays in the > register tables. > > Its only usage was removed, so we can remove the handling and simplify > the code. > > Signed-off-by: Kieran Bing

Re: [PATCH 1/2] media: i2c: adv748x: Convert SW reset routine to function

2019-01-14 Thread Niklas Söderlund
Hi Kieran, Thanks for your work. On 2019-01-11 17:41:40 +, Kieran Bingham wrote: > The ADV748x is currently reset by writting a small table of registers to > the device. > > The table lacks documentation and contains magic values to perform the > actions, including using a fake register addr

Re: [PATCH v2] media: ov8856: Add support for OV8856 sensor

2019-01-14 Thread Sakari Ailus
Hi Ben, Thanks for the update. A few trivial things below, and then I guess we're done. On Fri, Jan 11, 2019 at 11:15:16AM +0800, Ben Kao wrote: > This patch adds driver for Omnivision's ov8856 sensor, > the driver supports following features: > > - manual exposure/gain(analog and digital) contr

Re: [PATCH v3 0/6] media: adv748x: Implement dynamic routing support

2019-01-14 Thread Kieran Bingham
Hi Jacopo, for this series: Tested-by: Kieran Bingham For anyone else who wants to use this series, please remember that if you reset links on the media controller you will now have to set up the links between the HDMI/AFE and TXA/TXB with this series in place. The driver will default to the c

Re: [PATCH 2/3] dma-mapping: don't BUG when calling dma_map_resource on RAM

2019-01-14 Thread Robin Murphy
On 11/01/2019 18:17, Christoph Hellwig wrote: Use WARN_ON_ONCE to print a stack trace and return a proper error code instead. I was racking my brain to remember the reasoning behind BUG_ON() being the only viable way to prevent errors getting through unhandled, but of course that was before w

[v4l-utils PATCH 4/4] v4l2-ctl: Add support for META_OUTPUT buffer type

2019-01-14 Thread Sakari Ailus
Add support for META_OUTPUT buffer type to v4l2-ctl. Signed-off-by: Sakari Ailus --- utils/v4l2-ctl/Makefile.am | 3 +- utils/v4l2-ctl/v4l2-ctl-common.cpp | 3 +- utils/v4l2-ctl/v4l2-ctl-meta-out.cpp | 106 +++ utils/v4l2-ctl/v4l2-ctl-meta.cpp

[v4l-utils PATCH 1/4] Update static build instructions

2019-01-14 Thread Sakari Ailus
It appears that the required libraries may depend on whether linking is done statically or dynamically. The pkg-config thus needs to know. Update the instructions accordingly. Signed-off-by: Sakari Ailus --- INSTALL | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/INST

[v4l-utils PATCH 3/4] v4l2-ctl: Print metadata capture formats on --all

2019-01-14 Thread Sakari Ailus
Printing metadata formats was supported separately with --list-formats-meta but no meta formats were printed with --all option. Fix this. Fixes: b3f1cf6b8519 ("v4l2-compliance/v4l2-ctl: support V4L2_CTRL_FLAG_MODIFY_LAYOUT and metadata") Signed-off-by: Sakari Ailus --- utils/v4l2-ctl/v4l2-ctl.

[v4l-utils PATCH 2/4] Sync the latest headers

2019-01-14 Thread Sakari Ailus
Just import changes brought by patch "v4l: uAPI: V4L2_BUF_TYPE_META_OUTPUT is an output buffer type". This is needed by further metadata output patches. Signed-off-by: Sakari Ailus --- include/linux/videodev2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/v

[v4l-utils PATCH 0/4] Metadata output support for v4l2-ctl

2019-01-14 Thread Sakari Ailus
Hi folks, This set adds metadata output buffer type support for v4l2-ctl. There are a few more things done by the set, too: - fixed static build instructions, - fixed --all argument handling for metadata capture formats and - include changes to videodev2.h brought by kernel patch I recently sen

[PATCH 1/1] v4l: uAPI: V4L2_BUF_TYPE_META_OUTPUT is an output buffer type

2019-01-14 Thread Sakari Ailus
V4L2_BUF_TYPE_META_OUTPUT was added by patch 72148d1a57e7 but the patch missed adding the type to the macro telling whether a given type is an output type or not. Do that now. Getting this wrong leads to handling the buffer as a capture buffer in a lot of places. Fixes: 72148d1a57e7 ("media: v4l:

[PATCH] vivid: disable VB2_USERPTR if dma_contig was configured

2019-01-14 Thread Hans Verkuil
It makes no sense to support the USERPTR memory model if the vivid instance was configured as dma_contig. Disable it if this is the case. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/vivid/vivid-core.c b/drivers/media/platform/vivid/vivid-core.c index 7da5720b47a2..29e7b14

[PATCH RFC 0/3] media: Ensure access to dma-buf-imported reference buffers

2019-01-14 Thread Paul Kocialkowski
This is a first attempt at implementing proper access to buffers imported with dma-buf and used as reference frames for decoding subsequent frames. The main concern associated with this scenario was that memory could be liberated while the buffer is not in a queued state. After careful checking, i

[PATCH RFC 4/4] media: cedrus: Remove completed item from TODO list (dma-buf references)

2019-01-14 Thread Paul Kocialkowski
Access to reference frames that were imported from dma-buf was taken care of and is no longer a pending item on the driver's TODO list. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/TODO | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/media/sunxi

[PATCH RFC 3/4] media: cedrus: Request access to reference buffers when decoding

2019-01-14 Thread Paul Kocialkowski
Because we need to request and release access to reference buffers that are backed by a dma-buf import, keep track of the buffers used as reference and add the appropriate calls in the device_run and job_done m2m callbacks. The latter is introduced for this purpose. Signed-off-by: Paul Kocialkowsk

[PATCH RFC 2/4] media: v4l2-mem2mem: Add an optional job_done operation

2019-01-14 Thread Paul Kocialkowski
Introduce a new optional job_done operation, which allows calling back to the driver when a job is done. Since the job might be completed from interrupt context where some operations are not available, having a callback from non-atomic context allows performing these operations upon completion of a

[PATCH RFC 1/4] media: vb2: Add helpers to access unselected buffers

2019-01-14 Thread Paul Kocialkowski
Introduce helpers to request and release access to buffers that are not currently selected as current output or capture buffers. This is useful to ensure proper access to buffers imported via dma-buf that are used as reference and thus require associated map/unmap calls before access. Signed-off-

Re: [PATCH v2] media: i2c: adv748x: Use devm to allocate the device struct

2019-01-14 Thread Kieran Bingham
Hi Niklas, On 14/01/2019 13:06, Niklas Söderlund wrote: > Hi Kieran, > > Thanks for your work. > > On 2019-01-11 16:17:03 +, Kieran Bingham wrote: >> From: Steve Longerbeam >> >> Switch to devm_kzalloc() when allocating the adv748x device struct. >> >> The sizeof() is updated to determine t

Re: [PATCH 1/3] dma-mapping: remove the default map_resource implementation

2019-01-14 Thread Robin Murphy
On 11/01/2019 18:17, Christoph Hellwig wrote: Just returning the physical address when not map_resource method is present is highly dangerous as it doesn't take any offset in the direct mapping into account and does the completely wrong thing for IOMMUs. Instead provide a proper implementation i

Re: [PATCH v2] media: i2c: adv748x: Use devm to allocate the device struct

2019-01-14 Thread Niklas Söderlund
Hi Kieran, Thanks for your work. On 2019-01-11 16:17:03 +, Kieran Bingham wrote: > From: Steve Longerbeam > > Switch to devm_kzalloc() when allocating the adv748x device struct. > > The sizeof() is updated to determine the correct allocation size from > the dereferenced pointer type rather

Re: vimc kernel warning and kernel oops

2019-01-14 Thread Helen Koike
Hi Hans On 1/11/19 1:25 PM, Hans Verkuil wrote: > Hi Helen, > > I've started work to fix the last compliance failures with vimc so that > vimc can be used in regression tests. > > But I found a kernel warning and a kernel oops using vimc from our master > tree. > > To test, load vimc, then run

Re: [PATCH zbar 1/5] Fix autoreconf by reducing the warning/error checking

2019-01-14 Thread Mauro Carvalho Chehab
Em Mon, 14 Jan 2019 05:26:42 -0700 James Hilliard escreveu: > On Mon, Jan 14, 2019 at 4:00 AM Mauro Carvalho Chehab > wrote: > > > > Hi James, > > > > Em Mon, 14 Jan 2019 07:38:25 +0800 > > james.hillia...@gmail.com escreveu: > > > > > From: Thomas Petazzoni > > > > > > > Please add descrip

Re: [PATCH 3/3] videobuf2: replace a layering violation with dma_map_resource

2019-01-14 Thread Marek Szyprowski
Hi Christoph, On 2019-01-11 19:17, Christoph Hellwig wrote: > vb2_dc_get_userptr pokes into arm direct mapping details to get the > resemblance of a dma address for a a physical address that does is > not backed by a page struct. Not only is this not portable to other > architectures with dma dir

[PATCH] vimc: fill in correct driver name in querycap

2019-01-14 Thread Hans Verkuil
The driver name as returned in v4l2_capabilities must be vimc, not vimc_capture. Fix this. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/vimc/vimc-capture.c b/drivers/media/platform/vimc/vimc-capture.c index 3f7e9ed56633..aaeddf24b042 100644 --- a/drivers/media/platform/vi

Re: [PATCH zbar 1/5] Fix autoreconf by reducing the warning/error checking

2019-01-14 Thread James Hilliard
On Mon, Jan 14, 2019 at 4:00 AM Mauro Carvalho Chehab wrote: > > Hi James, > > Em Mon, 14 Jan 2019 07:38:25 +0800 > james.hillia...@gmail.com escreveu: > > > From: Thomas Petazzoni > > > > Please add description to the patches. It helps reviewing them, and, > if we need to revert it for whatever

Re: fix a layering violation in videobuf2 and improve dma_map_resource

2019-01-14 Thread Marek Szyprowski
Hi Christoph, On 2019-01-11 19:17, Christoph Hellwig wrote: > Hi all, > > this series fixes a rather gross layering violation in videobuf2, which > pokes into arm DMA mapping internals to get a DMA address for memory that > does not have a page structure, and to do so fixes up the dma_map_resource

Re: Magewell Gen 2935:0001 USB annoyances

2019-01-14 Thread Mauro Carvalho Chehab
Em Mon, 14 Jan 2019 13:10:25 +0800 Kai Hendry escreveu: > Archlinux user here. It doesn't matter whether I'm running LTS kernel > 4.19.14-1-lts or 4.20.1.arch1-1, I get these very annoying USB issues with my > Magewell XI100DUSB-HDMI. Most of the time it doesn't work. I seemingly have > better

Re: [PATCH 3/3] videobuf2: replace a layering violation with dma_map_resource

2019-01-14 Thread Christoph Hellwig
On Mon, Jan 14, 2019 at 09:04:56AM -0200, Mauro Carvalho Chehab wrote: > It would be good if you could later send us a stable branch where > you merged, in order to allow us to run some tests with the new > DMA mapping patchset and be sure that it won't cause regressions > to videobuf2. I can do t

Re: [PATCH 3/3] videobuf2: replace a layering violation with dma_map_resource

2019-01-14 Thread Mauro Carvalho Chehab
Em Mon, 14 Jan 2019 11:31:39 +0100 Christoph Hellwig escreveu: > On Fri, Jan 11, 2019 at 05:54:16PM -0200, Mauro Carvalho Chehab wrote: > > Em Fri, 11 Jan 2019 19:17:31 +0100 > > Christoph Hellwig escreveu: > > > > > vb2_dc_get_userptr pokes into arm direct mapping details to get the > > > re

Re: [PATCH zbar 1/5] Fix autoreconf by reducing the warning/error checking

2019-01-14 Thread Mauro Carvalho Chehab
Hi James, Em Mon, 14 Jan 2019 07:38:25 +0800 james.hillia...@gmail.com escreveu: > From: Thomas Petazzoni > Please add description to the patches. It helps reviewing them, and, if we need to revert it for whatever reason in the future, the git log will help to take into account the rationale a

Re: [PATCH 3/3] videobuf2: replace a layering violation with dma_map_resource

2019-01-14 Thread Christoph Hellwig
On Fri, Jan 11, 2019 at 05:54:16PM -0200, Mauro Carvalho Chehab wrote: > Em Fri, 11 Jan 2019 19:17:31 +0100 > Christoph Hellwig escreveu: > > > vb2_dc_get_userptr pokes into arm direct mapping details to get the > > resemblance of a dma address for a a physical address that does is > > not backed

i.MX6 RAW8 format

2019-01-14 Thread Jean-Michel Hautbois
Hi, I am currently using an upstream kernel on a i.MX6 Quad board, and I have a strange issue. The device I am using is able to produce RGB888 MIPI data, or RAW8/RAW10. The MIPI data types are respectively 0x24, 0x2A and 0x2B. When I configure the device to produce RGB888 data, everything is fine,

RE: [PATCH 2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver

2019-01-14 Thread Vishal Sagar
Hi Sakari, Thanks for reviewing my patch. > -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Sakari Ailus > Sent: Wednesday, January 09, 2019 5:22 PM > To: Vishal Sagar > Cc: Hyun Kwon ; laurent.pinch...@ideasonboard.

Re: [PATCH] lib/scatterlist: Provide a DMA page iterator

2019-01-14 Thread Christoph Hellwig
On Thu, Jan 10, 2019 at 04:42:18PM -0700, Jason Gunthorpe wrote: > > Changes since the RFC: > > - Rework vmwgfx too [CH] > > - Use a distinct type for the DMA page iterator [CH] > > - Do not have a #ifdef [CH] > > ChristophH: Will you ack? This looks generally fine. > > Are you still OK with th

RE: [PATCH 1/2] media: dt-bindings: media: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem

2019-01-14 Thread Vishal Sagar
Hi Sakari, Thanks for reviewing this. > -Original Message- > From: Sakari Ailus [mailto:sakari.ai...@linux.intel.com] > Sent: Tuesday, January 08, 2019 6:35 PM > To: Vishal Sagar > Cc: Hyun Kwon ; laurent.pinch...@ideasonboard.com; > Michal Simek ; linux-media@vger.kernel.org; > devicet

Re: [PATCH] lib/scatterlist: Provide a DMA page iterator

2019-01-14 Thread Christoph Hellwig
On Sat, Jan 12, 2019 at 01:03:05PM -0600, Shiraz Saleem wrote: > Well I was trying convert the RDMA drivers to use your new iterator variant > and saw the need for it in locations where we need virtual address of the > pages > contained in the SGEs. As far as i can tell that pg_arr[i] value is on

Re: [Xen-devel][PATCH v3 1/1] cameraif: add ABI for para-virtual camera

2019-01-14 Thread Hans Verkuil
On 1/14/19 10:23 AM, Oleksandr Andrushchenko wrote: > Hello, Hans! > Could you please take a look at my answers below and kindly let me know > if we are ready for (final?) v4 from your point of view. Looks good, so I'm looking forward to a v4. Regards, Hans > > Konrad, Xen-devel - do y

Re: [Xen-devel][PATCH v3 1/1] cameraif: add ABI for para-virtual camera

2019-01-14 Thread Oleksandr Andrushchenko
Hello, Hans! Could you please take a look at my answers below and kindly let me know if we are ready for (final?) v4 from your point of view. Konrad, Xen-devel - do you have any objections/comments on this? Thank you, Oleksandr On 12/17/18 9:37 AM, Oleksandr Andrushchenko wrote: Hello, Hans!