Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread InKi Dae
2012/1/10 Semwal, Sumit : > On Tue, Jan 10, 2012 at 7:44 AM, Rob Clark wrote: >> On Mon, Jan 9, 2012 at 7:34 PM, InKi Dae wrote: >>> 2012/1/10 Rob Clark : >>> at least with no IOMMU, the memory information(containing physical >>> memory address) would be copied to vb2_xx_buf object if drm gem >>>

[PATCH RESEND] [media] convert drivers/media/* to use module_platform_driver()

2012-01-09 Thread Axel Lin
This patch converts the drivers in drivers/media/* to use the module_platform_driver() macro which makes the code smaller and a bit simpler. Cc: Mauro Carvalho Chehab Cc: Laurent Pinchart Cc: Kyungmin Park Cc: Hans Verkuil Cc: "Richard Röjfors" Cc: "Matti J. Aaltonen" Cc: Lucas De Marchi Cc

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread Semwal, Sumit
On Tue, Jan 10, 2012 at 7:44 AM, Rob Clark wrote: > On Mon, Jan 9, 2012 at 7:34 PM, InKi Dae wrote: >> 2012/1/10 Rob Clark : >> at least with no IOMMU, the memory information(containing physical >> memory address) would be copied to vb2_xx_buf object if drm gem >> exported its own buffer and vb2

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread Rob Clark
On Mon, Jan 9, 2012 at 7:34 PM, InKi Dae wrote: > 2012/1/10 Rob Clark : >> On Mon, Jan 9, 2012 at 4:10 AM, InKi Dae wrote: >>> note : in case of sharing a buffer between v4l2 and drm driver, the >>> memory info would be copied vb2_xx_buf to xx_gem or xx_gem to >>> vb2_xx_buf through sg table. in

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread InKi Dae
2012/1/10 Rob Clark : > On Mon, Jan 9, 2012 at 4:10 AM, InKi Dae wrote: >> note : in case of sharing a buffer between v4l2 and drm driver, the >> memory info would be copied vb2_xx_buf to xx_gem or xx_gem to >> vb2_xx_buf through sg table. in this case, only memory info is used to >> share, not so

[PATCH] drivers: video: cx231xx: Fix dependency for VIDEO_CX231XX_DVB

2012-01-09 Thread Fabio Estevam
Fix the following build warning: warning: (VIDEO_CX231XX_DVB) selects DVB_MB86A20S which has unmet direct dependencies (MEDIA_SUPPORT && DVB_CAPTURE_DRIVERS && DVB_CORE && I2C) Signed-off-by: Fabio Estevam --- drivers/media/video/cx231xx/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 d

Re: [ANN] Notes on IRC meeting on new sensor control interface, 2012-01-09 14:00 GMT+2

2012-01-09 Thread Laurent Pinchart
Hi Sakari, On Tuesday 10 January 2012 00:26:46 Sakari Ailus wrote: > Laurent Pinchart wrote: > > On Monday 09 January 2012 23:32:06 Sakari Ailus wrote: > >> Laurent Pinchart wrote: > >>> On Monday 09 January 2012 18:38:25 Sakari Ailus wrote: > ... > > A fourth section may be required as well

Re: [ANN] Notes on IRC meeting on new sensor control interface, 2012-01-09 14:00 GMT+2

2012-01-09 Thread Sakari Ailus
Hi Laurent, Laurent Pinchart wrote: On Monday 09 January 2012 23:32:06 Sakari Ailus wrote: Laurent Pinchart wrote: On Monday 09 January 2012 18:38:25 Sakari Ailus wrote: ... A fourth section may be required as well: at this level the frame rate (or frame time) range makes more sense than the

Re: [ANN] Notes on IRC meeting on new sensor control interface, 2012-01-09 14:00 GMT+2

2012-01-09 Thread Laurent Pinchart
Hi Sakari, On Monday 09 January 2012 23:32:06 Sakari Ailus wrote: > Laurent Pinchart wrote: > > On Monday 09 January 2012 18:38:25 Sakari Ailus wrote: > >> Hi all, > >> > >> We had an IRC meeting on the new sensor control interface on > >> #v4l-meeting as scheduled previously. The meeting log is

Re: [ANN] Notes on IRC meeting on new sensor control interface, 2012-01-09 14:00 GMT+2

2012-01-09 Thread Sakari Ailus
Hi Laurent, Laurent Pinchart wrote: On Monday 09 January 2012 18:38:25 Sakari Ailus wrote: Hi all, We had an IRC meeting on the new sensor control interface on #v4l-meeting as scheduled previously. The meeting log is available here: http://www.retiisi.org.uk/v4l2/v4l2-sensor-control-interface

Re: [DVB Digital Devices Cine CT V6] status support

2012-01-09 Thread Thomas Kaiser
On 01/09/2012 09:05 AM, Martin Herrman wrote: 2012/1/8 Sébastien RAILLARD (COEXSI): http://shop.digital- devices.de/epages/62357162.sf/en_GB/?ObjectPath=/Shops/62357162/Categori es/HDTV_Karten_fuer_Mediacenter/Cine_PCIe_Serie/DVBC_T But.. is this card supported by the Linux kernel? The sho

Re: [ANN] Notes on IRC meeting on new sensor control interface, 2012-01-09 14:00 GMT+2

2012-01-09 Thread Laurent Pinchart
Hi Sakari, On Monday 09 January 2012 18:38:25 Sakari Ailus wrote: > Hi all, > > We had an IRC meeting on the new sensor control interface on #v4l-meeting > as scheduled previously. The meeting log is available here: > > http://www.retiisi.org.uk/v4l2/v4l2-sensor-control-interface-2012-01-0 > 9.t

[PATCH 1/1] remove version.h includes in drivers/media/dvb/frontends.

2012-01-09 Thread Devendra Naga
when compiling with make versioncheck, got linux/drivers/media/dvb/frontends/drxk_hard.c: 31 linux/version.h not needed. linux/drivers/media/dvb/frontends/tda18271c2dd.c: 32 linux/version.h not needed. Signed-off-by: Devendra Naga --- drivers/media/dvb/frontends/drxk_hard.c|1 - drivers

[PATCH 1/1] remove version.h includes in drivers/media/dvb/frontends.

2012-01-09 Thread Devendra Naga
when compiling with make versioncheck, got /home/devendra/linux/drivers/media/dvb/frontends/drxk_hard.c: 31 linux/version.h not needed. /home/devendra/linux/drivers/media/dvb/frontends/tda18271c2dd.c: 32 linux/version.h not needed. Signed-off-by: Devendra Naga --- drivers/media/dvb/frontends/

cron job: media_tree daily build: ERRORS

2012-01-09 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:Mon Jan 9 19:00:21 CET 2012 git hash:2f78604a433a12571ec3e54054fbfacc7525b307 gcc version: i686-linux-gcc (GCC

Re: [RFC 06/17] v4l: Add selections documentation.

2012-01-09 Thread Sakari Ailus
Hi Laurent, Thanks for the comments! Laurent Pinchart wrote: > On Tuesday 20 December 2011 21:27:58 Sakari Ailus wrote: > > [snip] > >> diff --git a/Documentation/DocBook/media/v4l/dev-subdev.xml >> b/Documentation/DocBook/media/v4l/dev-subdev.xml index 0916a73..722db60 >> 100644 >> --- a/Docum

Re: [PATCH 2/2] [media] af9005, af9015: use symbolic names for USB id table indices

2012-01-09 Thread Antti Palosaari
About AF9015 Acked-by: Antti Palosaari I have already done that for my newer drivers, but not for AF9015 as it was so old and many device IDs... Antti On 01/07/2012 10:11 AM, Jonathan Nieder wrote: The af9005_properties and af9015_properties tables make use of USB ids from the USB id table

linux-media@vger.kernel.org

2012-01-09 Thread Dan Carpenter
On Mon, Jan 09, 2012 at 07:40:49PM +0200, Antti Palosaari wrote: > Clear bug, I will test it later when applied to master if not > already. Thanks! You're welcome, but it's not a bug because (1 & 1 & 0) is the same as (1 && 1 && 0) but if one of them wasn't a bool it would be a problem. The other

linux-media@vger.kernel.org

2012-01-09 Thread Antti Palosaari
Clear bug, I will test it later when applied to master if not already. Thanks! Acked-by: Antti Palosaari On 01/05/2012 08:23 AM, Dan Carpenter wrote: This is just a cleanup, it doesn't change how the code works. These are compound conditions and not bitwise operations so it should be&& and

[ANN] Notes on IRC meeting on new sensor control interface, 2012-01-09 14:00 GMT+2

2012-01-09 Thread Sakari Ailus
Hi all, We had an IRC meeting on the new sensor control interface on #v4l-meeting as scheduled previously. The meeting log is available here: http://www.retiisi.org.uk/v4l2/v4l2-sensor-control-interface-2012-01-09.txt> My notes can be found below. Accessing V4L2 subdev and MC interfaces in us

Re: [PATCH] af9013: Fix typo in get_frontend() function

2012-01-09 Thread Antti Palosaari
Seems to be clear bug! Thanks. Acked-by: Antti Palosaari On 01/03/2012 07:47 PM, Gianluca Gennari wrote: This patch fixes an obvious typo in the get_frontend() function of the af9013 driver, recently rewritten by Antti Palosaari. Signed-off-by: Gianluca Gennari --- drivers/media/dvb/fronte

[GIT PULL FOR 3.3] Selection API and fixes for v3.3

2012-01-09 Thread Tomasz Stanislawski
Hi Mauro, The selection API has been tested for compatibility with compat32. The test was successful. I kindly ask for merging info 3.3. Regards, Tomasz Stanislawski The following changes since commit e9eb0dadba932940f721f9d27544a7818b2fa1c5: [media] V4L menu: add submenu for platform device

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread Daniel Vetter
On Mon, Jan 09, 2012 at 09:06:56PM +0900, InKi Dae wrote: > 2012/1/9 Daniel Vetter : > > On Mon, Jan 09, 2012 at 07:10:25PM +0900, InKi Dae wrote: > >> 2012/1/9 Daniel Vetter : > >> > On Mon, Jan 09, 2012 at 03:20:48PM +0900, InKi Dae wrote: > >> >> I has test dmabuf based drm gem module for exynos

Re: Support for IR on terratec/skystarhd2 mantis cards

2012-01-09 Thread Adrian C.
On Sun, 8 Jan 2012, Adrian C. wrote: > Patch broke linux 3.2 build and needed more minor changes Don't get me wrong, it's not troublesome. Just API changes, new includes... things I don't know changed as I don't track media development. Anyway it was pointed out to me Christoph Pinkl already s

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread Rob Clark
On Mon, Jan 9, 2012 at 4:10 AM, InKi Dae wrote: > note : in case of sharing a buffer between v4l2 and drm driver, the > memory info would be copied vb2_xx_buf to xx_gem or xx_gem to > vb2_xx_buf through sg table. in this case, only memory info is used to > share, not some objects. which v4l2/vb2

Re: media_build failures on 3.0.6 Gentoo

2012-01-09 Thread Fredrik Lingvall
On 01/09/12 00:22, Laurent Pinchart wrote: Hi Fredrik, On Wednesday 21 December 2011 11:50:53 Fredrik Lingvall wrote: Hi, I get this build failure: [snip] LD [M] /usr/src/media_build/v4l/m5mols.o CC [M] /usr/src/media_build/v4l/s5k6aa.o CC [M] /usr/src/media_build/v4l/adp1653.

Re: Bug#655109: linux-2.6: BUG in videobuf-core triggered by mplayer on HVR-1300

2012-01-09 Thread Rik Theys
[Reformatted as plain-text so it will get accepted by the vger.kernel.org list] On Mon, Jan 9, 2012 at 1:14 PM, Rik Theys wrote: > > Hi, > > On Sun, Jan 8, 2012 at 7:36 PM, Ben Hutchings wrote: >> >> > Jan  8 17:12:52 saturn kernel: [ 1623.655341] [ cut here >> > ] >> >

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread InKi Dae
2012/1/9 Daniel Vetter : > On Mon, Jan 09, 2012 at 07:10:25PM +0900, InKi Dae wrote: >> 2012/1/9 Daniel Vetter : >> > On Mon, Jan 09, 2012 at 03:20:48PM +0900, InKi Dae wrote: >> >> I has test dmabuf based drm gem module for exynos and I found one problem. >> >> you can refer to this test repositor

Re: [PATCH] media i.MX27 camera: properly detect frame loss.

2012-01-09 Thread Guennadi Liakhovetski
Hi Javier On Mon, 9 Jan 2012, javier Martin wrote: > Hi Guennadi, > this is the patch I mentioned that fixes sequence count so that it > complies with v4l2 API. > > Will you please merge? Don't worry, I haven't forgotten about it. You rate it as a fix, so, I'll have another look at it and if n

Re: [PATCH] media i.MX27 camera: properly detect frame loss.

2012-01-09 Thread javier Martin
Hi Guennadi, this is the patch I mentioned that fixes sequence count so that it complies with v4l2 API. Will you please merge? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-sili

Re: [RFC] Future TTM DMA direction

2012-01-09 Thread Thomas Hellstrom
On 01/09/2012 11:11 AM, Daniel Vetter wrote: On Mon, Jan 09, 2012 at 10:37:28AM +0100, Thomas Hellstrom wrote: Hi! When TTM was originally written, it was assumed that GPU apertures could address pages directly, and that the CPU could access those pages without explicit synchronization. The

Re: [ANN] IRC meeting on new sensor control interface, 2012-01-09 14:00 GMT+2

2012-01-09 Thread Sakari Ailus
Hi, On Wed, Jan 04, 2012 at 10:56:33AM +0200, Sakari Ailus wrote: > Hi all, > > I'd like to announce that we'll have an IRC meeting on #v4l-meeting channel > on the new sensor control interface. The date is next Monday 2012-01-09 > 14:00 GMT + 2. Most important background information is this; it

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread Daniel Vetter
On Mon, Jan 09, 2012 at 07:10:25PM +0900, InKi Dae wrote: > 2012/1/9 Daniel Vetter : > > On Mon, Jan 09, 2012 at 03:20:48PM +0900, InKi Dae wrote: > >> I has test dmabuf based drm gem module for exynos and I found one problem. > >> you can refer to this test repository: > >> http://git.infradead.or

Re: [PATCH 1/2 v4] media: vb2: support userptr for PFN mappings.

2012-01-09 Thread javier Martin
Hi Marek, On 9 January 2012 11:14, Marek Szyprowski wrote: > Hello, > > On Wednesday, January 04, 2012 5:19 PM Javier Martin wrote: > >> Some video devices need to use contiguous memory >> which is not backed by pages as it happens with >> vmalloc. This patch provides userptr handling for >> thos

RE: [PATCH 1/2 v4] media: vb2: support userptr for PFN mappings.

2012-01-09 Thread Marek Szyprowski
Hello, On Wednesday, January 04, 2012 5:19 PM Javier Martin wrote: > Some video devices need to use contiguous memory > which is not backed by pages as it happens with > vmalloc. This patch provides userptr handling for > those devices. > > --- > Changes since v3: > - Remove vma_res variable. >

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread InKi Dae
2012/1/9 Daniel Vetter : > On Mon, Jan 09, 2012 at 03:20:48PM +0900, InKi Dae wrote: >> I has test dmabuf based drm gem module for exynos and I found one problem. >> you can refer to this test repository: >> http://git.infradead.org/users/kmpark/linux-samsung/shortlog/refs/heads/exynos-drm-dmabuf >

Re: [RFC] Future TTM DMA direction

2012-01-09 Thread Daniel Vetter
On Mon, Jan 09, 2012 at 10:37:28AM +0100, Thomas Hellstrom wrote: > Hi! > > When TTM was originally written, it was assumed that GPU apertures > could address pages directly, and that the CPU could access those > pages without explicit synchronization. The process of binding a > page to a GPU tran

RE: [DVB Digital Devices Cine CT V6] status support

2012-01-09 Thread COEXSI
> -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Martin Herrman > Sent: lundi 9 janvier 2012 09:06 > To: linux-media@vger.kernel.org > Subject: Re: [DVB Digital Devices Cine CT V6] status support > > 2012/1/8 Sébast

Re: [Linaro-mm-sig] [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread Dave Airlie
On Mon, Jan 9, 2012 at 8:10 AM, Daniel Vetter wrote: > On Mon, Jan 09, 2012 at 03:20:48PM +0900, InKi Dae wrote: >> I has test dmabuf based drm gem module for exynos and I found one problem. >> you can refer to this test repository: >> http://git.infradead.org/users/kmpark/linux-samsung/shortlog/r

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread Daniel Vetter
On Mon, Jan 09, 2012 at 03:20:48PM +0900, InKi Dae wrote: > I has test dmabuf based drm gem module for exynos and I found one problem. > you can refer to this test repository: > http://git.infradead.org/users/kmpark/linux-samsung/shortlog/refs/heads/exynos-drm-dmabuf > > at this repository, I adde

Re: [DVB Digital Devices Cine CT V6] status support

2012-01-09 Thread Martin Herrman
2012/1/8 Sébastien RAILLARD (COEXSI) : > >> http://shop.digital- >> devices.de/epages/62357162.sf/en_GB/?ObjectPath=/Shops/62357162/Categori >> es/HDTV_Karten_fuer_Mediacenter/Cine_PCIe_Serie/DVBC_T >> >> But.. is this card supported by the Linux kernel? >> > > The short answer is yes, and as far a