Hans Verkuil wrote:
>On Thu February 7 2013 22:58:53 Andy Walls wrote:
>> Hans Verkuil wrote:
>>
>> >Andy,
>> >
>> >Please review this patch. This fix probably should be fast-tracked
>to
>> >3.8 and
>> >queued for stable 3.7.
>> >
>> >ivtv-alsa kept crashing my machine every time I loaded it, a
On Thu February 7 2013 22:58:53 Andy Walls wrote:
> Hans Verkuil wrote:
>
> >Andy,
> >
> >Please review this patch. This fix probably should be fast-tracked to
> >3.8 and
> >queued for stable 3.7.
> >
> >ivtv-alsa kept crashing my machine every time I loaded it, and this is
> >the
> >cause.
> >
>
On Wed, Feb 6, 2013 at 8:32 AM, Hans Verkuil wrote:
>
> I've improved v4l2-compliance a bit, but I've also pushed a fix (I hope) to
> my git branch.
>
> It's great if you can test this!
>
$ v4l2-compliance -d /dev/video0
Driver Info:
Driver name : stk
Card type : stk
Ensure the driver gets always at least its minimum required
number of buffers allocated by checking actual number of
allocated buffers in vb2_reqbufs(). And free any partially
allocated buffer queue with signaling an error to user space.
Without this patch applications may wait forever to dequeue
On 02/07/2013 12:53 AM, Sylwester Nawrocki wrote:
root@mini2440:~ echo 100 > /sys/module/videobuf2_core/parameters/debug
root@mini2440:~ gst-launch -v v4l2src device=/dev/video0 queue-size=2
! video/x-raw-yuv,format='(fourcc)'YV12 ! ffmpegcolorspace ! fbdevsink
root@mini2440:~ dmesg -c
[ 1907.1
Hans Verkuil wrote:
>Andy,
>
>Please review this patch. This fix probably should be fast-tracked to
>3.8 and
>queued for stable 3.7.
>
>ivtv-alsa kept crashing my machine every time I loaded it, and this is
>the
>cause.
>
>Regards,
>
> Hans
>
>This function is called after initialization, s
The embedded UART is apparently used to receive decoded IR (RC5?) codes.
Forward these scan codes to the RC framework and (where known) add
corresponding mapping tables to translate them into regular keys.
This patch has been tested on a TechniSat CableStar HD2. Other rc-maps
were taken from Chris
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 Feb 7 19:00:18 CET 2013
git branch: for_v3.9
git hash: 248ac368ce4b3cd36515122d888403909d7a2500
gcc ve
Avoids registering a VBI device and streaming in VBI-mode if the device is a
camera.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-core.c |5 +
1 Datei geändert, 5 Zeilen hinzugefügt(+)
diff --git a/drivers/media/usb/em28xx/em28xx-core.c
b/dri
VIDIOC_DBG_G_CHIP_IDENT is a "normal" and not an "advanced" debug functionality.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-video.c | 27 +--
1 Datei geändert, 13 Zeilen hinzugefügt(+), 14 Zeilen entfernt(-)
diff --git a/dr
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-video.c |1 +
1 Datei geändert, 1 Zeile hinzugefügt(+)
diff --git a/drivers/media/usb/em28xx/em28xx-video.c
b/drivers/media/usb/em28xx/em28xx-video.c
index 2020faa..5e360e0 100644
--- a/drivers/media/us
The tuner type is set by the v4l2-core based on the device type.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-video.c |1 -
1 Datei geändert, 1 Zeile entfernt(-)
diff --git a/drivers/media/usb/em28xx/em28xx-video.c
b/drivers/media/usb/em28xx/em28
v4l2_device_disconnect() is called when the device is disconnected, so that the
v4l2-core rejects all ioctl calls.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-video.c | 43 ---
1 Datei geändert, 43 Zeilen entfernt(-)
dif
vidioc_s_fmt_vbi_cap() is a 100% duplicate of vidioc_g_fmt_vbi_cap() and
therefore can be removed.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-video.c | 31 +--
1 Datei geändert, 1 Zeile hinzugefügt(+), 30 Zeilen entfernt
The em28xx driver doesn't support the VIDIOC_G_CROP and VIDIOC_S_CROP ioctls,
so VIDIOC_CROPCAP is useless and has the potential to confuse applications,
because it can be interpreted as indicator for cropping support.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em
With the current code V4L2_BUF_TYPE_VIDEO_CAPTURE is accepted only, but for VBI
devices only buffer type V4L2_BUF_TYPE_VBI_CAPTURE is used/valid.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-video.c |6 --
1 Datei geändert, 6 Zeilen entfernt(-)
VIDIOC_S_PARM doesn't make sense for VBI device nodes, because we don't support
selecting the number of read buffers to use.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-video.c |1 +
1 Datei geändert, 1 Zeile hinzugefügt(+)
diff --git a/drivers/m
Instead of checking the device type and returning -ENOTTY inside the ioctl
function, use v4l2_disable_ioctl() to disable the ioctl VIDIOC_S_PARM if the
device is not a camera.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-video.c |5 ++---
1 Datei g
Disable the ioctls VIDIOC_G_TUNER, VIDIOC_S_TUNER, VIDIOC_G_FREQUENCY and
VIDIOC_S_FREQUENCY for video and VBI devices without tuner.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-video.c | 14 ++
1 Datei geändert, 14 Zeilen hinzugefügt(+)
Instead of checking the device type and returning -EINVAL inside the ioctl
functions, use v4l2_disable_ioctl() to disable the ioctls VIDIOC_G_AUDIO and
VIDIOC_S_AUDIO if the device doesn't support audio.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-vid
Instead of checking the device type and returning -ENOTTY inside the ioctl
functions, use v4l2_disable_ioctl() to disable the ioctls VIDIOC_QUERYSTD,
VIDIOC_G_STD and VIDIOC_S_STD if the device is a camera.
Signed-off-by: Frank Schäfer
Acked-by: Hans Verkuil
---
drivers/media/usb/em28xx/em28xx-
This patch series addresses some issues with the ioctl code of the em28xx
driver:
Patches 1-5 and 11+12 fix and clean up the enabling/disabling of the ioctls
depending on the device type and equipment.
Patches 6-10 remove some obsolete/useless code.
Patch 13 improves the VBI support detection and
From: Guennadi Liakhovetski
Add a V4L2 OF parser, implementing bindings documented in
Documentation/devicetree/bindings/media/video-interfaces.txt.
Signed-off-by: Guennadi Liakhovetski
[s.nawro...@samsung.com: various corrections and improvements
since the initial version]
Signed-off-by: Sylwes
With the conversion to videobuf2, some unnecessary calls of
em28xx_set_alternate() have been removed. It is now called at analog streaming
start only.
This has unveiled a bug that causes USB bulk transfers to fail with all urbs
having status -EVOERFLOW.
The reason is, that for bulk transfers usb_se
Hi Laurent,
2013/2/7 Laurent Pinchart :
> Hi Adriano,
>
> On Wednesday 06 February 2013 11:26:43 Adriano Martins wrote:
>> Hi,
>>
>> I have 2 boards with DM3730 processor, a beagleboard and a custom board.
>> The omap3isp is working in both boards, any error is seen. On beagleboard I
>> can see t
Hi Antonio,
On Wednesday 06 February 2013 23:33:47 Antonio Ospite wrote:
> On Wed, 30 Jan 2013 01:23:48 +0100 Laurent Pinchart wrote:
> > On Monday 28 January 2013 13:22:10 Antonio Ospite wrote:
> > > Hi,
> > >
> > > looking at the MIPI Alliance Specification for Camera Serial Interface
> > > 2 (
Andy,
Please review this patch. This fix probably should be fast-tracked to 3.8 and
queued for stable 3.7.
ivtv-alsa kept crashing my machine every time I loaded it, and this is the
cause.
Regards,
Hans
This function is called after initialization, so it should never be marked
__init!
Assign the maximum instead of masking with the maximum on value overflow.
Signed-off-by: Michael Buesch
---
Index: linux/drivers/media/tuners/fc0011.c
===
--- linux.orig/drivers/media/tuners/fc0011.c2012-10-22 16:11:27.63418335
Return early, if we already tuned to a frequency.
Signed-off-by: Michael Buesch
---
Index: linux/drivers/media/tuners/fc0011.c
===
--- linux.orig/drivers/media/tuners/fc0011.c2013-01-01 23:25:40.0
+0100
+++ linux/drive
Fix the xin value clamping and use clamp_t().
Signed-off-by: Michael Buesch
---
Index: linux/drivers/media/tuners/fc0011.c
===
--- linux.orig/drivers/media/tuners/fc0011.c2012-10-22 16:13:29.140465225
+0200
+++ linux/drivers/m
Add some sanity checks to the calculations and make the REG_16 register write
consistent
with the other ones.
Signed-off-by: Michael Buesch
---
Index: linux/drivers/media/tuners/fc0011.c
===
--- linux.orig/drivers/media/tuners/fc0
Hi Adriano,
On Wednesday 06 February 2013 11:26:43 Adriano Martins wrote:
> Hi,
>
> I have 2 boards with DM3730 processor, a beagleboard and a custom board.
> The omap3isp is working in both boards, any error is seen. On beagleboard I
> can see the xclka, then the sensor is detected and the dri
From: Manjunath Hadli
A lot of SOCs including Texas Instruments Davinci family mainly use
video decoders as input devices. This patch adds a flag
'MEDIA_ENT_T_V4L2_SUBDEV_DECODER' media entity type for decoder's.
Along side updates the documentation for this media entity type.
Signed-off-by: Man
This stresses the lockdep code in some ways specifically useful to
reservations. It adds checks for most of the common locking errors.
Since the lockdep tests were originally written to stress the
reservation code, I duplicated some of the definitions into
lib/locking-selftest.c for now.
This wil
This will allow me to call functions that have multiple arguments if fastpath
fails.
This is required to support ticket mutexes, because they need to be able to
pass an
extra argument to the fail function.
Originally I duplicated the functions, by adding
__mutex_fastpath_lock_retval_arg.
This e
GPU's do operations that commonly involve many buffers. Those buffers
can be shared across contexts/processes, exist in different memory
domains (for example VRAM vs system memory), and so on. And with
PRIME / dmabuf, they can even be shared across devices. So there are
a handful of situations w
Hi Hans,
On Thu, Feb 7, 2013 at 10:08 AM, Hans Verkuil wrote:
> On Tue January 29 2013 17:41:29 Devin Heitmueller wrote:
>> On Tue, Jan 29, 2013 at 11:32 AM, Hans Verkuil wrote:
>> > I will take a closer look at the vbi support, though.. It would be nice to
>> > get
>> > that working.
>>
>> FYI
On Tue January 29 2013 17:41:29 Devin Heitmueller wrote:
> On Tue, Jan 29, 2013 at 11:32 AM, Hans Verkuil wrote:
> > I will take a closer look at the vbi support, though.. It would be nice to
> > get
> > that working.
>
> FYI: I had the VBI support working when I submitted the driver
> upstream
On Thu, Feb 7, 2013 at 1:09 PM, Rahul Sharma wrote:
> It exposes generic interface from drm_edid.c to get the edid data and length
> by any display entity. Once I get clear idea about edid handling in CDF, I
> need
> to revert these temporary changes.
Just a quick reply about edid reading: One o
Hi,
On Thu, Jan 31, 2013 at 2:46 PM, Michael Krufky wrote:
> Hey guys... somehow this email slipped through my filters :-( I see
> it now, and I'll give a look over the patch this weekend.
I suspect the merge window opens soon, so... *poke* ;)
Any chance for 3.9?
Thanks,
Andre
--
To unsubscrib
Remove two maintainers: telegent.com no longer exists, so those email
addresses are invalid as well.
Added myself as co-maintainer and change the status to 'Odd Fixes'.
Changes since v1: Added myself as co-maintainer and change the status to
'Odd Fixes'.
Huang: can you Ack this? Once patches 01/
Hi Sylwester,
On Thu, Feb 7, 2013 at 5:18 PM, Sylwester Nawrocki
wrote:
> Hi Prabhakar,
>
> On 01/28/2013 12:50 PM, Prabhakar Lad wrote:
>> diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
>> index 0ef8833..dac06d7 100644
>> --- a/include/uapi/linux/media.h
>> +++ b/include/ua
Set the correct parent for v4l2_device_register and don't set the name
anymore (that's now deduced from the parent). Also remove an unnecessary
forward reference and fix two weird looking log messages.
Changes since v1: don't set v4l2_dev.name anymore as per Huang's suggestion.
Huang: can you Ack
Hi Laurent,
On Wed, Feb 06, 2013 at 10:41:16AM +0100, Laurent Pinchart wrote:
> On Wednesday 06 February 2013 07:16:04 Mauro Carvalho Chehab wrote:
> > Em Wed, 6 Feb 2013 08:46:35 +0100 Hans Verkuil escreveu:
> > > At least aptina-pll.c, smiapp-pll.c and tveeprom.c all have some
> > > relationship
The following patches series will add soc_camera support in marvell-ccic driver
Patch set V4 - Change log:
- remove the first patch of V3 which had been queued in tree
- merge [PATCH 09/15-12/15] of V3 to [PATCH 10/12] of V4
- use soc_camera mode replace the old mode for ma
This patch adds support of 3 frame buffers in DMA-contiguous mode.
In current DMA_CONTIG mode, only 2 frame buffers can be supported.
Actually, Marvell CCIC can support 2 or 3 frame buffers.
Currently 3 frame buffers mode will be used by default.
To use 2 frame buffers mode, can do:
#define MAX
This patch adds the soc_camera mode support in marvell-ccic driver.
It also removes the old mode for maintaining single mode in the future.
Signed-off-by: Libin Yang
Signed-off-by: Albert Wang
---
drivers/media/platform/Makefile |4 +-
drivers/media/platform/marvell-ccic/Kc
This patch adds the dma burst size config support for marvell-ccic.
Developer can set the dma burst size in specified board driver.
Signed-off-by: Albert Wang
Signed-off-by: Libin Yang
Acked-by: Jonathan Corbet
---
drivers/media/platform/marvell-ccic/mcam-core.c |3 ++-
drivers/media/plat
This patch uses unsigned int type replace int type in marvell-ccic.
These variables: frame number, buf number, irq... should be unsigned.
Signed-off-by: Albert Wang
Signed-off-by: Libin Yang
Acked-by: Jonathan Corbet
---
drivers/media/platform/marvell-ccic/mcam-core.c | 22 +++--
This patch switchs to resource managed allocation and request in mmp-driver.
It can remove free resource operations.
Signed-off-by: Albert Wang
Signed-off-by: Libin Yang
Acked-by: Jonathan Corbet
---
drivers/media/platform/marvell-ccic/mmp-driver.c | 65 --
1 file changed
This patch renames the B_vmalloc/B_DMA_contig/B_DMA_sg to
B_VMALLOC/B_DMA_CONTIG/B_DMA_SG variables to avoid CamelCase warning
reported by the checkpatch.pl script.
Signed-off-by: Albert Wang
Signed-off-by: Libin Yang
---
drivers/media/platform/marvell-ccic/cafe-driver.c |2 +-
drivers/medi
From: Libin Yang
This patch adds the SOFx/EOFx pair check for marvell-ccic.
When switching format, the last EOF may not arrive when stop streamning.
And the EOF will be detected in the next start streaming.
Must ensure clear the left over frame flags before every really start streaming.
Signed
From: Libin Yang
This patch adds the new formats support for marvell-ccic.
Signed-off-by: Albert Wang
Signed-off-by: Libin Yang
---
drivers/media/platform/marvell-ccic/mcam-core.c | 189 +++
drivers/media/platform/marvell-ccic/mcam-core.h |6 +
2 files changed, 162 in
From: Libin Yang
This patch refines mcam_set_contig_buffer() in mcam core.
It can remove redundant code line and enhance readability.
Signed-off-by: Albert Wang
Signed-off-by: Libin Yang
Acked-by: Guennadi Liakhovetski
Acked-by: Jonathan Corbet
---
drivers/media/platform/marvell-ccic/mcam-c
This patch adds the reset ccic phy operation when stop streaming.
Stop streaming without reset ccic phy, the next start streaming
may be unstable.
Also need add CCIC2 definition when PXA688/PXA2128 support dual ccics.
Signed-off-by: Albert Wang
Signed-off-by: Libin Yang
Acked-by: Jonathan Corbe
From: Libin Yang
This patch adds the MIPI support for marvell-ccic.
Board driver should determine whether using MIPI or not.
Signed-off-by: Albert Wang
Signed-off-by: Libin Yang
---
drivers/media/platform/marvell-ccic/mcam-core.c | 66 +
drivers/media/platform/marvell-ccic/mcam
From: Libin Yang
This patch adds the clock tree support for marvell-ccic.
Signed-off-by: Libin Yang
Signed-off-by: Albert Wang
Acked-by: Jonathan Corbet
---
drivers/media/platform/marvell-ccic/mcam-core.h |4 ++
drivers/media/platform/marvell-ccic/mmp-driver.c | 47 +++
It registers hdmi-audio card to ALSA framework which associates i2s dai and
cdf based hdmi audio codec.
Signed-off-by: Rahul Sharma
---
sound/soc/samsung/Kconfig | 8 ++
sound/soc/samsung/Makefile | 2 +
sound/soc/samsung/hdmi.c | 260 +
3 files
V2:
- DAPM and JACK control to hdmi codec.
This patch registers hdmi-audio codec to the ALSA framework. This is the second
client to the hdmi panel. Once notified by the CDF Core it proceeds towards
audio setting and audio control. It also subscribes for hpd notification to
implement hpd related a
This patch implements exynos_hdmi_cdf.c which is a glue component between
exynos DRM and hdmi cdf panel. It is a platform driver register through
exynos_drm_drv.c. Exynos_hdmi.c is modified to register hdmi as display panel.
exynos_hdmi_cdf.c registers for exynos hdmi display entity and if successf
It exposes generic interface from drm_edid.c to get the edid data and length
by any display entity. Once I get clear idea about edid handling in CDF, I need
to revert these temporary changes.
Signed-off-by: Rahul Sharma
---
drivers/gpu/drm/drm_edid.c | 88
Hi Prabhakar,
On 01/28/2013 12:50 PM, Prabhakar Lad wrote:
> diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
> index 0ef8833..dac06d7 100644
> --- a/include/uapi/linux/media.h
> +++ b/include/uapi/linux/media.h
> @@ -56,6 +56,8 @@ struct media_device_info {
> #define MEDIA_EN
This patch adds
1) Event Notification to CDF Core:
Adds simple event notification mechanism supports multiple
subscribers. This is used for hot-plug notification to the clients
of hdmi display i.e. exynos-drm and alsa-codec. CDF Core maintains
multiple subscriber lis
V2:
1) Adding hdmi sound card using cdf based hdmi audio codec.
2) DAPM and JACK control to hdmi codec.
3) Offload event handler by adding work queue.
4) Rework based on v1 comments.
Tested for:
1) Mode setting and switching using modetest.
2) Video with HPD and Power related scenarios.
3) Audio p
tm6000_poll could use an uninitialized buf pointer. Move the buf-handling
code inside the 'if' that initializes the buf pointer.
Signed-off-by: Hans Verkuil
Reported-by: Dan Carpenter
---
drivers/media/usb/tm6000/tm6000-video.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
d
On Thu 7 February 2013 11:44:54 Dan Carpenter wrote:
> Hello Hans Verkuil,
>
> The patch 770056c47fbb: "[media] tm6000: add support for control
> events and prio handling" from Sep 11, 2012, leads to the following
> Smatch warning:
> "drivers/media/usb/tm6000/tm6000-video.c:1462 __tm6000_poll()
>
Hello Hans Verkuil,
The patch 770056c47fbb: "[media] tm6000: add support for control
events and prio handling" from Sep 11, 2012, leads to the following
Smatch warning:
"drivers/media/usb/tm6000/tm6000-video.c:1462 __tm6000_poll()
error: potentially dereferencing uninitialized 'buf'."
dr
Hi John,
On Thursday 07 February 2013 05:33 AM, John Sheu wrote:
From: John Sheu
Callers to dma_buf_mmap expect to fput() the vma struct's vm_file
themselves on failure. Not restoring the struct's data on failure
causes a double-decrement of the vm_file's refcount.
Thanks for your patch; coul
This patch is driven by a static checker warning.
The ttusb_process_muxpack() function is only called from
ttusb_process_frame(). Before calling, it verifies that len >= 2. The
problem is that len == 2 is not valid and would lead to an array
underflow.
Odd number values for len are also invalid
69 matches
Mail list logo