Re: [PATCH 1/9] mm: Provide new get_vaddr_frames() helper

2015-06-11 Thread Sergey Senozhatsky
On (06/10/15 06:20), Mauro Carvalho Chehab wrote: [..] > + > +/** > + * frame_vector_destroy() - free memory allocated to carry frame vector > + * @vec: Frame vector to free > + * > + * Free structure allocated by frame_vector_create() to carry frames. > + */ > +void frame_vector_destroy(struct

em28xx problem with 3.10-4.0

2015-06-11 Thread Gabor Z. Papp
lo lo, I would like to use my Pinnacle Dazzle DVC usb encoder with kernels 3.10-4.0, but I'm getting the same error all the time. Latest working kernel is the 3.4 line. What happend with the driver? dmesg Description: Binary data

RE: [PATCH] [media] bdisp: remove unused var

2015-06-11 Thread Fabien DESSENNE
Acked-by: Fabien Dessenne > -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Mauro Carvalho Chehab > Sent: mercredi 10 juin 2015 17:35 > To: Linux Media Mailing List > Cc: Mauro Carvalho Chehab; Mauro Carvalho Chehab >

Re: [git:media_tree/master] [media] vb2: Push mmap_sem down to memops

2015-06-11 Thread Hans Verkuil
Jan, This patch causes a regressing in videobuf2-dma-sg with a potential deadlock: [ 82.290231] == [ 82.290232] [ INFO: possible circular locking dependency detected ] [ 82.290235] 4.1.0-rc3-tb1 #12 Not tainted [ 82.290236] -

Re: [PATCH 0/9] Helper to abstract vma handling in media layer

2015-06-11 Thread Hans Verkuil
Hi Andrew, I discovered a regression on a prerequisite patch merged in the media tree that until solved prevents parts of this patch series from going in. See: http://www.mail-archive.com/linux-media@vger.kernel.org/msg89538.html Jan is on vacation, and I don't know if I have time this weekend t

RE: [PATCH 2/2] [media] bdisp-debug: don't try to divide by s64

2015-06-11 Thread Fabien DESSENNE
Hi Mauro, Please check my comments below. > -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Mauro Carvalho Chehab > Sent: mercredi 10 juin 2015 22:59 > To: Linux Media Mailing List > Cc: Mauro Carvalho Chehab; Mauro C

Re: [PATCH 2/2] [media] bdisp-debug: don't try to divide by s64

2015-06-11 Thread Mauro Carvalho Chehab
Hi Fabien, Em Thu, 11 Jun 2015 11:26:22 +0200 Fabien DESSENNE escreveu: > Hi Mauro, > > Please check my comments below. > > > -Original Message- > > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > > ow...@vger.kernel.org] On Behalf Of Mauro Carvalho Chehab > > Sent: merc

Klientskie bazi tel +79133913837 Email: nonen2...@gmail.com ICQ:6288862 Yznaite podrobnee!!!

2015-06-11 Thread linux-media@vger.kernel.org
Klientskie bazi tel +79133913837 Email: nonen2...@gmail.com ICQ:6288862 Yznaite podrobnee!!! -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: [PATCH 2/2] [media] bdisp-debug: don't try to divide by s64

2015-06-11 Thread Fabien DESSENNE
Acked-by: Fabien Dessenne > -Original Message- > From: Mauro Carvalho Chehab [mailto:mche...@osg.samsung.com] > Sent: jeudi 11 juin 2015 12:37 > To: Fabien DESSENNE > Cc: Linux Media Mailing List; Mauro Carvalho Chehab > Subject: Re: [PATCH 2/2] [media] bdisp-debug: don't try to divide by

Support for UVC 1.5 / H.264 SVC (to be used with Logitech C930e)

2015-06-11 Thread Damiano Albani
Hello, I've recently got hold of a Logitech C930e webcam. AFAIK that's the only consumer webcam that support UVC 1.5 and H.264/SVC. Unfortunately, compared to its predecessor the C920, it is not very well supported on Linux. For example, the H.264 capability doesn't appear in the list of formats:

[PATCH 1/2] genalloc: rename dev_get_gen_pool() to gen_pool_get()

2015-06-11 Thread Vladimir Zapolskiy
To be consistent with other genalloc interface namings, rename dev_get_gen_pool() to gen_pool_get(). The original omitted "dev_" prefix is removed, since it points to argument type of the function, and so it does not bring any useful information. Signed-off-by: Vladimir Zapolskiy --- arch/arm/ma

