Re: fix a layering violation in videobuf2 and improve dma_map_resource v2

2019-01-31 Thread Marek Szyprowski
Hi All, On 2019-01-18 12:37, 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 > imp

cron job: media_tree daily build: WARNINGS

2019-01-31 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: Fri Feb 1 05:00:12 CET 2019 media-tree git hash:f0ef022c85a899bcc7a1b3a0955c78a3d7109106 media_build git

ZBar: Move development to GitHub

2019-01-31 Thread Javier Serrano Polo
Dear list, I maintain a fork of ZBar. Following a reply from James Hilliard and according to Wikipedia edition from Mauro Carvalho Chehab, this team stands as the new upstream. Please consider to continue development on GitHub, since the communication system is more friendly and there are continu

Re: [PATCH] media: v4l2-tpg: Fix the memory layout of AYUV buffers

2019-01-31 Thread Vivek Kasireddy
On Thu, 31 Jan 2019 14:36:42 +0100 Hans Verkuil wrote: Hi Hans, > Hi Vivek, > > On 1/29/19 3:32 AM, Vivek Kasireddy wrote: > > From: "Kasireddy, Vivek" > > > > The memory layout of AYUV buffers (V4L2_PIX_FMT_YUV32) should be > > similar to V4L2_PIX_FMT_ABGR32 instead of V4L2_PIX_FMT_ARGB32. >

Re: [PATCH v10 0/4] Media Device Allocator API

2019-01-31 Thread shuah
Hi Hans, On 1/30/19 12:42 AM, Hans Verkuil wrote: On 1/30/19 2:50 AM, shuah wrote: On 1/29/19 2:43 AM, Hans Verkuil wrote: On 1/29/19 12:48 AM, shuah wrote: Hi Hans, On 1/28/19 5:03 AM, Hans Verkuil wrote: Hi Shuah, On 1/24/19 9:32 PM, Shuah Khan wrote: Media Device Allocator API to allow

Start working

2019-01-31 Thread Julie
Want to make white background for your images? We can add clipping path, or give retouching for your photos if needed. Let's start testing for your photos. Thanks, Julie Fulda Memmingen

Send photos to start working

2019-01-31 Thread Julie
Want to make white background for your images? We can add clipping path, or give retouching for your photos if needed. Let's start testing for your photos. Thanks, Julie Worms Lemgo

Send photos to start working

2019-01-31 Thread Julie
Want to make white background for your images? We can add clipping path, or give retouching for your photos if needed. Let's start testing for your photos. Thanks, Julie Dorsten Oberursel

Send photos

2019-01-31 Thread Julie
Want to make white background for your images? We can add clipping path, or give retouching for your photos if needed. Let's start testing for your photos. Thanks, Julie Salzgitter Datteln

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

2019-01-31 Thread Christoph Hellwig
Hi Marek, can chance you could retest the v2 version?

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-31 Thread Nicolas Dufresne
Le jeudi 31 janvier 2019 à 22:34 +0900, Tomasz Figa a écrit : > On Thu, Jan 31, 2019 at 9:42 PM Philipp Zabel wrote: > > Hi Nicolas, > > > > On Wed, 2019-01-30 at 10:32 -0500, Nicolas Dufresne wrote: > > > Le mercredi 30 janvier 2019 à 15:17 +0900, Tomasz Figa a écrit : > > > > > I don't remember

Re: [PATCH 0/4] WIP: rockchip mpp for v4l2 video decoder

2019-01-31 Thread Ayaka
Sent from my iPad > On Jan 31, 2019, at 10:03 PM, Ezequiel Garcia wrote: > > Hey Ayaka! > >> On Thu, 2019-01-31 at 11:13 +0800, ayaka wrote: >> From: Randy 'ayaka' Li >> >> Hello >> Those patches are based on the previous vendor driver I post before, >> but it can apply without the previo

[GIT PULL FOR v5.1] Various fixes

2019-01-31 Thread Hans Verkuil
The following changes since commit 560c053deb94ff65b22a87f28e8e2fab5940555c: media: vivid: fix vid_out_buf_prepare() (2019-01-31 09:32:05 -0200) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.1k for you to fetch changes up to 277a309f78411c5c4bc

