Re: Enabling peer to peer device transactions for PCIe devices

2016-11-22 Thread Daniel Vetter
On Tue, Nov 22, 2016 at 01:21:03PM -0800, Dan Williams wrote: > On Tue, Nov 22, 2016 at 1:03 PM, Daniel Vetter wrote: > > On Tue, Nov 22, 2016 at 9:35 PM, Serguei Sagalovitch > > wrote: > >> > >> On 2016-11-22 03:10 PM, Daniel Vetter wrote: > >>> > >>> On Tue, Nov 22, 2016 at 9:01 PM, Dan William

cron job: media_tree daily build: ERRORS

2016-11-22 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 Nov 23 05:00:19 CET 2016 media-tree git hash:30f88a42b65858d777b8dfb40bb222fa31d5f0d9 media_build git

Re: [RFC] Documentation: media, leds: move IR LED remote controllers from media to LED

2016-11-22 Thread Andi Shyti
Hi Mauro, > > this is purely a request for comments after a discussion had with > > Rob and Jacek [*] about where to place the ir leds binding. Rob wants > > the binding to be under led, while Jacek wants it in media... > > "Ubi maior minor cessat": it goes to LED and they can be organized > > in

Re: [PATCH v6 3/3] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-11-22 Thread Rick Chang
Hi Hans, On Tue, 2016-11-22 at 13:43 +0100, Hans Verkuil wrote: > On 22/11/16 04:21, Rick Chang wrote: > > Hi Hans, > > > > On Mon, 2016-11-21 at 15:51 +0100, Hans Verkuil wrote: > >> On 17/11/16 04:38, Rick Chang wrote: > >>> Signed-off-by: Rick Chang > >>> Signed-off-by: Minghsiu Tsai > >>> --

Re: [RFC] Input: synaptics-rmi4 - fix out-of-bounds memory access

2016-11-22 Thread Dmitry Torokhov
Hi Guenter, On Sat, Nov 19, 2016 at 07:46:58PM -0800, Guenter Roeck wrote: > Kasan reports: > > BUG: KASAN: slab-out-of-bounds in __fill_v4l2_buffer+0xc3/0x540 > [videobuf2_v4l2] at addr 8806c5e0c6cc > Read of size 4 by task heatmap/14414 > CPU: 2 PID: 14414 Comm: heatmap Tainted: G

[PATCH v3] media: i2c-polling: add i2c-polling driver

2016-11-22 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Attila Kinali Cc: Marek Vasut Cc: Luca Barbato Signed-off-by: Matt Ranostay --- Changes from v1: * correct i2c_pol

[PATCH 1/2] v4l: Add description of the Y8I, Y12I and Z16 formats

2016-11-22 Thread Laurent Pinchart
The formats have been added without a description, fix that. Signed-off-by: Laurent Pinchart --- drivers/media/v4l2-core/v4l2-ioctl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 61d2d65318c5..0c3f238a2e

[PATCH 2/2] v4l: uvcvideo: Remove format descriptions

2016-11-22 Thread Laurent Pinchart
The V4L2 core fills format description on its own, there's no need to duplicate the descriptions in the driver. Signed-off-by: Laurent Pinchart --- drivers/media/usb/uvc/uvc_driver.c | 137 +++-- drivers/media/usb/uvc/uvc_v4l2.c | 2 - drivers/media/usb/uvc/uv

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

2016-11-22 Thread Shuah Khan
On 11/22/2016 10:44 AM, Mauro Carvalho Chehab wrote: > Em Mon, 14 Nov 2016 15:27:22 +0200 > Sakari Ailus escreveu: > >> Hi Mauro, >> >> I'm replying below but let me first summarise the remaining problem area >> that this patchset addresses. > > Sorry for answering too late. Somehow, I missed th

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-22 Thread Sagalovitch, Serguei
> I don't think we should be using numa distance to reverse engineer a > certain allocation behavior.  The latency data should be truthful, but > you're right we'll need a mechanism to keep general purpose > allocations out of that range by default.  Just to clarify: Do you propose/thinking to uti

Re: [RFC v4 14/21] media device: Get the media device driver's device

