[patch] [media] rc/ir-lirc-codec: cleanup __user tags

2011-10-06 Thread Dan Carpenter
The code here treated user pointers correctly, but the __user tags weren't used correctly so it caused Sparse warnings: drivers/media/rc/ir-lirc-codec.c:122:29: warning: incorrect type in argument 1 (different address spaces) drivers/media/rc/ir-lirc-codec.c:122:29:expected void const

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-06 Thread Hans Verkuil
On Thursday, October 06, 2011 02:32:33 Mauro Carvalho Chehab wrote: Em 05-10-2011 20:14, Sakari Ailus escreveu: Hi Mauro, On Wed, Oct 05, 2011 at 06:41:27PM -0300, Mauro Carvalho Chehab wrote: Em 05-10-2011 17:08, Laurent Pinchart escreveu: [clip] The pad-level API doesn't replace the

Re: omap3-isp status

2011-10-06 Thread Javier Martinez Canillas
On Wed, Oct 5, 2011 at 7:43 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Wed, Oct 5, 2011 at 6:28 PM, Enrico ebut...@users.berlios.de wrote: Hi all, since we are all interested in this driver (and tvp5150) i'll try to make a summary of the current situation and understand

Re: [PATCH] pctv452e: hm.. tidy bogus code up

2011-10-06 Thread André Weidemann
Hi Mauro, On 30.09.2011 22:58, Igor M. Liplianin wrote: Currently, usb_register calls two times with cloned structures, but for different driver names. Let's remove it. It looks like the comments and the patch under http://patchwork.linuxtv.org/patch/8042/ got mixed up. Regards, André --

Re: [RFC PATCH] media_build: two fixes + one unresolved issue

2011-10-06 Thread Hans Verkuil
On Wednesday 05 October 2011 18:26:20 Mauro Carvalho Chehab wrote: Em 05-10-2011 10:45, Hans Verkuil escreveu: I'll see if I can make a patch for this. Ok, thanks! Mauro, can you test this patch? It should translate 2.4x naming convention to 3.x. Regards, Hans diff --git

Re: [PATCH] pctv452e: hm.. tidy bogus code up

2011-10-06 Thread Igor M. Liplianin
В сообщении от 6 октября 2011 11:35:51 автор André Weidemann написал: Hi Mauro, On 30.09.2011 22:58, Igor M. Liplianin wrote: Currently, usb_register calls two times with cloned structures, but for different driver names. Let's remove it. It looks like the comments and the patch under

Re: [RFC PATCH] media_build: two fixes + one unresolved issue

2011-10-06 Thread Mauro Carvalho Chehab
Em 06-10-2011 05:43, Hans Verkuil escreveu: On Wednesday 05 October 2011 18:26:20 Mauro Carvalho Chehab wrote: Em 05-10-2011 10:45, Hans Verkuil escreveu: I'll see if I can make a patch for this. Ok, thanks! Mauro, can you test this patch? It should translate 2.4x naming convention to

Re: [RFC PATCH] media_build: two fixes + one unresolved issue

2011-10-06 Thread Hans Verkuil
On Thursday 06 October 2011 12:50:30 Mauro Carvalho Chehab wrote: Em 06-10-2011 05:43, Hans Verkuil escreveu: On Wednesday 05 October 2011 18:26:20 Mauro Carvalho Chehab wrote: Em 05-10-2011 10:45, Hans Verkuil escreveu: I'll see if I can make a patch for this. Ok, thanks! Mauro,

libv4l2 misbehavior after calling S_STD or S_DV_PRESET