[PATCH 0/2] genalloc: rename dev_get_gen_pool() and of_get_named_gen_pool()

2015-06-11 Thread Vladimir Zapolskiy
Trivial nonfunctional change initially based on discussion https://lkml.org/lkml/2015/6/8/588 Worth to mention that instead of the assumed new name dev_gen_pool_get(), this change attempts to be more close to other in-kernel interfaces and new function name is just gen_pool_get(). The change is b

[PATCH 2/2] genalloc: rename of_get_named_gen_pool() to of_gen_pool_get()

2015-06-11 Thread Vladimir Zapolskiy
To be consistent with other kernel interface namings, rename of_get_named_gen_pool() to of_gen_pool_get(). In the original function name "_named" suffix references to a device tree property, which contains a phandle to a device and the corresponding device driver is assumed to register a gen_pool o

Re: [RFC] v4l: omap4iss: DT bindings development

2015-06-11 Thread Laurent Pinchart
Hi Michael, On Sunday 07 June 2015 17:35:48 Michael Allwright wrote: > Thanks for the patch Laurent! > > I have found out now what I have missed, I did not declare the DMA > channels in my DT. I'm now able to capture frames at 720p. VGA and > QVGA frames are coming out grainy and discoloured for

Re: [PATCH 2/9] [media] media: omap_vout: Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns()