[PATCH] videobuf2: remove unused variable

2019-01-31 Thread Hans Verkuil
Commit 2cc1802f62e5 ("media: vb2: Keep dma-buf buffers mapped until they are freed") removed code leaving a local variable unused. Remove it to avoid a compiler warning. Signed-off-by: Hans Verkuil Fixes: 2cc1802f62e5 ("media: vb2: Keep dma-buf buffers mapped until they are freed") --- drivers

Re: [PATCH 0/4] WIP: rockchip mpp for v4l2 video decoder

2019-01-31 Thread Ezequiel Garcia
Hey Ayaka! On Thu, 2019-01-31 at 11:13 +0800, ayaka wrote: > From: Randy 'ayaka' Li > > Hello > Those patches are based on the previous vendor driver I post before, > but it can apply without the previous one. > I really want to make it work before FOSDEM and I didn't. And upcoming > the lun

Re: [PATCH] media: v4l2-tpg: Fix the memory layout of AYUV buffers

2019-01-31 Thread Hans Verkuil
Hi Vivek, On 1/29/19 3:32 AM, Vivek Kasireddy wrote: > From: "Kasireddy, Vivek" > > The memory layout of AYUV buffers (V4L2_PIX_FMT_YUV32) should be similar > to V4L2_PIX_FMT_ABGR32 instead of V4L2_PIX_FMT_ARGB32. > > While displaying the packed AYUV buffers generated by the Vivid driver > usin

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-31 Thread Tomasz Figa
On Thu, Jan 31, 2019 at 9:42 PM Philipp Zabel wrote: > > Hi Nicolas, > > On Wed, 2019-01-30 at 10:32 -0500, Nicolas Dufresne wrote: > > Le mercredi 30 janvier 2019 à 15:17 +0900, Tomasz Figa a écrit : > > > > I don't remember saying that, maybe I meant to say there might be a > > > > workaround ?

[PATCH] vicodec: support SOURCE_CHANGE event for decoders only

2019-01-31 Thread Hans Verkuil
The SOURCE_CHANGE event is decoder specific, so don't allow it for encoders. Signed-off-by: Hans Verkuil --- drivers/media/platform/vicodec/vicodec-core.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/vicodec/vicodec-core.c b/drivers/media/plat

