At present, dma_buf_export() takes a series of parameters, which
makes it difficult to add any new parameters for exporters, if required.
Make it simpler by moving all these parameters into a struct, and pass
the struct * as parameter to dma_buf_export().
While at it, unite dma_buf_export_named()
Hi Philipp,
On Thu, Jan 22, 2015 at 11:58 PM, Philipp Zabel wrote:
> Hi,
>
> Are you planning to pour the workshop's codec API document into a V4L2
> documentation patch?
Yes, definitely, I am a bit delayed, but will do this eventually, this
is in progress. Sorry for the delay. Please feel free
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 Jan 23 04:00:14 CET 2015
git branch: test
git hash: 1fc77d013ba85a29e2edfaba02fd21e8c8187fae
gcc versio
Convert au0828 to use videobuf2. Tested with NTSC.
Tested video and vbi devices with xawtv, tvtime,
and vlc. Ran v4l2-compliance to ensure there are
no regressions. video now has no failures and vbi
has 3 fewer failures.
video before:
test VIDIOC_G_FMT: FAIL 3 failures
Total: 72, Succeeded: 69, Fa
On 01/22/2015 01:47 PM, Lad, Prabhakar wrote:
> Hi Shuah,
>
> On Thu, Jan 22, 2015 at 4:16 PM, Shuah Khan wrote:
>> Hi Prabhakar,
>>
> [snip]
+ buf->vb.v4l2_buf.field = V4L2_FIELD_INTERLACED;
+ v4l2_get_timestamp(&buf->vb.v4l2_buf.timestamp);
+ vb2_buffer_done(&bu
this patch adds supports to return -ENODATA to *_std calls
if the selected output does not support it.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/media/platform/blackfin/bfin_captur
this patch adds support for vidioc_create_bufs.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/blackfin/bfin_capture.c
b/drivers/media/platform/blackfin/bfin_capture.c
index 31b5697..b5b
this patch adds support to set the v4l2 buffer sequence.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/media/platform/blackfin/bfin_capture.c
b/drivers/media/platform/blackfin/bfin_capture.c
inde
this patch adds support for VIDIOC_EXPBUF.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/blackfin/bfin_capture.c
b/drivers/media/platform/blackfin/bfin_capture.c
index 876db4b..f154f25
this patch sets the min_buffers_needed field of the vb2 queue
so that the vb2 core will make sure start_streaming() callback
is called only when we have minimum buffers queued.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 1 +
1 file changed, 1 insertion(+)
this patch adds support to release the buffer by calling
vb2_buffer_done(), with state marked as VB2_BUF_STATE_QUEUED
if start_streaming() call back fails.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 16 +---
1 file changed, 13 insertions(+), 3
this patch improves the queue_setup() callback.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/media/platform/blackfin/bfin_capture.c
b/drivers/media/platform/blackfin/bfin_c
this patch drops the buf_init() callback as init
of buf list is not required.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/media/platform/blackfin/bfin_capture.c
b/drivers/media/platform/blac
No need to reinvent the wheel. Just use the already existing
functions provided by vb2.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 28 +++---
1 file changed, 3 insertions(+), 25 deletions(-)
diff --git a/drivers/media/platform/blackfin
In start_streaming() callback the buffer is removed from the
dma_queue list and assigned to cur_frm, this patch makes sure
that is returned to vb2 core with VB2_BUF_STATE_ERROR flag.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 3 +++
1 file changed, 3 inser
this patch adds support to use v4l2_fh_open() and vb2_fop_release,
which allows to drop driver specific struct bcap_fh, as this is handled
by core.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 79 +-
1 file changed, 2 insertions(+), 7
this patch adds support for VB2_DMABUF.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/blackfin/bfin_capture.c
b/drivers/media/platform/blackfin/bfin_capture.c
index b5b4
this patch adds support to vb2_ioctl_* helpers.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 108 ++---
1 file changed, 23 insertions(+), 85 deletions(-)
diff --git a/drivers/media/platform/blackfin/bfin_capture.c
b/drivers/media/platfo
this patch adds support to return -ENODATA for *dv_timings calls
if the current output does not support it.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/media/platform/blackfin/
this patch improves the buf_prepare() callback.
Signed-off-by: Lad, Prabhakar
---
drivers/media/platform/blackfin/bfin_capture.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/media/platform/blackfin/bfin_capture.c
b/drivers/media/platform/blackfin/bfin
This patch series, enhances blackfin capture driver with
vb2 helpers.
Changes for v2:
--
Only patches 5/15 and 8/15 as per Scott's suggestions.
Lad, Prabhakar (15):
media: blackfin: bfin_capture: drop buf_init() callback
media: blackfin: bfin_capture: release buffers in case
s
Hi Shuah,
On Thu, Jan 22, 2015 at 4:16 PM, Shuah Khan wrote:
> Hi Prabhakar,
>
[snip]
>>> + buf->vb.v4l2_buf.field = V4L2_FIELD_INTERLACED;
>>> + v4l2_get_timestamp(&buf->vb.v4l2_buf.timestamp);
>>> + vb2_buffer_done(&buf->vb, VB2_BUF_STATE_DONE);
>>> }
>>>
>> Why not just have
--
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
Hi Prabhakar,
thanks for the review, please see in-line.
On 01/22/2015 05:41 AM, Lad, Prabhakar wrote:
> Hi Shuah,
>
> Thanks for the patch.
>
> On Tue, Jan 13, 2015 at 2:56 AM, Shuah Khan wrote:
>> Convert au0828 to use videobuf2. Tested with NTSC.
>> Tested video and vbi devices with xawtv,
Hi Mauro,
The following changes since commit 1fc77d013ba85a29e2edfaba02fd21e8c8187fae:
[media] cx23885: Hauppauge WinTV-HVR5525 (2014-12-30 10:48:04 -0200)
are available in the git repository at:
git://linuxtv.org/pinchartl/media.git omap4iss/next
for you to fetch changes up to 45653d31bee
Hi Hans,
Thank you for the review.
On Thursday 22 January 2015 16:12:31 Hans Verkuil wrote:
> On 01/22/15 15:48, Laurent Pinchart wrote:
> > The control type init operation is called in a loop to initialize all
> > elements of a control. Not only is this inefficient for control types
> > that cou
Add device tree node for the s5p-cec hdmi CEC driver.
Signed-off-by: Kamil Debski
---
arch/arm/boot/dts/exynos4412-odroid-common.dtsi |7 +++
arch/arm/boot/dts/exynos4412-odroidu3.dts | 13 +
2 files changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412
Add CEC interface driver present in the Samsung Exynos range of
SoCs.
The following files were based on work by SangPil Moon:
- exynos_hdmi_cec.h
- exynos_hdmi_cecctl.c
Signed-off-by: Kamil Debski
---
drivers/media/platform/Kconfig |7 +
drivers/media/platform/Makefile
From: Hans Verkuil
Add callbacks to the v4l2_subdev_video_ops.
Signed-off-by: Hans Verkuil
[k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil]
Signed-off-by: Kamil Debski
---
include/media/v4l2-subdev.h |8
1 file changed, 8 insertions(+)
diff --git a/
From: Hans Verkuil
Add CEC support ot the adv7604 driver.
Signed-off-by: Hans Verkuil
[k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil]
Signed-off-by: Kamil Debski
---
drivers/media/i2c/adv7604.c | 182 +++
1 file changed,
From: Hans Verkuil
Add CEC support to the adv7511 driver.
Signed-off-by: Hans Verkuil
[k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil]
Signed-off-by: Kamil Debski
---
drivers/media/i2c/adv7511.c | 325 ++-
include/media/ad
Add cec protocol handling the RC framework.
Signed-off-by: Kamil Debski
---
drivers/media/rc/keymaps/Makefile |1 +
drivers/media/rc/keymaps/rc-cec.c | 133 +
drivers/media/rc/rc-main.c|1 +
include/media/rc-core.h |1 +
include/
Add the CEC framework.
Signed-off-by: Hans Verkuil
[k.deb...@samsung.com: Merged CEC Updates commit by Hans Verkuil]
[k.deb...@samsung.com: Merged Update author commit by Hans Verkuil]
[k.deb...@samsung.com: change kthread handling when setting logical
address]
[k.deb...@samsung.com: code cleanup
Hi,
This is the second version of my attempt at the CEC framework patches.
As mentioned in the previous cover letter the original work was done by
Hans Verkuil, but he was short of time and the CEC framework was stalled
for some time. The original cover letter attached below will surely shed
more
Hello Mr Abraham,
Thank you very much for coding the saa716x driver. It's highly appreciated!
I own a couple of TBS DVB-T/T2/C cards that use those chips, so your
driver is of great value to me.
Of course official drivers from TBS suck bigtime, but fortunately Luis
Alves thinks so too.
So he c
On 01/22/15 15:48, Laurent Pinchart wrote:
> Drivers that implement custom control types need to implement the equal,
> init, log and validate operations. Depending on the control type some of
> those operations can use the standard control type implementation
> provided by the v4l2 control framewo
On 01/22/15 15:48, Laurent Pinchart wrote:
> This reverts commit 186612342500b0af8498d7c8bc6b3ac32ac7a48e.
>
> The video_device debug field has been renamed to dev_debug, resulting in
> a compilation failure. As v4l2 debugging is supposed to be controlled
> through a sysfs attribute created by the
On 01/22/15 15:48, Laurent Pinchart wrote:
> The control type init operation is called in a loop to initialize all
> elements of a control. Not only is this inefficient for control types
> that could use a memset(), it also complicates the implementation of
> custom control types, for instance when
On 01/22/15 15:48, Laurent Pinchart wrote:
> Only unsigned compound types are implemented so far, add the
> corresponding signes types.
>
> Signed-off-by: Laurent Pinchart
Acked-by: Hans Verkuil
Looks good!
Hans
> ---
> .../DocBook/media/v4l/vidioc-g-ext-ctrls.xml | 21 +++
On 01/22/15 15:48, Laurent Pinchart wrote:
> Setting an array control subset isn't allowed by the control framework,
> which returns an error in prepare_ext_ctrls() if the control size
> specified by userspace is smaller than the total size. There is thus no
> need to initialize the array tail to i
On 01/22/2015 08:00 AM, Devin Heitmueller wrote:
>>> - fh->type = type;
>>> - fh->dev = dev;
>>> - v4l2_fh_init(&fh->fh, vdev);
>>> - filp->private_data = fh;
>>> + dprintk(1,
>>> + "%s called std_set %d dev_state %d stream users %d users
>>> %d\n",
>>>
>> - fh->type = type;
>> - fh->dev = dev;
>> - v4l2_fh_init(&fh->fh, vdev);
>> - filp->private_data = fh;
>> + dprintk(1,
>> + "%s called std_set %d dev_state %d stream users %d users
>> %d\n",
>> + __func__, dev->std_set_in_tuner_core, dev
Hi,
Am Donnerstag, den 11.12.2014, 15:47 +0100 schrieb Hans Verkuil:
> Hi Pawel,
>
> On 12/11/14 15:42, Nicolas Dufresne wrote:
> > Le jeudi 11 décembre 2014 à 11:00 -0200, Fabio Estevam a écrit :
> >> Hi,
> >>
> >> I am running Gstreamer 1.4.4 with on a imx6q-sabresd board and I am
> >> able to
This reverts commit 186612342500b0af8498d7c8bc6b3ac32ac7a48e.
The video_device debug field has been renamed to dev_debug, resulting in
a compilation failure. As v4l2 debugging is supposed to be controlled
through a sysfs attribute created by the v4l2 core, there's no need to
duplicate debug contro
The ipipeif, ipipe and resizer media entities are cleaned up before
unregistering the media device, creating a race condition. Fix it by
cleaning them up at cleanup time.
Signed-off-by: Laurent Pinchart
---
drivers/staging/media/omap4iss/iss_ipipe.c | 6 +++---
drivers/staging/media/omap4iss/i
The control type init operation is called in a loop to initialize all
elements of a control. Not only is this inefficient for control types
that could use a memset(), it also complicates the implementation of
custom control types, for instance when a matrix needs to be initialized
with different va
Drivers that implement custom control types need to implement the equal,
init, log and validate operations. Depending on the control type some of
those operations can use the standard control type implementation
provided by the v4l2 control framework. Export them to enable their
reuse.
Signed-off-
Expose the module as two controls, one for the 3x3 multiplier matrix and
one for the 3x1 offset vector.
Signed-off-by: Laurent Pinchart
---
drivers/staging/media/omap4iss/iss_ipipe.c | 129 -
drivers/staging/media/omap4iss/iss_ipipe.h | 17
2 files changed, 144
Only unsigned compound types are implemented so far, add the
corresponding signes types.
Signed-off-by: Laurent Pinchart
---
.../DocBook/media/v4l/vidioc-g-ext-ctrls.xml | 21 +++
.../DocBook/media/v4l/vidioc-queryctrl.xml | 30 ++
drivers/media/v4l2
Hello,
This patch set adds support for exposing the OMAP4 ISS IPIPE RGB2RGB blending
matrix through V4L2 controls, using the compound controls support.
Patches 1 to 4 add new signed compound control types and simplify the control
type init operation. Patches 5 and 6 then fix two issues with the o
Setting an array control subset isn't allowed by the control framework,
which returns an error in prepare_ext_ctrls() if the control size
specified by userspace is smaller than the total size. There is thus no
need to initialize the array tail to its default value, as the tail will
always be empty.
On Thu, 2015-01-22 at 12:04 +0200, Antti Palosaari wrote:
> I will make pull request for that as that is still on patchwork :(
Thanks, I was about to send in a resend.
Jurgen
> Antti
>
> On 12/14/2014 01:29 PM, Antti Palosaari wrote:
> > On 12/08/2014 07:52 PM, Antti Palosaari wrote:
> >> O
> I have a hvr-2255 dvb tuner, but to my knowledge there is no support for
> this newer hardware available on linux.
Brian, if all goes to plan then I'm releasing our HVR2205/55 patches
in the next 2-3 weeks. I have one last hurdle then everything can go
public. So, stay tuned.
If you (or anyone)
Hi Shuah,
Thanks for the patch.
On Tue, Jan 13, 2015 at 2:56 AM, Shuah Khan wrote:
> au0828 picked up UNSET from videobuf-core.h and fails to compile
> if videobuf-core.h isn't included. Change it to use -1U instead
> to fix the problem.
>
> drivers/media/usb/au0828/au0828-cards.c:47:17: err
Hi Shuah,
Thanks for the patch.
On Tue, Jan 13, 2015 at 2:56 AM, Shuah Khan wrote:
> Convert au0828 to use videobuf2. Tested with NTSC.
> Tested video and vbi devices with xawtv, tvtime,
> and vlc. Ran v4l2-compliance to ensure there are
> no regressions. video now has no failures and vbi
> has
Dear Recipient,
You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling)
with reference number 77100146 by office of the ministry of finance UK.Send us
your personal details to deliver your funds.
Gloria Peter
--
To unsubscribe from this list: send the line "unsubscribe li
Hi Mauro,
The following changes since commit 1fc77d013ba85a29e2edfaba02fd21e8c8187fae:
[media] cx23885: Hauppauge WinTV-HVR5525 (2014-12-30 10:48:04 -0200)
are available in the git repository at:
git://linuxtv.org/pinchartl/media.git uvc/next
for you to fetch changes up to 3aeea86592772e69
Hi Mauro,
The following changes since commit 1fc77d013ba85a29e2edfaba02fd21e8c8187fae:
[media] cx23885: Hauppauge WinTV-HVR5525 (2014-12-30 10:48:04 -0200)
are available in the git repository at:
git://linuxtv.org/pinchartl/media.git vsp1/next
for you to fetch changes up to 63a9e32eb686238
Hi Iwamatsu-san,
Thank you for the patches.
On Wednesday 07 January 2015 16:37:53 Nobuhiro Iwamatsu wrote:
> LNEE bit in VI6_DISP_IRQ_ENB register are from the 0 bit to 4 bit.
> This fixes bit position specified by VI6_DISP_IRQ_ENB_LNEE.
>
> Signed-off-by: Nobuhiro Iwamatsu
For the whole serie
From: Peter Seiderer
This v4l2_buffer flag can be used by drivers to mark a capture buffer
as the last generated buffer, for example after a V4L2_DEC_CMD_STOP
command was issued.
Signed-off-by: Peter Seiderer
Signed-off-by: Philipp Zabel
---
include/uapi/linux/videodev2.h | 2 ++
1 file chang
If the last buffer was dequeued from a capture queue, let poll return
immediately and let DQBUF return -EPIPE to signal there will no more
buffers to dequeue until STREAMOFF.
Signed-off-by: Philipp Zabel
---
TODO: (How) should the last_buffer_dequeud flag be cleared in reaction to
V4L2_DEC_CMD_ST
At the V4L2 codec API session during ELC-E 2014, we agreed that for the decoder
draining flow, after a V4L2_DEC_CMD_STOP decoder command was issued, the last
decoded buffer should get dequeued with a V4L2_BUF_FLAG_LAST set. After that,
poll should immediately return and all following VIDIOC_DQBUF s
Hi Michel,
On 22 January 2015 at 12:30, Michel Dänzer wrote:
> From: Michel Dänzer
>
> It was causing the return value of fence_is_signaled to be ignored, making
> reservation objects signal too early.
>
Thanks; pushed to my for-next.
> Cc: sta...@vger.kernel.org
> Reviewed-by: Maarten Lankhors
This is only an API consolidation and should make things more readable
Signed-off-by: Nicholas Mc Guire
---
Converting milliseconds to jiffies by val * HZ / 1000 is technically
not wrong but msecs_to_jiffies(val) is the cleaner solution and handles
all corner cases correctly. This is a minor API
Hi Shuah,
Thanks for the patch.
On Thu, Dec 18, 2014 at 4:20 PM, Shuah Khan wrote:
> There is no need to zero out fmt.pix.priv in vidioc_g_fmt_vid_cap()
> vidioc_try_fmt_vid_cap(), and vidioc_s_fmt_vid_cap(). Remove it.
>
> Signed-off-by: Shuah Khan
Acked-by: Lad, Prabhakar
Regards,
--Prabha
That patch must go also stable v3.16+ as tagged Cc.
regards
Antti
The following changes since commit 2c0108e1c02f9fc95f465adc4d2ce1ad8688290a:
[media] omap3isp: Correctly set QUERYCAP capabilities (2015-01-21
21:09:11 -0200)
are available in the git repository at:
git://linuxtv.org/antt
I will make pull request for that as that is still on patchwork :(
Antti
On 12/14/2014 01:29 PM, Antti Palosaari wrote:
On 12/08/2014 07:52 PM, Antti Palosaari wrote:
On 12/08/2014 10:30 AM, Jurgen Kramer wrote:
Increase si2168 cmd execute timeout to prevent firmware load failures.
Tests
On 01/22/15 04:01, Laurent Pinchart wrote:
> Hi Hans and Chris,
>
> On Monday 01 December 2014 22:13:38 Laurent Pinchart wrote:
>> Xilinx platforms have no hardwired video capture or video processing
>> interface. Users create capture and memory to memory processing
>> pipelines in the FPGA fabric
Hi,
On 01/21/2015 05:32 PM, Sylwester Nawrocki wrote:
Hi,
On 09/01/15 16:23, Jacek Anaszewski wrote:
This patch adds a description of 'flashes' property
to the samsung-fimc.txt.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
---
.../devicetree/bindings/media/samsung-fimc.txt
69 matches
Mail list logo