2015-06-11 Thread Laurent Pinchart
Hello, (CC'ing Tomi Valkeinen) On Wednesday 10 June 2015 06:20:45 Mauro Carvalho Chehab wrote: > From: Jan Kara > > Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns() instead of > hand made mapping of virtual address to physical address. Also the > function leaked page reference from

Re: [PATCH] treewide: Fix typo compatability -> compatibility

2015-06-11 Thread Laurent Pinchart
Hello, On Wednesday 10 June 2015 13:00:20 Masanari Iida wrote: > On Wed, Jun 10, 2015 at 7:27 AM, Mauro Carvalho Chehab wrote: > > Em Wed, 27 May 2015 15:05:42 +0300 > > > > Laurent Pinchart escreveu: > >> Even though 'compatability' has a dedicated entry in the Wiktionary, > >> it's listed as '

Re: [PATCH] USB: uvc: add support for the Microsoft Surface Pro 3 Cameras

2015-06-11 Thread Laurent Pinchart
Hi Dennis, On Tuesday 09 June 2015 18:40:41 Dennis Chen wrote: > > Is this needed ? Looking at the patch your cameras are UVC-compliant > > and should thus be picked by the uvcvideo driver without any change to > > the code. > > The cameras are UVC-compliant but are not recognized by the uvc driv

Re: Obtain Si2157 and LGDT3306A signal stats from HVR955Q?

2015-06-11 Thread Doug Lung
Thanks for confirming the HVR-955Q SNR and other data is available via the DVBv5 API. Before switching my signal/antenna test programs to DVBv5, 'll see if I can figure out why the dvb-fe-tool is not returning the SNR data and error rate statistics from the HVR-955Q even though it does return this

Re: [PATCH v6 0/3] linux: address broken PAT drivers

2015-06-11 Thread Luis R. Rodriguez
On Mon, Jun 08, 2015 at 09:57:12PM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 08 Jun 2015 17:20:19 -0700 > "Luis R. Rodriguez" escreveu: > > > From: "Luis R. Rodriguez" > > > > Mauro, > > > > since the ivtv patch is already acked by the driver maintainer > > and depends on an x86 symbol tha

Re: [PATCH 2/9] [media] media: omap_vout: Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns()

2015-06-11 Thread Hans Verkuil
On 06/11/15 06:21, Laurent Pinchart wrote: > Hello, > > (CC'ing Tomi Valkeinen) > > On Wednesday 10 June 2015 06:20:45 Mauro Carvalho Chehab wrote: >> From: Jan Kara >> >> Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns() instead of >> hand made mapping of virtual address to physica

[PATCH v6 1/3] ivtv: use arch_phys_wc_add() and require PAT disabled

2015-06-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" We are burrying direct access to MTRR code support on x86 in order to take advantage of PAT. In the future we also want to make the default behaviour of ioremap_nocache() to use strong UC, use of mtrr_add() on those systems would make write-combining void. In order to h

[PATCH v6 0/3] linux: address broken PAT drivers

2015-06-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Mauro, since the ivtv patch is already acked by the driver maintainer and depends on an x86 symbol that went through Boris' tree are you OK in it going through Boris' tree? Boris, provided the outcome of the above maintainer's preference for you to merge these please

[PATCH v6 3/3] IB/ipath: use arch_phys_wc_add() and require PAT disabled

2015-06-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" We are burrying direct access to MTRR code support on x86 in order to take advantage of PAT. In the future we also want to make the default behaviour of ioremap_nocache() to use strong UC, use of mtrr_add() on those systems would make write-combining void. In order to h

[PATCH v6 2/3] IB/ipath: add counting for MTRR

2015-06-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" There is no good reason not to, we eventually delete it as well. Cc: Toshi Kani Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: Suresh Siddha Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Juergen Gross Cc: Daniel Vetter Cc: Andy Lutomirski Cc: Dave Airlie C

Re: Hauppauge 2250 on Ubuntu 15.04

2015-06-11 Thread Steven Toth
On Wed, Jun 10, 2015 at 1:23 PM, Jeff Allen wrote: > I am trying to get the firmware to load on a fresh install of Ubuntu 15.04 > desktop 64-bit on a new system. > > uname -a > Linux 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 > x86_64 x86_64 GNU/Linux That's not going to

Re: [PATCH][media] SI2168: Resolve unknown chip version errors with different HVR22x5 models

2015-06-11 Thread Steven Toth
On Fri, Jun 5, 2015 at 9:40 AM, Olli Salonen wrote: > Hi Steven, > > It seems to me that that part of the code is identical to your driver, no? Sorry for the noise. I'm been swamped with a couple of things and just getting back to the ML now. You are correct. -- Steven Toth - Kernel Labs http:

Re: [PATCH 0/9] Helper to abstract vma handling in media layer

2015-06-11 Thread Andrew Morton
On Thu, 11 Jun 2015 11:08:47 +0200 Hans Verkuil wrote: > I discovered a regression on a prerequisite patch merged in the media > tree that until solved prevents parts of this patch series from going in. > > See: http://www.mail-archive.com/linux-media@vger.kernel.org/msg89538.html > > Jan is on

Re: [PATCH v5 0/3] media: atmel-isi: rework on the clock part and add runtime pm support

2015-06-11 Thread Guennadi Liakhovetski
Hi Josh, On Thu, 11 Jun 2015, Josh Wu wrote: > Hi, Guennadi > > Any feedback for this patch series? Sorry, I haven't found the time to look at patches from you and William Towle, they are at the top of my todo list now - after all the compulsory things, of course. I'll handle them as soon as

[PATCH v1.3 1/5] v4l: async: Add a pointer to of_node to struct v4l2_subdev, match it

2015-06-11 Thread Sakari Ailus
V4L2 async sub-devices are currently matched (OF case) based on the struct device_node pointer in struct device. LED devices may have more than one LED, and in that case the OF node to match is not directly the device's node, but a LED's node. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari

Re: Hauppauge 2250 on Ubuntu 15.04

2015-06-11 Thread Steven Toth
On Thu, Jun 11, 2015 at 2:58 PM, Jeff Allen wrote: > Thanks, I did that and it is working now. However, I ran into another > problem. The card will not scan any channels. I live in the Chicago area > and my cable provider is Wowway. Wowway requires a main set top box and > digital adapters for

Re: [PATCH v1.3 1/5] v4l: async: Add a pointer to of_node to struct v4l2_subdev, match it

2015-06-11 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Thursday 11 June 2015 22:18:01 Sakari Ailus wrote: > V4L2 async sub-devices are currently matched (OF case) based on the struct > device_node pointer in struct device. LED devices may have more than one > LED, and in that case the OF node to match is not dir

Re: [PATCH 1/2] saa7164: change Si2168 reglen to 0 bit

2015-06-11 Thread Steven Toth
On Sat, Jun 6, 2015 at 3:44 AM, Olli Salonen wrote: > The i2c_reg_len for Si2168 should be 0 for correct I2C communication. > > Signed-off-by: Olli Salonen Tested-By: Steven Toth Checked with a HVR-2205 and a HVR-2215, firmware loads as expected. -- Steven Toth - Kernel Labs http://www.kerne

Re: [PATCH 2/2] Revert "[media] saa7164: Improvements for I2C handling"

2015-06-11 Thread Steven Toth
On Sat, Jun 6, 2015 at 3:44 AM, Olli Salonen wrote: > This reverts commit ad90b6b0f10566d4a5546e27fe455ce3b5e6b6c7. > > This patch breaks I2C communication towards Si2168. After reverting and > applying the other patch in this series the I2C communication is > correct. Tested-By: Steven Toth Ch

Re: [PATCH 1/2] genalloc: rename dev_get_gen_pool() to gen_pool_get()

2015-06-11 Thread Nicolas Ferre
Le 11/06/2015 15:28, Vladimir Zapolskiy a écrit : > To be consistent with other genalloc interface namings, rename > dev_get_gen_pool() to gen_pool_get(). The original omitted "dev_" > prefix is removed, since it points to argument type of the function, > and so it does not bring any useful informa

Re: [PATCH 0/9] Helper to abstract vma handling in media layer

2015-06-11 Thread Hans Verkuil
On 06/11/2015 08:54 PM, Andrew Morton wrote: > On Thu, 11 Jun 2015 11:08:47 +0200 Hans Verkuil wrote: > >> I discovered a regression on a prerequisite patch merged in the media >> tree that until solved prevents parts of this patch series from going in. >> >> See: http://www.mail-archive.com/linu

Re: [PATCH v6 2/3] IB/ipath: add counting for MTRR

2015-06-11 Thread Borislav Petkov
On Thu, Jun 11, 2015 at 10:50:01AM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > There is no good reason not to, we eventually delete it as well. > > Cc: Toshi Kani > Cc: Roland Dreier > Cc: Sean Hefty > Cc: Hal Rosenstock > Cc: Suresh Siddha > Cc: Ingo Molnar > Cc: Thoma

Re: [PATCH v6 0/3] linux: address broken PAT drivers

2015-06-11 Thread Luis R. Rodriguez
On Thu, Jun 11, 2015 at 10:49:59AM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Mauro, > > since the ivtv patch is already acked by the driver maintainer > and depends on an x86 symbol that went through Boris' tree are you > OK in it going through Boris' tree? Sorry I resent

Re: [PATCH] USB: uvc: add support for the Microsoft Surface Pro 3 Cameras

2015-06-11 Thread Dennis Chen
> Could you please send me the output of 'lsusb -v -d 045e:07be' and > 'lsusb -v - > d 045e:07bf' (running as root if possible) ? Bus 001 Device 004: ID 045e:07bf Microsoft Corp. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClas

[PATCH v7 0/3] linux: address broken PAT drivers

2015-06-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Boris, the following patches make use of the newly exported pat_enabled() which went in through your tree. All driver and respective subsystem maintainers have Acked these patches and are OK for them to go in through your tree. Please let me know if there any issues or

[PATCH v7 1/3] ivtv: use arch_phys_wc_add() and require PAT disabled

2015-06-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" We are burrying direct access to MTRR code support on x86 in order to take advantage of PAT. In the future we also want to make the default behaviour of ioremap_nocache() to use strong UC, use of mtrr_add() on those systems would make write-combining void. In order to h

[PATCH v7 2/3] IB/ipath: add counting for MTRR

2015-06-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" There is no good reason not to, we eventually delete it as well. Cc: Toshi Kani Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: Suresh Siddha Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Juergen Gross Cc: Daniel Vetter Cc: Andy Lutomirski Cc: Dave Airlie C

RIP MTRR - status update for upcoming v4.2

2015-06-11 Thread Luis R. Rodriguez
The series to bury direct MTRR use is almost all in and on its way to v4.2. As the pending series continue slowly to be merged I wanted to take the time to reiterate the justification for these changes in hopes it may help those still reviewing some of these patches which are pending and to help do

[PATCH v7 3/3] IB/ipath: use arch_phys_wc_add() and require PAT disabled

2015-06-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" We are burrying direct access to MTRR code support on x86 in order to take advantage of PAT. In the future we also want to make the default behaviour of ioremap_nocache() to use strong UC, use of mtrr_add() on those systems would make write-combining void. In order to h

Re: RIP MTRR - status update for upcoming v4.2

2015-06-11 Thread Toshi Kani
On Thu, 2015-06-11 at 13:36 -0700, Luis R. Rodriguez wrote: : > Pending RIP MTRR patches > > > There are a few pending series so I wanted to provide a status update > on those series. > > mtrr: bury MTRR - unexport mtrr_add() and mtrr_del() > > This is the nail on the MTRR

Re: RIP MTRR - status update for upcoming v4.2

2015-06-11 Thread Luis R. Rodriguez
On Thu, Jun 11, 2015 at 05:23:16PM -0600, Toshi Kani wrote: > On Thu, 2015-06-11 at 13:36 -0700, Luis R. Rodriguez wrote: > : > > Pending RIP MTRR patches > > > > > > There are a few pending series so I wanted to provide a status update > > on those series. > > > > mtrr: bur

cron job: media_tree daily build: WARNINGS

2015-06-11 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 Jun 12 04:00:19 CEST 2015 git branch: test git hash: e42c8c6eb456f8978de417ea349eef676ef4385c gcc versi

Re: [PATCH v6 2/3] IB/ipath: add counting for MTRR

2015-06-11 Thread Doug Ledford
On 06/11/2015 03:54 PM, Borislav Petkov wrote: > On Thu, Jun 11, 2015 at 10:50:01AM -0700, Luis R. Rodriguez wrote: >> From: "Luis R. Rodriguez" >> >> There is no good reason not to, we eventually delete it as well. >> >> Cc: Toshi Kani >> Cc: Roland Dreier >> Cc: Sean Hefty >> Cc: Hal Rosensto

Re: [PATCH 04/15] media: adv7604: chip info and formats for ADV7612

2015-06-11 Thread Hans Verkuil
Hi William, Two comments, see below. On 06/03/2015 03:59 PM, William Towle wrote: > Add support for the ADV7612 chip as implemented on Renesas' Lager > board to adv7604.c, including lists for formats/colourspace/timing > selection and an IRQ handler. > > Signed-off-by: William Towle > --- > dr

Re: [PATCH 05/15] media: adv7604: document support for ADV7612 dual HDMI input decoder

2015-06-11 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: > From: Ian Molton > > This documentation accompanies the patch adding support for the ADV7612 > dual HDMI decoder / repeater chip. > > Signed-off-by: Ian Molton > Reviewed-by: William Towle Acked-by: Hans Verkuil > --- > .../devicetree/bindings

Re: [PATCH 06/15] media: adv7604: ability to read default input port from DT

2015-06-11 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: > From: Ian Molton > > Adds support to the adv7604 driver for specifying the default input > port in the Device tree. If no value is provided, the driver will be > unable to select an input without help from userspace. > > Tested-by: William Towle >

Re: [PATCH 03/15] media: adv7180: add of match table

2015-06-11 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: > From: Ben Dooks > > Add a proper of match id for use when the device is being bound via > device tree, to avoid having to use the i2c old-style binding of the > device. > > Signed-off-by: Ben Dooks > Signed-off-by: William.Towle > Reviewed-by: Rob

Re: [PATCH 02/15] media: soc_camera: rcar_vin: Add BT.709 24-bit RGB888 input support

2015-06-11 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: > This adds V4L2_MBUS_FMT_RGB888_1X24 input format support > which is used by the ADV7612 chip. > > Signed-off-by: Koji Matsuoka > Signed-off-by: Simon Horman > Signed-off-by: Yoshihiro Kaneko > > Modified to use MEDIA_BUS_FMT_* constants > > Signe

Re: [PATCH v1.3 1/5] v4l: async: Add a pointer to of_node to struct v4l2_subdev, match it

2015-06-11 Thread Sakari Ailus
On Thu, Jun 11, 2015 at 10:27:30PM +0300, Laurent Pinchart wrote: > Hi Sakari, > > Thank you for the patch. > > On Thursday 11 June 2015 22:18:01 Sakari Ailus wrote: > > V4L2 async sub-devices are currently matched (OF case) based on the struct > > device_node pointer in struct device. LED device

[PATCH] v4l2-dv-timings: log if the timing is reduced blanking V2

2015-06-11 Thread Hans Verkuil
The last CVT standard introduced reduced blanking version 2 which is signaled by a vsync of 8. Log this. Signed-off-by: Hans Verkuil diff --git a/drivers/media/v4l2-core/v4l2-dv-timings.c b/drivers/media/v4l2-core/v4l2-dv-timings.c index eefad4f..5d9e896 100644 --- a/drivers/media/v4l2-core/v4l

Re: Support for UVC 1.5 / H.264 SVC (to be used with Logitech C930e)

2015-06-11 Thread Laurent Pinchart
Hi Damiano, On Thursday 11 June 2015 14:28:55 Damiano Albani wrote: > Hello, > > I've recently got hold of a Logitech C930e webcam. > AFAIK that's the only consumer webcam that support UVC 1.5 and H.264/SVC. > Unfortunately, compared to its predecessor the C920, it is not very well > supported on