Re: [PATCH v3 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-31 Thread Hans Verkuil
On 1/31/19 1:44 PM, Philipp Zabel wrote: > On Thu, 2019-01-31 at 13:30 +0100, Hans Verkuil wrote: >> On 1/31/19 11:45 AM, Hans Verkuil wrote: >>> On 1/24/19 11:04 AM, Tomasz Figa wrote: Due to complexity of the video decoding process, the V4L2 drivers of stateful decoder hardware require

Re: [PATCH v3 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-31 Thread Philipp Zabel
On Thu, 2019-01-31 at 13:30 +0100, Hans Verkuil wrote: > On 1/31/19 11:45 AM, Hans Verkuil wrote: > > On 1/24/19 11:04 AM, Tomasz Figa wrote: > > > Due to complexity of the video decoding process, the V4L2 drivers of > > > stateful decoder hardware require specific sequences of V4L2 API calls > > >

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-31 Thread Philipp Zabel
Hi Nicolas, On Wed, 2019-01-30 at 10:32 -0500, Nicolas Dufresne wrote: > Le mercredi 30 janvier 2019 à 15:17 +0900, Tomasz Figa a écrit : > > > I don't remember saying that, maybe I meant to say there might be a > > > workaround ? > > > > > > For the fact, here we queue the headers (or first fram

Re: [PATCH v3 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-31 Thread Hans Verkuil
On 1/31/19 1:30 PM, Hans Verkuil wrote: > On 1/31/19 11:45 AM, Hans Verkuil wrote: >> On 1/24/19 11:04 AM, Tomasz Figa wrote: >>> Due to complexity of the video decoding process, the V4L2 drivers of >>> stateful decoder hardware require specific sequences of V4L2 API calls >>> to be followed. These

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-01-31 Thread Heiko Stuebner
Am Donnerstag, 31. Januar 2019, 13:31:52 CET schrieb Souptick Joarder: > On Thu, Jan 31, 2019 at 5:37 PM Heiko Stuebner wrote: > > > > Am Donnerstag, 31. Januar 2019, 04:08:12 CET schrieb Souptick Joarder: > > > Previouly drivers have their own way of mapping range of > > > kernel pages/memory int

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-01-31 Thread Souptick Joarder
On Thu, Jan 31, 2019 at 5:37 PM Heiko Stuebner wrote: > > Am Donnerstag, 31. Januar 2019, 04:08:12 CET schrieb 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. > >

Re: [PATCH v3 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-31 Thread Hans Verkuil
On 1/31/19 11:45 AM, Hans Verkuil wrote: > On 1/24/19 11:04 AM, Tomasz Figa wrote: >> Due to complexity of the video decoding process, the V4L2 drivers of >> stateful decoder hardware require specific sequences of V4L2 API calls >> to be followed. These include capability enumeration, initializatio

Re: [PATCH] media: staging/intel-ipu3: Implement lock for stream on/off operations

2019-01-31 Thread Sakari Ailus
Hi Raj, On Wed, Jan 30, 2019 at 05:17:15PM +, Mani, Rajmohan wrote: > Hi Sakari, > > > -Original Message- > > From: Sakari Ailus [mailto:sakari.ai...@linux.intel.com] > > Sent: Wednesday, January 30, 2019 12:59 AM > > To: Mani, Rajmohan > > Cc: Mauro Carvalho Chehab ; Greg Kroah-Hart

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-01-31 Thread Heiko Stuebner
Am Donnerstag, 31. Januar 2019, 04:08:12 CET schrieb 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

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-01-31 Thread Mike Rapoport
On Thu, Jan 31, 2019 at 03:43:39PM +0530, Souptick Joarder wrote: > On Thu, Jan 31, 2019 at 2:09 PM Mike Rapoport wrote: > > > > On Thu, Jan 31, 2019 at 08:38:12AM +0530, Souptick Joarder wrote: > > > Previouly drivers have their own way of mapping range of > > > kernel pages/memory into user vma

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

2019-01-31 Thread Marek Szyprowski
Hi Souptick, On 2019-01-31 04:13, Souptick Joarder wrote: > Convert to use vm_insert_range to map range of kernel memory > to user vma. > > vm_pgoff is treated in V4L2 API as a 'cookie' to select a buffer, > not as a in-buffer offset by design and it always want to mmap a > whole buffer from its b

Re: [PATCH v3 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-31 Thread Hans Verkuil
On 1/24/19 11:04 AM, Tomasz Figa wrote: > Due to complexity of the video decoding process, the V4L2 drivers of > stateful decoder hardware require specific sequences of V4L2 API calls > to be followed. These include capability enumeration, initialization, > decoding, seek, pause, dynamic resolution

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-01-31 Thread Souptick Joarder
On Thu, Jan 31, 2019 at 2:09 PM Mike Rapoport wrote: > > On Thu, Jan 31, 2019 at 08:38:12AM +0530, Souptick Joarder wrote: > > 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

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-01-31 Thread Mike Rapoport
On Thu, Jan 31, 2019 at 08:38:12AM +0530, Souptick Joarder wrote: > 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 gener

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

2019-01-31 Thread Oleksandr Andrushchenko
Konrad, could you please review? Thank you, Oleksandr On 1/15/19 11:38 AM, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Hello! > > At the moment Xen [1] already supports some virtual multimedia > features [2] such as virtual display, sound. It supports keyboards, > pointers

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

2019-01-31 Thread Vishal Sagar
Hi Rob, Thanks for reviewing. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Thursday, January 31, 2019 1:11 AM > To: Vishal Sagar > Cc: Hyun Kwon ; laurent.pinch...@ideasonboard.com; > mche...@kernel.org; mark.rutl...@arm.com; Michal Simek > ; linux-media@vger