Re: [PATCH v5 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer

2018-12-17 Thread Christoph Hellwig
On Tue, Dec 18, 2018 at 04:22:43PM +0900, Tomasz Figa wrote: > It kind of limits the usability of this API, since it enforces > contiguous allocations even for big sizes even for devices behind > IOMMU (contrary to the case when DMA_ATTR_NON_CONSISTENT is not set), > but given that it's just a temp

Re: [PATCH v5 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer

2018-12-17 Thread Tomasz Figa
On Fri, Dec 14, 2018 at 9:36 PM Christoph Hellwig wrote: > > On Fri, Dec 14, 2018 at 12:12:38PM +0900, Tomasz Figa wrote: > > > If the buffer always is physically contiguous, as it is in the currently > > > posted series, we can always map it with a single dma_map_single call > > > (if the hardwar

Re: [PATCH] Revert 95f408bb Ryzen DMA related RiSC engine stall fixes

2018-12-17 Thread Markus Dobel
Am 18. Dezember 2018 03:05:11 MEZ schrieb Alex Deucher : >possibly? It's still not clear to me that this is specific to ryzen >chips rather than a problem with the DMA setup on the cx board. Is >there a downside to enabling the workaround in general? Hi Alex, yes, there is. At least for m

cron job: media_tree daily build: OK

2018-12-17 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 Dec 18 05:00:14 CET 2018 media-tree git hash:daad52c8aa4fcf27d2e8b69daf851d82c141fd2f media_build git

Re: [PATCH] Revert 95f408bb Ryzen DMA related RiSC engine stall fixes

2018-12-17 Thread Alex Deucher
On Sun, Dec 16, 2018 at 9:23 AM Mauro Carvalho Chehab wrote: > > Em Sun, 16 Dec 2018 11:37:02 +0100 > Markus Dobel escreveu: > > > On 06.12.2018 19:01, Mauro Carvalho Chehab wrote: > > > Em Thu, 06 Dec 2018 18:18:23 +0100 > > > Markus Dobel escreveu: > > > > > >> Hi everyone, > > >> > > >> I wil

Re: [PATCH v4 1/2] media: dt-bindings: media: video-i2c: add melexis mlx90640 documentation

2018-12-17 Thread Rob Herring
On Tue, 11 Dec 2018 07:17:00 -0800, Matt Ranostay wrote: > Cc: devicet...@vger.kernel.org > Signed-off-by: Matt Ranostay > --- > .../bindings/media/i2c/melexis,mlx90640.txt | 20 +++ > 1 file changed, 20 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/me

<<>

2018-12-17 Thread Mr Owen Peter
Good Day, Hope you are doing great Today.I have a proposed BUSINESS DEAL that will benefit both parties. This is legitimate,legal and your personality will not be compromised.Please Reply to me ONLY if you are interested and consider your self capable for details. Sincerely, Peter OWEN

[PATCH] media: uvcvideo: Fix 'type' check leading to overflow

2018-12-17 Thread Alistair Strachan
When initially testing the Camera Terminal Descriptor wTerminalType field (buffer[4]), no mask is used. Later in the function, the MSB is overloaded to store the descriptor subtype, and so a mask of 0x7fff is used to check the type. If a descriptor is specially crafted to set this overloaded bit i

[PATCH v4 7/9] videobuf2/videobuf2-dma-sg.c: Convert to use vm_insert_range

2018-12-17 Thread Souptick Joarder
Convert to use vm_insert_range to map range of kernel memory to user vma. Signed-off-by: Souptick Joarder Reviewed-by: Matthew Wilcox Acked-by: Marek Szyprowski Acked-by: Mauro Carvalho Chehab --- drivers/media/common/videobuf2/videobuf2-dma-sg.c | 23 +++ 1 file changed,

Re: [PATCH v3 03/10] phy: Add MIPI D-PHY configuration options

2018-12-17 Thread sakari . ailus
Hi Maxime, On Mon, Dec 17, 2018 at 04:49:21PM +0100, Maxime Ripard wrote: > Hi Sakari, > > Thanks for your feedback. > > On Thu, Dec 13, 2018 at 10:49:28PM +0200, sakari.ai...@iki.fi wrote: > > > + /** > > > + * @lanes: > > > + * > > > + * Number of active data lanes used for the transmission

[PATCH v4 1/9] mm: Introduce new vm_insert_range API

2018-12-17 Thread Souptick Joarder
Previouly drivers have their own way of mapping range of kernel pages/memory into user vma and this was done by invoking vm_insert_page() within a loop. As this pattern is common across different drivers, it can be generalized by creating a new function and use it across the drivers. vm_insert_ra

[PATCH v4 0/9] Use vm_insert_range

2018-12-17 Thread Souptick Joarder
Previouly drivers have their own way of mapping range of kernel pages/memory into user vma and this was done by invoking vm_insert_page() within a loop. As this pattern is common across different drivers, it can be generalized by creating a new function and use it across the drivers. vm_insert_ra

[PATCH v2] media: vicodec: bugfix - replace '=' with '|='

2018-12-17 Thread Dafna Hirschfeld
In the fwht_encode_frame, 'encoding = encode_plane' should be replaced with 'encoding |= encode_plane' so existing flags won't be overwrriten. Signed-off-by: Dafna Hirschfeld --- drivers/media/platform/vicodec/codec-fwht.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Fwd: [PATCH] media: vicodec: add support for CROP selection

2018-12-17 Thread Dafna Hirschfeld
-- Forwarded message - From: Dafna Hirschfeld Date: Mon, Dec 17, 2018 at 7:23 PM Subject: Re: [PATCH] media: vicodec: add support for CROP selection To: Hans Verkuil Cc: Linux Media Mailing List , On Sun, Dec 16, 2018 at 2:24 PM Hans Verkuil wrote: > > On 12/15/18 12:54 PM,

[PATCH] media: docs: fix some GPL licensing ambiguity at the text

2018-12-17 Thread Mauro Carvalho Chehab
Those files are meant to be dual GPL 2.0 and GFDL without implicit sections. However, by a wrong cut-and-paste, I ended by applying a GPL 2+ license text to it, while still using the GPL 2.0 SPDX tag, with would cause an ambiguity about the licensing model. Solve this by explicitly mentioning that

[PATCH v2 01/10] video/hdmi: Add an enum for HDMI packet types

2018-12-17 Thread Ville Syrjala
From: Ville Syrjälä We'll be wanting to send more than just infoframes over HDMI. So add an enum for other packet types. TODO: Maybe just include the infoframe types in the packet type enum and get rid of the infoframe type enum? Cc: Thierry Reding Cc: Hans Verkuil Cc: linux-media@vger.

Re: [PATCH v3 03/10] phy: Add MIPI D-PHY configuration options

2018-12-17 Thread Maxime Ripard
Hi Sakari, Thanks for your feedback. On Thu, Dec 13, 2018 at 10:49:28PM +0200, sakari.ai...@iki.fi wrote: > > + /** > > +* @lanes: > > +* > > +* Number of active data lanes used for the transmissions. > > Could you add that these are the first "lanes" number of lanes from what > ar

Re: [PATCH] media: rcar-csi2: Add support for RZ/G2E

2018-12-17 Thread Niklas Söderlund
Hi Fabrizio, Thanks. On 2018-12-13 20:24:12 +, Fabrizio Castro wrote: > According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 CSI-2 > blocks are identical, therefore use R-Car E3 definitions to add > RZ/G2E support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Niklas Söderlund > -

Re: [PATCH] media: dt-bindings: rcar-vin: Add R8A774C0 support

2018-12-17 Thread Niklas Söderlund
Hi Fabrizio, Thanks for your patch. On 2018-12-13 20:21:59 +, Fabrizio Castro wrote: > Add the compatible string for RZ/G2E (a.k.a. R8A774C0) to the list > of SoCs supported by rcar-vin driver. > > Signed-off-by: Fabrizio Castro Reviewed-by: Niklas Söderlund > --- > Documentation/device

Re: [PATCH] media: rcar-vin: Add support for RZ/G2E

2018-12-17 Thread Niklas Söderlund
Hi Fabrizio, Thanks for your work. On 2018-12-13 20:24:04 +, Fabrizio Castro wrote: > According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 VIN > blocks are identical, therefore use R-Car E3 definitions to add > RZ/G2E support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Niklas Söd

Re: [PATCH] media: dt-bindings: rcar-csi2: Add r8a774c0

2018-12-17 Thread Niklas Söderlund
Hi Fabrizio, Thanks for your work. On 2018-12-13 20:21:49 +, Fabrizio Castro wrote: > Add the compatible string for RZ/G2E (a.k.a. R8A774C0) to the > list of supported SoCs. > > Signed-off-by: Fabrizio Castro Reviewed-by: Niklas Söderlund > --- > Documentation/devicetree/bindings/media/

[PATCH -next] media: platform: Fix missing spin_lock_init()

2018-12-17 Thread Wei Yongjun
The driver allocates the spinlock but not initialize it. Use spin_lock_init() on it to initialize it correctly. This is detected by Coccinelle semantic patch. Fixes: d2b4387f3bdf ("media: platform: Add Aspeed Video Engine driver") Signed-off-by: Wei Yongjun --- drivers/media/platform/aspeed-vid

Re: [PATCH] [media] v4l: vsp1: Add RZ/G support

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:20:24PM +, Fabrizio Castro wrote: > Document RZ/G1 and RZ/G2 support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH] dt-bindings: media: renesas-fcp: Add RZ/G2 support

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:20:33PM +, Fabrizio Castro wrote: > Document RZ/G2 support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH] media: rcar-csi2: Add support for RZ/G2E

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:24:12PM +, Fabrizio Castro wrote: > According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 CSI-2 > blocks are identical, therefore use R-Car E3 definitions to add > RZ/G2E support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH] media: rcar-vin: Add support for RZ/G2E

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:24:04PM +, Fabrizio Castro wrote: > According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 VIN > blocks are identical, therefore use R-Car E3 definitions to add > RZ/G2E support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH] media: dt-bindings: rcar-csi2: Add r8a774c0

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:21:49PM +, Fabrizio Castro wrote: > Add the compatible string for RZ/G2E (a.k.a. R8A774C0) to the > list of supported SoCs. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH] media: dt-bindings: rcar-vin: Add R8A774C0 support

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:21:59PM +, Fabrizio Castro wrote: > Add the compatible string for RZ/G2E (a.k.a. R8A774C0) to the list > of SoCs supported by rcar-vin driver. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCHv5 5/8] videodev2.h: add v4l2_timeval_to_ns inline function

2018-12-17 Thread Hans Verkuil
On 12/16/18 10:47 PM, Jonas Karlman wrote: > > On 2018-12-12 13:38, hverkuil-ci...@xs4all.nl wrote: >> From: Hans Verkuil >> >> We want to be able to uniquely identify buffers for stateless >> codecs. The internal timestamp (a u64) as stored internally in the >> kernel is a suitable candidate for