2016-11-22 Thread Laurent Pinchart
On Tuesday 22 Nov 2016 11:58:43 Hans Verkuil wrote: > On 22/11/16 10:58, Laurent Pinchart wrote: > > Hi Hans, > > > > On Tuesday 22 Nov 2016 10:46:31 Hans Verkuil wrote: > >> On 08/11/16 14:55, Sakari Ailus wrote: > >>> The struct device of the media device driver (i.e. not that of the media > >>>

Re: [PATCH] Staging: media: davinci_vpfe: - Fix for memory leak if

2016-11-22 Thread Laurent Pinchart
Hi Shailendra, Thank you for the patch. I think the subject line is incomplete. On Friday 11 Nov 2016 14:21:41 Shailendra Verma wrote: > From: "Shailendra Verma" > > Fix to avoid possible memory leak if the decoder initialization > got failed.Free the allocated memory for file handle object >

Re: [PATCH] Staging:media:davinci_vpfe: used devm_kzalloc in place of kzalloc

2016-11-22 Thread Laurent Pinchart
Hi Julia, On Wednesday 02 Nov 2016 07:24:29 Julia Lawall wrote: > On Wed, 2 Nov 2016, Nadim Almas wrote: > > Switch to resource-managed function devm_kzalloc instead > > of kzolloc and remove unneeded kzfree > > > > Also, remove kzfree in probe function and remove > > function,vpfe_remove as it

Re: [patch] Staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()

2016-11-22 Thread Laurent Pinchart
Hi Dan, Thank you for the patch. On Friday 18 Nov 2016 14:30:24 Dan Carpenter wrote: > We should unlock before returning this error code in vpfe_reqbufs(). > > Fixes: 622897da67b3 ("[media] davinci: vpfe: add v4l2 video driver support") > Signed-off-by: Dan Carpenter Acked-by: Laurent Pinchart

Re: [PATCH] [media] staging: davinci_vpfe: fix W=1 build warnings

2016-11-22 Thread Laurent Pinchart
Hi Arnd, Thank you for the patch, and sorry for the late reply. On Monday 20 Jun 2016 17:47:56 Arnd Bergmann wrote: > When building with "make W=1", we get multiple harmless build warnings > for the vpfe driver: > > drivers/staging/media/davinci_vpfe/dm365_resizer.c:241:1: error: 'static' is > n

Re: [PATCH] Staging: media: davinci_vpfe: fix indentation issue in vpfe_video.c

2016-11-22 Thread Laurent Pinchart
Hi Leo, Thank you for the patch, and sorry for the late reply. On Sunday 23 Oct 2016 14:02:23 Leo Sperling wrote: > This is a patch to the vpfe_video.c file that fixes an indentation > warning reported by checkpatch.pl > > Signed-off-by: Leo Sperling Acked-by: Laurent Pinchart and applied to

Re: [PATCH] Staging: media: davinci_vpfe: Fix spelling error on a comment

2016-11-22 Thread Laurent Pinchart
Hi Manuel, Thank you for the patch and sorry for the late reply. On Tuesday 08 Mar 2016 01:16:06 Manuel Rodriguez wrote: > Fix spelling error on a comment, change 'wether' to 'whether' > > Signed-off-by: Manuel Rodriguez Acked-by: Laurent Pinchart and applied to my tree. I will send a pull r

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-22 Thread Dan Williams
On Tue, Nov 22, 2016 at 1:03 PM, Daniel Vetter wrote: > On Tue, Nov 22, 2016 at 9:35 PM, Serguei Sagalovitch > wrote: >> >> On 2016-11-22 03:10 PM, Daniel Vetter wrote: >>> >>> On Tue, Nov 22, 2016 at 9:01 PM, Dan Williams >>> wrote: On Tue, Nov 22, 2016 at 10:59 AM, Serguei Sagalovitc

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-22 Thread Daniel Vetter
On Tue, Nov 22, 2016 at 9:35 PM, Serguei Sagalovitch wrote: > > On 2016-11-22 03:10 PM, Daniel Vetter wrote: >> >> On Tue, Nov 22, 2016 at 9:01 PM, Dan Williams >> wrote: >>> >>> On Tue, Nov 22, 2016 at 10:59 AM, Serguei Sagalovitch >>> wrote: I personally like "device-DAX" idea but my

[PATCH] [media] DaVinci-VPFE-Capture: fix error handling

2016-11-22 Thread Arnd Bergmann
A recent cleanup had the right idea to remove the initialization of the error variable, but missed the actual benefit of that, which is that we get warnings if there is a bug in it. Now we get a warning about a bug that was introduced by this cleanup: drivers/media/platform/davinci/vpfe_capture.c:

Re: [PATCH 1/1] smiapp: Implement power-on and power-off sequences without runtime PM

2016-11-22 Thread Arnd Bergmann
On Tuesday, November 22, 2016 8:31:42 PM CET Laurent Pinchart wrote: > > > @@ -2915,7 +2906,11 @@ static int smiapp_probe(struct i2c_client *client, > > > > > > pm_runtime_enable(&client->dev); > > > > > > +#ifdef CONFIG_PM > > > rval = pm_runtime_get_sync(&client->dev); > > > +#else > >

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-22 Thread Serguei Sagalovitch
On 2016-11-22 03:10 PM, Daniel Vetter wrote: On Tue, Nov 22, 2016 at 9:01 PM, Dan Williams wrote: On Tue, Nov 22, 2016 at 10:59 AM, Serguei Sagalovitch wrote: I personally like "device-DAX" idea but my concerns are: - How well it will co-exists with the DRM infrastructure / implementatio

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-22 Thread Dan Williams
On Tue, Nov 22, 2016 at 12:10 PM, Daniel Vetter wrote: > On Tue, Nov 22, 2016 at 9:01 PM, Dan Williams > wrote: >> On Tue, Nov 22, 2016 at 10:59 AM, Serguei Sagalovitch >> wrote: >>> I personally like "device-DAX" idea but my concerns are: >>> >>> - How well it will co-exists with the DRM inf

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-22 Thread Daniel Vetter
On Tue, Nov 22, 2016 at 9:01 PM, Dan Williams wrote: > On Tue, Nov 22, 2016 at 10:59 AM, Serguei Sagalovitch > wrote: >> I personally like "device-DAX" idea but my concerns are: >> >> - How well it will co-exists with the DRM infrastructure / implementations >>in part dealing with CPU point

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-22 Thread Dan Williams
On Tue, Nov 22, 2016 at 10:59 AM, Serguei Sagalovitch wrote: > Dan, > > I personally like "device-DAX" idea but my concerns are: > > - How well it will co-exists with the DRM infrastructure / implementations >in part dealing with CPU pointers? Inside the kernel a device-DAX range is "just m

Re: [PATCH] drivers: staging: media: davinci_vpfe: dm365_resizer: fixed some spelling mistakes

2016-11-22 Thread Laurent Pinchart
Hi Saatvik, Thank you for the patch, and sorry for the late reply. On Wednesday 03 Feb 2016 07:56:42 Saatvik Arya wrote: > fixed spelling mistakes which reffered to OUTPUT as OUPUT > > Signed-off-by: Saatvik Arya I've picked the patch up and applied it to my tree. I will send a pull request t

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

2016-11-22 Thread Shuah Khan
On 11/22/2016 11:13 AM, Hans Verkuil wrote: > On 22/11/16 18:44, Mauro Carvalho Chehab wrote: >>> * media: fix use-after-free in cdev_put() when app exits after driver unbind >>> 5b28dde51d0c >>> >>> The patch avoids the problem of deleting a character device (cdev_del()) >>> after its memory has

Re: [PATCH 1/1] smiapp: Implement power-on and power-off sequences without runtime PM

2016-11-22 Thread Laurent Pinchart
Hi Arnd, On Friday 18 Nov 2016 17:09:01 Arnd Bergmann wrote: > On Friday, November 18, 2016 3:50:16 PM CET Sakari Ailus wrote: > > Power on the sensor when the module is loaded and power it off when it is > > removed. > > > > Signed-off-by: Sakari Ailus > > --- > > Hi Arnd and others, > > > > T

Re: [PATCH 1/1] doc-rst: Specify raw bayer format variant used in the examples

2016-11-22 Thread Mauro Carvalho Chehab
Em Tue, 15 Nov 2016 23:49:43 +0200 Sakari Ailus escreveu: > The documentation simply mentioned that one of the four pixel orders was > used in the example. Now specify the exact pixelformat instead. > > for i in pixfmt-s*.rst; do i=$i perl -i -pe ' > my $foo=$ENV{i}; > $foo =~ s/pixf

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

2016-11-22 Thread Hans Verkuil
On 22/11/16 18:44, Mauro Carvalho Chehab wrote: * media: fix use-after-free in cdev_put() when app exits after driver unbind 5b28dde51d0c The patch avoids the problem of deleting a character device (cdev_del()) after its memory has been released. The change is sound as such but the problem is

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-22 Thread Dan Williams
On Mon, Nov 21, 2016 at 12:36 PM, Deucher, Alexander wrote: > This is certainly not the first time this has been brought up, but I'd like > to try and get some consensus on the best way to move this forward. Allowing > devices to talk directly improves performance and reduces latency by avoidin

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

2016-11-22 Thread Mauro Carvalho Chehab
Em Mon, 14 Nov 2016 15:27:22 +0200 Sakari Ailus escreveu: > Hi Mauro, > > I'm replying below but let me first summarise the remaining problem area > that this patchset addresses. Sorry for answering too late. Somehow, I missed this email in the cloud. > The problems you and Shuah have seen and

Re: [PATCH 1/2] uvc_v4l2: Use memdup_user() rather than duplicating its implementation

2016-11-22 Thread Laurent Pinchart
Hi Markus, Thank you for the patch. On Friday 19 Aug 2016 11:23:18 SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 19 Aug 2016 10:50:05 +0200 > > Reuse existing functionality from memdup_user() instead of keeping > duplicate source code. > > This issue was detected by using the Co

Re: [PATCH] [media] nec decoder: wrong bit order for nec32 protocol

2016-11-22 Thread Sean Young
On Tue, Nov 22, 2016 at 01:08:52PM -0200, Mauro Carvalho Chehab wrote: > Em Tue, 22 Nov 2016 09:19:19 -0500 > Jarod Wilson escreveu: > > Been away from the game for a few years now, so there are a good number of > > cobwebs in this section of my brain... I'm pretty sure I do have both a > > remote

[PATCH v3 09/10] [media] st-delta: add mjpeg support

2016-11-22 Thread Hugues Fruchet
Adds support of DELTA MJPEG video decoder back-end, implemented by calling JPEG_DECODER_HW0 firmware using RPMSG IPC communication layer. Signed-off-by: Hugues Fruchet --- drivers/media/platform/Kconfig | 6 + drivers/media/platform/sti/delta/Makefile | 4 + driv

[PATCH v3 04/10] [media] MAINTAINERS: add st-delta driver

2016-11-22 Thread Hugues Fruchet
Add entry for the STMicroelectronics DELTA driver. Signed-off-by: Hugues Fruchet --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7db3f7a..a96dd22 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2394,6 +2394,14 @@ W: https://linuxtv

[PATCH v3 08/10] [media] st-delta: EOS (End Of Stream) support

2016-11-22 Thread Hugues Fruchet
EOS (End Of Stream) support allows user to get all the potential decoded frames remaining in decoder pipeline after having reached the end of video bitstream. To do so, user calls VIDIOC_DECODER_CMD(V4L2_DEC_CMD_STOP) which will drain the decoder and get the drained frames that are then returned to

[PATCH v3 10/10] [media] st-delta: debug: trace stream/frame information & summary

2016-11-22 Thread Hugues Fruchet
Adds some trace points showing input compressed stream or output decoded frame information. Adds an unconditional trace point when streaming starts showing the compressed stream and the decoded frame information. Adds an unconditional trace point at instance closure summarizing into a single line t

[PATCH v3 00/10] Add support for DELTA video decoder of STMicroelectronics STiH4xx SoC series

2016-11-22 Thread Hugues Fruchet
This patchset introduces a basic support for DELTA multi-format video decoder of STMicroelectronics STiH4xx SoC series. DELTA hardware IP is controlled by a remote firmware loaded in a ST231 coprocessor. Communication with firmware is done within an IPC layer using rpmsg kernel framework and a sha

[PATCH v3 06/10] [media] st-delta: add memory allocator helper functions

2016-11-22 Thread Hugues Fruchet
Helper functions used by decoder back-ends to allocate physically contiguous memory required by hardware video decoder. Signed-off-by: Hugues Fruchet --- drivers/media/platform/sti/delta/Makefile| 2 +- drivers/media/platform/sti/delta/delta-mem.c | 51 drivers/

[PATCH v3 01/10] Documentation: DT: add bindings for ST DELTA

2016-11-22 Thread Hugues Fruchet
This patch adds DT binding documentation for STMicroelectronics DELTA V4L2 video decoder. Signed-off-by: Hugues Fruchet --- Documentation/devicetree/bindings/media/st,st-delta.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH v3 02/10] ARM: dts: STiH410: add DELTA dt node

2016-11-22 Thread Hugues Fruchet
This patch adds DT node for STMicroelectronics DELTA V4L2 video decoder Signed-off-by: Hugues Fruchet --- arch/arm/boot/dts/stih410.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi index a3ef734..fb03cb67 100644

[PATCH v3 03/10] ARM: multi_v7_defconfig: enable STMicroelectronics DELTA Support

2016-11-22 Thread Hugues Fruchet
Enables support of STMicroelectronics STiH4xx SoC series DELTA multi-format video decoder V4L2 driver. Signed-off-by: Hugues Fruchet --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defcon

[PATCH v3 05/10] [media] st-delta: STiH4xx multi-format video decoder v4l2 driver

2016-11-22 Thread Hugues Fruchet
This V4L2 driver enables DELTA multi-format video decoder of STMicroelectronics STiH4xx SoC series. Signed-off-by: Hugues Fruchet --- drivers/media/platform/Kconfig| 20 + drivers/media/platform/Makefile |2 + drivers/media/platform/sti/delta/Makefile |

[PATCH v3 07/10] [media] st-delta: rpmsg ipc support

2016-11-22 Thread Hugues Fruchet
IPC (Inter Process Communication) support for communication with DELTA coprocessor firmware using rpmsg kernel framework. Based on 4 services open/set_stream/decode/close and their associated rpmsg messages. The messages structures are duplicated on both host and firmware side and are packed (use o

[PATCH v3 4/4] [media] dt-bindings: add TI VPIF documentation

2016-11-22 Thread Kevin Hilman
Signed-off-by: Kevin Hilman --- .../bindings/media/ti,da850-vpif-capture.txt | 65 ++ .../devicetree/bindings/media/ti,da850-vpif.txt| 8 +++ 2 files changed, 73 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/ti,da850-vpif-capture.txt cr

[PATCH v3 3/4] [media] davinci: vpif_capture: get subdevs from DT

2016-11-22 Thread Kevin Hilman
Allow getting of subdevs from DT ports and endpoints. The _get_pdata() function was larely inspired by (i.e. stolen from) am437x-vpfe.c Signed-off-by: Kevin Hilman --- drivers/media/platform/davinci/vpif_capture.c | 130 +- include/media/davinci/vpif_types.h|

[PATCH v3 1/4] [media] davinci: add support for DT init

2016-11-22 Thread Kevin Hilman
Add basic support for initialization via DT. Signed-off-by: Kevin Hilman --- drivers/media/platform/davinci/vpif.c | 9 + drivers/media/platform/davinci/vpif_capture.c | 14 ++ 2 files changed, 23 insertions(+) diff --git a/drivers/media/platform/davinci/vpif.c b/d

[PATCH v3 0/4] [media] davinci: VPIF: add DT support

2016-11-22 Thread Kevin Hilman
Add DT support, including getting subdevs from DT ports/endpoints. Changes since v2: - DT binding doc: fix example to use correct compatible Changes since v1: - more specific compatible strings, based on SoC: ti,da850-vpif* - fix locking bug when unlocking over subdev s_stream Kevin Hilman (4):

[PATCH v3 2/4] [media] davinci: vpif_capture: don't lock over s_stream

2016-11-22 Thread Kevin Hilman
Video capture subdevs may be over I2C and may sleep during xfer, so we cannot do IRQ-disabled locking when calling the subdev. Signed-off-by: Kevin Hilman --- drivers/media/platform/davinci/vpif_capture.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/davinci/vpif_

Re: [PATCH] [media] v4l: vsp1: Fix format-info documentation

2016-11-22 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday 09 Jun 2016 18:57:02 Kieran Bingham wrote: > Minor tweaks to document the swap register and make the documentation > match the struct ordering > > Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart and applied to my tree. > --- > dri

Re: [PATCH v2 4/4] [media] dt-bindings: add TI VPIF documentation

2016-11-22 Thread Kevin Hilman
Hans Verkuil writes: > On 22/11/16 02:44, Kevin Hilman wrote: >> Cc: Rob Herring >> Signed-off-by: Kevin Hilman >> --- >> .../bindings/media/ti,da850-vpif-capture.txt | 65 >> ++ >> .../devicetree/bindings/media/ti,da850-vpif.txt| 8 +++ >> 2 files changed, 73 i

Re: [PATCH] [media] nec decoder: wrong bit order for nec32 protocol

2016-11-22 Thread Sean Young
On Tue, Nov 22, 2016 at 09:19:19AM -0500, Jarod Wilson wrote: > On Tue, Nov 22, 2016 at 11:35:06AM -0200, Mauro Carvalho Chehab wrote: > > Em Wed, 9 Nov 2016 16:13:35 + > > Sean Young escreveu: > > > > > The bits are sent in lsb first. Hardware decoders also send nec32 > > > in this order (e

Re: [PATCH] [media] nec decoder: wrong bit order for nec32 protocol

2016-11-22 Thread Mauro Carvalho Chehab
Em Tue, 22 Nov 2016 09:19:19 -0500 Jarod Wilson escreveu: > On Tue, Nov 22, 2016 at 11:35:06AM -0200, Mauro Carvalho Chehab wrote: > > Em Wed, 9 Nov 2016 16:13:35 + > > Sean Young escreveu: > > > > > The bits are sent in lsb first. Hardware decoders also send nec32 > > > in this order (e

★★★《出国参展邀请函》2017第52届世界JEC复合材料展览及会议,请转——董事长/总经理(收) |gD4/L100-M| lin...@public.east.c

2016-11-22 Thread txoraw
z...@haining.info (凭此邮件优惠1000元/公司,需回信专用接收邮箱“12809...@qq.com”报名参展)       JEC world Composites Show & Conferences 2017 2017第52届JEC世界复合材料展览及会议    —— 参加JEC展会是一个复合材料及新材料企业走向国际化的标志和途径    【中文名称】 2017第52届世界JEC复合材料展览及会议(法国巴黎) 【英文名称】 The 52th JEC Composites Show & Conferences 2017 in Paris France (JEC world

Re: [Intel-gfx] [PATCH 1/4] lib/scatterlist: Fix offset type in sg_alloc_table_from_pages

2016-11-22 Thread Mauro Carvalho Chehab
Em Mon, 14 Nov 2016 09:55:48 + Chris Wilson escreveu: > On Fri, Nov 11, 2016 at 08:50:17AM +, Tvrtko Ursulin wrote: > > From: Tvrtko Ursulin > > > > Scatterlist entries have an unsigned int for the offset so > > correct the sg_alloc_table_from_pages function accordingly. > > > > Since

Re: [PATCH] [media] nec decoder: wrong bit order for nec32 protocol

2016-11-22 Thread Jarod Wilson
On Tue, Nov 22, 2016 at 11:35:06AM -0200, Mauro Carvalho Chehab wrote: > Em Wed, 9 Nov 2016 16:13:35 + > Sean Young escreveu: > > > The bits are sent in lsb first. Hardware decoders also send nec32 > > in this order (e.g. dib0700). This should be consistent, however > > I have no way of know

Re: [RFC] Documentation: media, leds: move IR LED remote controllers from media to LED

2016-11-22 Thread Mauro Carvalho Chehab
Em Thu, 10 Nov 2016 22:26:50 +0900 Andi Shyti escreveu: > Hi, > > this is purely a request for comments after a discussion had with > Rob and Jacek [*] about where to place the ir leds binding. Rob wants > the binding to be under led, while Jacek wants it in media... > "Ubi maior minor cessat":

Re: [PATCH] [media] nec decoder: wrong bit order for nec32 protocol

2016-11-22 Thread Mauro Carvalho Chehab
Em Wed, 9 Nov 2016 16:13:35 + Sean Young escreveu: > The bits are sent in lsb first. Hardware decoders also send nec32 > in this order (e.g. dib0700). This should be consistent, however > I have no way of knowing which order the LME2510 and Tivo keymaps > are (the only two kernel keymaps wit

Re: [PATCH v5] [media] vb2: Add support for capture_dma_bidirectional queue flag

2016-11-22 Thread Thierry Escande
Hi Mauro, On 18/11/2016 19:59, Mauro Carvalho Chehab wrote: Em Tue, 25 Oct 2016 10:22:29 +0200 Thierry Escande escreveu: From: Pawel Osciak When this flag is set for CAPTURE queues by the driver on calling vb2_queue_init(), it forces the buffers on the queue to be allocated/mapped with DMA_

Re: [PATCH v2] [media] vivid: support for contiguous DMA buffers

2016-11-22 Thread Vincent ABRIOU
Hi Hans, Is there any issue so that those 2 patches cannot be merged? [media] vivid: support for contiguous DMA buffer [media] uvcvideo: support for contiguous DMA buffers They both have same approach and have been tested against ARM and X86 platform. Thanks. BR Vincent On 09/12/2016 05:56 PM,

Re: [PATCH v3 1/2] [media] serial_ir: port lirc_serial to rc-core

2016-11-22 Thread Mauro Carvalho Chehab
Em Mon, 21 Nov 2016 21:53:27 + Sean Young escreveu: > On Mon, Nov 21, 2016 at 02:28:08PM -0200, Mauro Carvalho Chehab wrote: > > Em Fri, 11 Nov 2016 23:13:06 + > > Sean Young escreveu: > > > > > Tested with a homebrew serial ir. Remove last remmants of the nslu2 > > > which could not

Re: [PATCH v2 4/4] [media] dt-bindings: add TI VPIF documentation

2016-11-22 Thread Hans Verkuil
On 22/11/16 02:44, Kevin Hilman wrote: Cc: Rob Herring Signed-off-by: Kevin Hilman --- .../bindings/media/ti,da850-vpif-capture.txt | 65 ++ .../devicetree/bindings/media/ti,da850-vpif.txt| 8 +++ 2 files changed, 73 insertions(+) create mode 100644 Documentati

Re: [PATCH v6 3/3] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-11-22 Thread Hans Verkuil
On 22/11/16 04:21, Rick Chang wrote: Hi Hans, On Mon, 2016-11-21 at 15:51 +0100, Hans Verkuil wrote: On 17/11/16 04:38, Rick Chang wrote: Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- This patch depends on: CCF "Add clock support for Mediatek MT2701"[1] iommu and smi "Add th

[PATCH] cec: pass parent device in register, not allocate

2016-11-22 Thread Hans Verkuil
The cec_allocate_adapter function doesn't need the parent device, only the cec_register_adapter function needs it. Drop the cec_devnode parent field, since devnode.dev.parent can be used instead. This change makes the framework consistent with other frameworks where the parent device is not used

[PATCH] [media] ti-vpe: get rid of some smatch warnings

2016-11-22 Thread Mauro Carvalho Chehab
When compiled on i386, it produces several warnings: ./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue ./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue ./arch/x86/include/asm/bitops.h:457:22: warning: asm output is no

Re: [RFC v4 14/21] media device: Get the media device driver's device

2016-11-22 Thread Hans Verkuil
On 22/11/16 10:58, Laurent Pinchart wrote: Hi Hans, On Tuesday 22 Nov 2016 10:46:31 Hans Verkuil wrote: On 08/11/16 14:55, Sakari Ailus wrote: The struct device of the media device driver (i.e. not that of the media devnode) is pointed to by the media device. The struct device pointer is mostl

[PATCH] [media] vpdma: remove vpdma_enable_list_notify_irq()

2016-11-22 Thread Mauro Carvalho Chehab
Despite being exported, there's no prototype for it at the headers, as warned by sparse: Fixes this sparse warning: drivers/media/platform/ti-vpe/vpdma.c:1000:6: warning: no previous prototype for 'vpdma_enable_list_notify_irq' [-Wmissing-prototypes] void vpdma_enable_list_notify

Re: [RFC v4 19/21] omap3isp: Allocate the media device dynamically

2016-11-22 Thread Hans Verkuil
On 08/11/16 14:55, Sakari Ailus wrote: Use the new media_device_alloc() API to allocate and release the media device. Signed-off-by: Sakari Ailus --- drivers/media/platform/omap3isp/isp.c | 24 +--- drivers/media/platform/omap3isp/isp.h | 2 +- drivers/media/plat

Re: [RFC v4 01/21] Revert "[media] media: fix media devnode ioctl/syscall and unregister race"

2016-11-22 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Tuesday 08 Nov 2016 15:55:10 Sakari Ailus wrote: > This reverts commit 6f0dd24a084a ("[media] media: fix media devnode > ioctl/syscall and unregister race"). The commit was part of an original > patchset to avoid crashes when an unregistering device is in us

Re: [RFC v4 06/21] media device: Drop nop release callback

2016-11-22 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Tuesday 08 Nov 2016 15:55:15 Sakari Ailus wrote: > The release callback is only used to print a debug message. Drop it. (It > will be re-introduced later in a different form.) > > Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart > --- > driver

Re: [RFC v4 05/21] media: devnode: Rename mdev argument as devnode

2016-11-22 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Tuesday 08 Nov 2016 15:55:14 Sakari Ailus wrote: > Historically, mdev argument name was being used on both struct > media_device and struct media_devnode. Recently most occurrences of mdev > referring to struct media_devnode were replaced by devnode, which m

Re: [RFC v4 04/21] media: Remove useless curly braces and parentheses

2016-11-22 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Tuesday 08 Nov 2016 15:55:13 Sakari Ailus wrote: > Signed-off-by: Sakari Ailus > Acked-by: Hans Verkuil Reviewed-by: Laurent Pinchart > --- > drivers/media/media-device.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/dr

Re: [RFC v4 14/21] media device: Get the media device driver's device

2016-11-22 Thread Laurent Pinchart
Hi Hans, On Tuesday 22 Nov 2016 10:46:31 Hans Verkuil wrote: > On 08/11/16 14:55, Sakari Ailus wrote: > > The struct device of the media device driver (i.e. not that of the media > > devnode) is pointed to by the media device. The struct device pointer is > > mostly used for debug prints. > > > >

Re: [RFC v4 14/21] media device: Get the media device driver's device

2016-11-22 Thread Hans Verkuil
On 08/11/16 14:55, Sakari Ailus wrote: The struct device of the media device driver (i.e. not that of the media devnode) is pointed to by the media device. The struct device pointer is mostly used for debug prints. Ensure it will stay around as long as the media device does. Signed-off-by: Saka

Re: ir-keytable: infinite loops, segfaults

2016-11-22 Thread Sean Young
On Tue, Nov 22, 2016 at 06:25:59PM +1100, Vincent McIntyre wrote: > On 11/21/16, Sean Young wrote: > >> > >> Ah. Here we have a problem. The device (/dev/input/event15) > >> doesn't have a corresponding rcX node, see ir-keytable output below. > >> I had it explained to me like this: > > > > As I s

[GIT PULL] mn88473 statistics

2016-11-22 Thread Antti Palosaari
The following changes since commit c60b4088108c44529e6f679d9e991e3d3c945950: [media] serial_ir: fix reference to 8250 serial code (2016-11-22 06:17:44 -0200) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git mn88473 for you to fetch changes up to 5d575830372