2011-10-06 Thread Hans Verkuil
Hi Hans! I've been looking into a problem with libv4l2 that occurs when you change TV standard or video preset using VIDIOC_S_STD or VIDIOC_S_DV_PRESET. These calls will change the format implicitly (e.g. if the current format is set for PAL at 720x576 and you select NTSC, then the format will

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-06 Thread Mauro Carvalho Chehab
Em 06-10-2011 04:23, Hans Verkuil escreveu: On Thursday, October 06, 2011 09:09:26 Hans Verkuil wrote: On Thursday, October 06, 2011 02:32:33 Mauro Carvalho Chehab wrote: Em 05-10-2011 20:14, Sakari Ailus escreveu: Hi Mauro, On Wed, Oct 05, 2011 at 06:41:27PM -0300, Mauro Carvalho Chehab

Re: [RFC PATCH] media_build: two fixes + one unresolved issue

2011-10-06 Thread Mauro Carvalho Chehab
The idea was good, but the patch didn't work ;) Fixed it. It is now properly recognizing the version 2.40 as 3.0.0 on both scripts. See enclosed. I didn't apply it yet. Yeah, it's 2.6.40 to 3.0 instead of 2.40 to 3.0. It's amazing how quickly you forget :-) Yes :) Btw, I just applied

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-06 Thread Laurent Pinchart
Hi Mauro, On Thursday 06 October 2011 03:41:50 Mauro Carvalho Chehab wrote: Em 05-10-2011 20:41, Sakari Ailus escreveu: On Mon, Oct 03, 2011 at 04:36:44PM -0300, Mauro Carvalho Chehab wrote: Em 03-10-2011 16:01, Sakari Ailus escreveu: It's the same old issues again... let's discuss this

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-06 Thread Hans Verkuil
On Thursday 06 October 2011 13:51:15 Mauro Carvalho Chehab wrote: Em 06-10-2011 04:23, Hans Verkuil escreveu: On Thursday, October 06, 2011 09:09:26 Hans Verkuil wrote: On Thursday, October 06, 2011 02:32:33 Mauro Carvalho Chehab wrote: Also, I couldn't see a consense about input selection

[RFC] Merge v4l-utils. dvb-apps and mediactl to media-utils.git

