add vpif capture and display driver support for
da850/omap-l138 by taking care of the interrupt
behavior changes, removing platform specific
connotations. while doing so fix a bug and add a few
feature enhancements for power mangement , clipping and
correct contiguous memory allocation strategy.
As the same interrupt is shared between capture and display devices,
sometimes we get isr calls where the interrupt might not genuinely belong
to capture or display. Hence, add a condition in the isr to check for
interrupt ownership and channel number to make sure we do not
service wrong
fix setting of data width in config_vpif_params() function,
which was wrongly set.
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
---
drivers/media/video/davinci/vpif.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/davinci/vpif.c
change the dm646x specific strings in the driver to make
them generic across platforms. In this case change all the
strings which have a dm646x connotation to vpif which is a
platform independent ip.
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
---
drivers/media/video/davinci/vpif.c
omap-l138 shares the interrupt between capture and display.
Make sure we are able to request for the same irq number
by making a shared irq request.
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
---
drivers/media/video/davinci/vpif_capture.c |2 +-
add support to declare contiguous region of memory to be handled
when requested by dma_alloc_coherent call. The user can specify
the size of the buffers with an offset from the kernel image
using cont_bufsize and cont_bufoffset module parameters respectively.
Signed-off-by: Manjunath Hadli
add support to declare contiguous region of memory to be handled
when requested by dma_alloc_coherent when it's asked for coherent
memory for this device. The user can specify the size of the buffers
with an offset from the kernel image using cont_bufsize and
cont_bufoffset module parameters
add hardware clipping support for VPIF output data. This
is needed as it is possible that the external encoder
might get confused between the FF or 00 which are a part
of the data and that of the SAV or EAV codes.
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
---
Implement power management operations - suspend and resume as part of
dev_pm_ops for VPIF capture driver.
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
---
drivers/media/video/davinci/vpif_capture.c | 77 +++
1 files changed, 65 insertions(+), 12 deletions(-)
The auto selection of pertinent helper chips (VIDEO_HELPER_CHIPS_AUTO)
should select the ADV7343 and THS7303 driver, which is used by VPIF
display driver.
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
---
drivers/media/video/davinci/Kconfig |4 ++--
1 files changed, 2 insertions(+),
add generic build configuration for vpif capture
and display drivers as it is common for DM6467/DA850/OMAP-L138.
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
---
drivers/media/video/davinci/Kconfig | 22 +-
drivers/media/video/davinci/Makefile |8
2
add clock enable and disable in probe and remove functions.
Probe will succeed only if the device clock is provided instead of
assuming that the clock is always enabled. VPIF clock has to be
dealt with during suspend and resume. Implement power management
callbacks to VPIF driver to disable/enable
add support to use videobuf_iolock() instead of VPIF
defined vpif_uservirt_to_phys API. Use videobuf_to_dma_contig
API for both memory-mapped and userptr buffer allocations.
Correspondingly removed vpif_uservirt_to_phys() VPIF defined API.
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
---
On Thu, Apr 12, 2012 at 15:17:58, Alan Cox wrote:
I will have a look at this and add the lock if necessary.
At the very least you need reference counts held on the tty struct and to
allow for the tty having vanished under you.
I am planning to add tty-termios_mutex lock.
Hi Manjunath,
Thanks for the patch.
On Tuesday 17 April 2012 14:23:05 Manjunath Hadli wrote:
add support to use videobuf_iolock() instead of VPIF
defined vpif_uservirt_to_phys API. Use videobuf_to_dma_contig
API for both memory-mapped and userptr buffer allocations.
Correspondingly removed
Hi Manjunath,
Thanks for the patch.
On Tuesday 17 April 2012 14:23:03 Manjunath Hadli wrote:
add support to declare contiguous region of memory to be handled
when requested by dma_alloc_coherent call. The user can specify
the size of the buffers with an offset from the kernel image
using
Hi Manjunath,
Thanks for the patch.
On Tuesday 17 April 2012 14:22:59 Manjunath Hadli wrote:
As the same interrupt is shared between capture and display devices,
sometimes we get isr calls where the interrupt might not genuinely belong
to capture or display. Hence, add a condition in the isr
Hi Akinobu,
On 4/11/2012 5:06 PM, Akinobu Mita wrote:
Use for_each_set_bit_from to iterate over all the set bit in a memory
region.
Signed-off-by: Akinobu Mita akinobu.m...@gmail.com
Acked-by: Sekhar Nori nsek...@ti.com
Cc: Sekhar Nori nsek...@ti.com
Cc: Christian Riesch
From: Christian Riesch christian.rie...@omicron.at
Date: Mon, 16 Apr 2012 16:35:25 +0200
Under heavy load (flood ping) it is possible for the MDIO timeout to
expire before the loop checks the GO bit again. This patch adds an
additional check whether the operation was done before actually
19 matches
Mail list logo