2011-10-06 Thread Hans Verkuil
Currently we have three repositories containing libraries and utilities that are relevant to the media drivers: dvb-apps (http://linuxtv.org/hg/dvb-apps/) v4l-utils (http://git.linuxtv.org/v4l-utils.git) media-ctl (git://git.ideasonboard.org/media-ctl.git) It makes no sense to me to have three

Re: Cypress EZ-USB FX2 firmware development

2011-10-06 Thread Johannes Stezenbach
On Tue, Oct 04, 2011 at 11:29:01PM +0200, Johannes Stezenbach wrote: On Tue, Oct 04, 2011 at 10:43:59PM +0300, Antti Palosaari wrote: I would like to made own firmware for Cypress FX2 based DVB device. Is there any sample to look example?

Re: Cypress EZ-USB FX2 firmware development

2011-10-06 Thread Antti Palosaari
On 10/06/2011 03:47 PM, Johannes Stezenbach wrote: On Tue, Oct 04, 2011 at 11:29:01PM +0200, Johannes Stezenbach wrote: On Tue, Oct 04, 2011 at 10:43:59PM +0300, Antti Palosaari wrote: I would like to made own firmware for Cypress FX2 based DVB device. Is there any sample to look example?

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-06 Thread Mauro Carvalho Chehab
Em 06-10-2011 09:06, Hans Verkuil escreveu: On Thursday 06 October 2011 13:51:15 Mauro Carvalho Chehab wrote: Em 06-10-2011 04:23, Hans Verkuil escreveu: On Thursday, October 06, 2011 09:09:26 Hans Verkuil wrote: On Thursday, October 06, 2011 02:32:33 Mauro Carvalho Chehab wrote: Also, I

Re: Media_build Issue with altera on cx23885

2011-10-06 Thread Igor M. Liplianin
В сообщении от 5 октября 2011 23:04:34 автор Evan Platt написал: V4L-DVB was previously working correctly for me. I was experiencing some problems which had been solved before by recompiling v4l. So I cloned the latest media_build tree and ran the build process. Afterward, the driver does

Re: [RFC] Merge v4l-utils. dvb-apps and mediactl to media-utils.git

2011-10-06 Thread Mauro Carvalho Chehab
Em 06-10-2011 09:23, Hans Verkuil escreveu: Currently we have three repositories containing libraries and utilities that are relevant to the media drivers: dvb-apps (http://linuxtv.org/hg/dvb-apps/) v4l-utils (http://git.linuxtv.org/v4l-utils.git) media-ctl

[GIT PULL for v3.2] OMAP3 ISP fixes

2011-10-06 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 2f4cf2c3a971c4d5154def8ef9ce4811d702852d: [media] dib9000: release a lock on error (2011-09-30 13:32:56 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap3isp-omap3isp-next Guennadi Liakhovetski (1):

Re: [PATCH 3/3] [media] tvp5150: Migrate to media-controller framework and add video format detection

2011-10-06 Thread Sylwester Nawrocki
On 10/06/2011 02:06 PM, Hans Verkuil wrote: On Thursday 06 October 2011 13:51:15 Mauro Carvalho Chehab wrote: Em 06-10-2011 04:23, Hans Verkuil escreveu: On Thursday, October 06, 2011 09:09:26 Hans Verkuil wrote: On Thursday, October 06, 2011 02:32:33 Mauro Carvalho Chehab wrote: Also, I

[PATCH 2/9] mm: alloc_contig_freed_pages() added

2011-10-06 Thread Marek Szyprowski
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com This commit introduces alloc_contig_freed_pages() function which allocates (ie. removes from buddy system) free pages in range. Caller has to guarantee that all pages in range are in buddy system. Along with this function, a

[PATCH 7/7] ARM: integrate CMA with DMA-mapping subsystem

2011-10-06 Thread Marek Szyprowski
This patch adds support for CMA to dma-mapping subsystem for ARM architecture. By default a global CMA area is used, but specific devices are allowed to have their private memory areas if required (they can be created with dma_declare_contiguous() function during board initialization). Contiguous

[PATCH 6/9] drivers: add Contiguous Memory Allocator

2011-10-06 Thread Marek Szyprowski
The Contiguous Memory Allocator is a set of helper functions for DMA mapping framework that improves allocations of contiguous memory chunks. CMA grabs memory on system boot, marks it with CMA_MIGRATE_TYPE and gives back to the system. Kernel is allowed to allocate movable pages within CMA's

[PATCH 7/9] X86: integrate CMA with DMA-mapping subsystem

2011-10-06 Thread Marek Szyprowski
This patch adds support for CMA to dma-mapping subsystem for x86 architecture that uses common pci-dma/pci-nommu implementation. This allows to test CMA on KVM/QEMU and a lot of common x86 boxes. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 3/9] mm: alloc_contig_range() added

2011-10-06 Thread Marek Szyprowski
From: Michal Nazarewicz m.nazarew...@samsung.com This commit adds the alloc_contig_range() function which tries to allocate given range of pages. It tries to migrate all already allocated pages that fall in the range thus freeing them. Once all pages in the range are freed they are removed from

[PATCH 1/9] mm: move some functions from memory_hotplug.c to page_isolation.c

2011-10-06 Thread Marek Szyprowski
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com Memory hotplug is a logic for making pages unused in the specified range of pfn. So, some of core logics can be used for other purpose as allocating a very large contigous memory block. This patch moves some functions from

[PATCH 8/9] ARM: integrate CMA with DMA-mapping subsystem

2011-10-06 Thread Marek Szyprowski
This patch adds support for CMA to dma-mapping subsystem for ARM architecture. By default a global CMA area is used, but specific devices are allowed to have their private memory areas if required (they can be created with dma_declare_contiguous() function during board initialization). Contiguous

[PATCHv16 0/9] Contiguous Memory Allocator

2011-10-06 Thread Marek Szyprowski
Welcome everyone again, Once again I decided to post an updated version of the Contiguous Memory Allocator patches. This version provides mainly a bugfix for a very rare issue that might have changed migration type of the CMA page blocks resulting in dropping CMA features from the affected page

[PATCH 9/9] ARM: Samsung: use CMA for 2 memory banks for s5p-mfc device

2011-10-06 Thread Marek Szyprowski
Replace custom memory bank initialization using memblock_reserve and dma_declare_coherent with a single call to CMA's dma_declare_contiguous. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-s5p/dev-mfc.c | 51

[PATCH 4/9] mm: MIGRATE_CMA migration type added

2011-10-06 Thread Marek Szyprowski
From: Michal Nazarewicz m.nazarew...@samsung.com The MIGRATE_CMA migration type has two main characteristics: (i) only movable pages can be allocated from MIGRATE_CMA pageblocks and (ii) page allocator will never change migration type of MIGRATE_CMA pageblocks. This guarantees that page in a

[PATCH 5/9] mm: MIGRATE_CMA isolation functions added

2011-10-06 Thread Marek Szyprowski
From: Michal Nazarewicz m.nazarew...@samsung.com This commit changes various functions that change pages and pageblocks migrate type between MIGRATE_ISOLATE and MIGRATE_MOVABLE in such a way as to allow to work with MIGRATE_CMA migrate type. Signed-off-by: Michal Nazarewicz

Re: omap3-isp status

2011-10-06 Thread Gary Thomas
On 2011-10-06 01:51, Javier Martinez Canillas wrote: On Wed, Oct 5, 2011 at 7:43 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Wed, Oct 5, 2011 at 6:28 PM, Enricoebut...@users.berlios.de wrote: Hi all, since we are all interested in this driver (and tvp5150) i'll try to

RE: [PATCH 7/7] ARM: integrate CMA with DMA-mapping subsystem

2011-10-06 Thread Marek Szyprowski
Hello, On Thursday, October 06, 2011 3:55 PM Marek Szyprowski wrote: This patch adds support for CMA to dma-mapping subsystem for ARM architecture. By default a global CMA area is used, but specific devices are allowed to have their private memory areas if required (they can be created with

Re: Media_build Issue with altera on cx23885

2011-10-06 Thread Evan Platt
Thank you for the patch! I see the drivers/misc path wasn't yet added to the Makefile. The build process completed and the driver loads correctly as far as I can tell. The frontend is still failing to initialize, but at least I have a new problem to chase. Thanks again! Evan On Thu, Oct 6,

[PATCH v2] v4l: add G2D driver for s5p device family

2011-10-06 Thread Kamil Debski
G2D is a 2D graphics accelerator engine present in the s5p family of Samsung SoCs. It is capable of bitblt and raster operations on images having dimensions of up to 8000x8000. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Hello, This

[PATCH] v4l: s5p-mfc: fix reported capabilities

2011-10-06 Thread Kamil Debski
MFC uses the multi-plane API, but it reported single-plane when querying capabilities. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Hi, This patch fixes capabilites reported by the MFC driver. It uses the multi-plane API instead of

Re: omap3-isp status

2011-10-06 Thread Javier Martinez Canillas
On Thu, Oct 6, 2011 at 4:29 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Thu, Oct 6, 2011 at 4:00 PM, Gary Thomas g...@mlbassoc.com wrote: On 2011-10-06 01:51, Javier Martinez Canillas wrote: On Wed, Oct 5, 2011 at 7:43 PM, Javier Martinez Canillas

[GIT PULL] More Samsung patches for v3.2

2011-10-06 Thread Marek Szyprowski
Hello Mauro, The following changes since commit 2f4cf2c3a971c4d5154def8ef9ce4811d702852d: [media] dib9000: release a lock on error (2011-09-30 13:32:56 -0300) are available in the git repository at: git://git.infradead.org/users/kmpark/linux-2.6-samsung for_mauro Kamil Debski (2):

Re: omap3-isp status

2011-10-06 Thread Enrico
On Thu, Oct 6, 2011 at 9:51 AM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: Since the patches are not against mainline I can't post for reviewing but can be found in one of our development trees [1]. Comments are highly appreciated. The tree is a 2.6.37 that already contain

Re: omap3-isp status

2011-10-06 Thread Gary Thomas
On 2011-10-06 08:50, Javier Martinez Canillas wrote: On Thu, Oct 6, 2011 at 4:29 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Thu, Oct 6, 2011 at 4:00 PM, Gary Thomasg...@mlbassoc.com wrote: On 2011-10-06 01:51, Javier Martinez Canillas wrote: On Wed, Oct 5, 2011 at

Re: omap3-isp status

2011-10-06 Thread Javier Martinez Canillas
On Thu, Oct 6, 2011 at 5:25 PM, Enrico ebut...@users.berlios.de wrote: On Thu, Oct 6, 2011 at 9:51 AM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: Since the patches are not against mainline I can't post for reviewing but can be found in one of our development trees [1]. Comments

Re: omap3-isp status

2011-10-06 Thread Javier Martinez Canillas
On Thu, Oct 6, 2011 at 5:47 PM, Gary Thomas g...@mlbassoc.com wrote: On 2011-10-06 08:50, Javier Martinez Canillas wrote: On Thu, Oct 6, 2011 at 4:29 PM, Javier Martinez Canillas martinez.jav...@gmail.com  wrote: On Thu, Oct 6, 2011 at 4:00 PM, Gary Thomasg...@mlbassoc.com  wrote: On

Re: [RFC] Merge v4l-utils. dvb-apps and mediactl to media-utils.git

2011-10-06 Thread Mauro Carvalho Chehab
Em 06-10-2011 10:27, Mauro Carvalho Chehab escreveu: Em 06-10-2011 09:23, Hans Verkuil escreveu: Currently we have three repositories containing libraries and utilities that are relevant to the media drivers: dvb-apps (http://linuxtv.org/hg/dvb-apps/) v4l-utils

cron job: media_tree daily build: WARNINGS

2011-10-06 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:Thu Oct 6 19:00:16 CEST 2011 git hash:2f4cf2c3a971c4d5154def8ef9ce4811d702852d gcc version: i686-linux-gcc

Arch Linux package names for media-build

2011-10-06 Thread Michal Donat
Hi, see the console output below. The mentioned packages in Arch Linux are: Digest::SHA1: repository/package = extra/perl-digest-sha1 Proc::ProcessTable: repository/package = aur/perl-proc-processtable Also there was missing lsdiff: repository/package = community/patchutils /tmp/src $ git

Re: [PATCH v2] stb0899: Fix slow and not locking DVB-S transponder(s)

2011-10-06 Thread Manu Abraham
Mauro, comments in-line. On Sat, Oct 1, 2011 at 12:28 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 30-09-2011 15:41, Lutz Sammer escreveu: On 09/30/11 19:07, Mauro Carvalho Chehab wrote: Em 29-09-2011 18:22, Lutz Sammer escreveu: Another version of

DVB CAM did not respond :(

2011-10-06 Thread Roger Martensson
Hello! I'm posting this in hope that someone with knowledge can respond with something that can help me. Mr google hasn't helped me that much. I bought myself a DVB-C with a CI interface in which I put a Conax CAM. The card is functioning since I can watch the not encrypted channels with

Re: Arch Linux package names for media-build

2011-10-06 Thread Mauro Carvalho Chehab
Em 06-10-2011 15:12, Michal Donat escreveu: Hi, see the console output below. The mentioned packages in Arch Linux are: Digest::SHA1: repository/package = extra/perl-digest-sha1 Proc::ProcessTable: repository/package = aur/perl-proc-processtable Also there was missing lsdiff: repository/package

Re: [PATCH v2 2/2] v4l: Add v4l2 subdev driver for S5K6AAFX sensor

2011-10-06 Thread Sylwester Nawrocki
Moikka Sakari, On 10/02/2011 09:20 AM, Sakari Ailus wrote: On Sat, Oct 01, 2011 at 11:17:27AM +0200, Sylwester Nawrocki wrote: Hi Sakari, I'm sorry, I've been a little bit busy in the week to get back to this. Hi Sylwester, No worries! On 09/27/2011 10:55 PM, Sakari Ailus wrote:

Re: [GIT PATCHES FOR 3.2] S5K6AAFX sensor driver and a videobuf2 update

2011-10-06 Thread Sylwester Nawrocki
Hi Sakari, On 10/02/2011 09:36 AM, Sakari Ailus wrote: On Sat, Oct 01, 2011 at 11:44:05AM +0200, Sylwester Nawrocki wrote: On 09/30/2011 11:16 PM, Sakari Ailus wrote: On Fri, Sep 30, 2011 at 06:10:47PM +0200, Sylwester Nawrocki wrote: Hi Mauro, please pull from

Re: [PATCH] af9013 frontend tuner bus lock

2011-10-06 Thread dave cunningham
In message cal9g6wxx2egmot+ozv1f0jqdsv5jpwbb0vn70ul+ghgklgs...@mail.gmail.com, Josu Lazkano wrote snip I get this I2C messages: # tail -f /var/log/messages Oct 5 20:16:44 htpc kernel: [ 534.168957] af9013: I2C read failed reg:d330 Oct 5 20:16:49 htpc kernel: [ 538.626152] af9013: I2C

Re: [PATCH] af9013 frontend tuner bus lock

2011-10-06 Thread Malcolm Priestley
On Thu, 2011-10-06 at 01:12 +0200, Josu Lazkano wrote: 2011/10/6 Jason Hecker jwhec...@gmail.com: http://palosaari.fi/linux/v4l-dvb/firmware/af9015/5.1.0.0/dvb-usb-af9015.fw 5.1? OK, I might eventually try that one too. Oct 5 21:40:46 htpc kernel: [ 5576.241897] af9013: I2C read

RE: TT-budget S2-3200 cannot tune on HB13E DVBS2 transponder

2011-10-06 Thread COEXSI
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Manu Abraham Sent: mercredi 21 septembre 2011 19:53 To: Mauro Carvalho Chehab Cc: Lutz Sammer; linux-media@vger.kernel.org Subject: Re: TT-budget S2-3200 cannot tune

Re: [PATCH v2 2/2] v4l: Add v4l2 subdev driver for S5K6AAFX sensor

2011-10-06 Thread Sakari Ailus
On Thu, Oct 06, 2011 at 10:00:50PM +0200, Sylwester Nawrocki wrote: Moikka Sakari, Hi, Sylwester! On 10/02/2011 09:20 AM, Sakari Ailus wrote: On Sat, Oct 01, 2011 at 11:17:27AM +0200, Sylwester Nawrocki wrote: [clip] That's fine because it's implemented by the sensor already. My point is

Re: [PATCH] af9013 frontend tuner bus lock

2011-10-06 Thread Josu Lazkano
2011/10/6 dave cunningham m...@upsilon.org.uk: In message cal9g6wxx2egmot+ozv1f0jqdsv5jpwbb0vn70ul+ghgklgs...@mail.gmail.com, Josu Lazkano wrote snip I get this I2C messages: # tail -f /var/log/messages Oct  5 20:16:44 htpc kernel: [  534.168957] af9013: I2C read failed reg:d330 Oct  5

Signal strength threshold for hardware seek

2011-10-06 Thread Maarten ter Huurne
Hi, I'm writing a V4L2 driver for the RDA5807 FM receiver chip. This chip has hardware seek capability where it will search for a frequency on which the signal level is above a configurable threshold. I am wondering what would be the best way to configure that threshold in the driver: a. Use