Marek Szyprowski | 19 Jun 2013 14:56

[PATCH] v4l2: videobuf2-dc: fix support for mappings without struct page in userptr mode

Earlier version of dma-contig allocator in user ptr mode assumed that in
all cases DMA address equals physical address. This was just a special case.
Commit e15dab752d4c588544ccabdbe020a7cc092e23c8 introduced correct support
for converting userpage to dma address, but unfortunately it broke the
support for simple dma address = physical address for the case, when given
physical frame has no struct page associated with it (this happens if one
use for example dma_declare_coherent api or other reserved memory approach).
This commit restores support for such cases.

Signed-off-by: Marek Szyprowski <m.szyprowski <at> samsung.com>
---
 drivers/media/v4l2-core/videobuf2-dma-contig.c |   87 ++++++++++++++++++++++--
 1 file changed, 82 insertions(+), 5 deletions(-)

diff --git a/drivers/media/v4l2-core/videobuf2-dma-contig.c b/drivers/media/v4l2-core/videobuf2-dma-contig.c
index fd56f25..1382749 100644
--- a/drivers/media/v4l2-core/videobuf2-dma-contig.c
+++ b/drivers/media/v4l2-core/videobuf2-dma-contig.c
 <at>  <at>  -423,6 +423,39  <at>  <at>  static inline int vma_is_io(struct vm_area_struct *vma)
 	return !!(vma->vm_flags & (VM_IO | VM_PFNMAP));
 }

+static int vb2_dc_get_user_pfn(unsigned long start, int n_pages,
+	struct vm_area_struct *vma, unsigned long *res)
+{
+	unsigned long pfn, start_pfn, prev_pfn;
+	unsigned int i;
+	int ret;
+
+	if (!vma_is_io(vma))
(Continue reading)

Steve Cookson | 18 Jun 2013 22:55
Favicon

RE: HD Capture Card (HDMI and Component) output raw pixels

Hi Jim,

> I don't want to configure a RAID either, but if I purchase one SSD with
400 MB/sec write speeds, that might be good.

Hmm... nice idea.  Did you have any particular model in mind?  If you had a
link, I might be interested. I wouldn't know about sizing.  I don't know how
much space HD raw video takes up per hour, say.

On the other hand, maybe I could configure it to use the SSD for temporary
files while GStreamer did software compression.

Let me know what you think.

Regards

Steve

Steve Cookson | 18 Jun 2013 21:38
Favicon

RE: HD Capture Card (HDMI and Component) output raw pixels

Hi Jim,

The Balckmagic Card does not seem to have any hardware compression, for me
that's a drawback, but if that's what you want it may be the right thing.

I want to avoid RAID 0 disks if I can.

It appears to be supported by Linux in the GStreamer bad pluggins, it's
called decklinksrc.  There is another allied one called the DeckLink mini
recorder also from Blackmagic PCIe for $145  it's on the same site, so you
might like to have a look at that too.

Blackmagic also provide a Linux SDK and some linux tools.  If you can't find
them I'll send you a link.

I'm going to buy one for testing over the next month or so, so if you want
to keep in touch, I'll let you know how it goes.

Regards

Steve

-----Original Message-----
From: James Board [mailto:jpboard2 <at> yahoo.com] 
Sent: 18 June 2013 13:19
To: Steve Cookson
Subject: Re: HD Capture Card (HDMI and Component) output raw pixels

Hi Steve,

(Continue reading)

Hans Verkuil | 18 Jun 2013 20:28
Picon
Picon
Favicon

cron job: media_tree daily build: WARNINGS

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:		Tue Jun 18 19:00:19 CEST 2013
git branch:	test
git hash:	e049ca5e854263c821a15c0e25fe2ae202c365e1
gcc version:	i686-linux-gcc (GCC) 4.8.0
host hardware:	x86_64
host os:	3.8-3.slh.2-amd64

linux-git-arm-at91: OK
linux-git-arm-davinci: OK
linux-git-arm-exynos: WARNINGS
linux-git-arm-mx: OK
linux-git-arm-omap: WARNINGS
linux-git-arm-omap1: OK
linux-git-arm-pxa: OK
linux-git-blackfin: WARNINGS
linux-git-i686: OK
linux-git-m32r: OK
linux-git-mips: OK
linux-git-powerpc64: OK
linux-git-sh: OK
linux-git-x86_64: OK
linux-2.6.31.14-i686: WARNINGS
linux-2.6.32.27-i686: WARNINGS
linux-2.6.33.7-i686: WARNINGS
linux-2.6.34.7-i686: WARNINGS
(Continue reading)

Guy Martin | 18 Jun 2013 16:19
Picon
Favicon

[PATCH v2 0/6] v4l-utils: v4l-utils: Fix satellite support in dvbv5-{scan,zap} tools

Hi all,

This set of patch fix sat support for dvbv5 libs and utils.
In this set, a different approach is used. The polarization parameter is stored in
the DTV_POLARIZATION property.

  Guy

Guy Martin (6):
  libdvbv5: Remove buggy parsing of extra DTV_foo parameters
  libdvbv5: Add parsing of POLARIZATION
  libdvbv5: Export dvb_fe_is_satellite()
  libdvbv5: Fix satellite handling and apply polarization parameter to
    the frontend
  libdvbv5: Use a temporary copy of the dvb parameters when tuning
  dvbv5-zap: Parse the LNB from the channel file

 lib/include/dvb-fe.h      |  2 +-
 lib/include/dvb-file.h    |  1 -
 lib/include/dvb-sat.h     |  1 -
 lib/libdvbv5/dvb-fe.c     | 79 ++++++++++++++++++-----------------------
 lib/libdvbv5/dvb-file.c   | 90 +++++++++++++++--------------------------------
 lib/libdvbv5/dvb-sat.c    | 68 +++++++++++++----------------------
 lib/libdvbv5/dvb-v5-std.c |  9 ++---
 utils/dvb/dvbv5-zap.c     |  9 +++++
 8 files changed, 100 insertions(+), 159 deletions(-)

--

-- 
1.8.1.5

(Continue reading)

Arun Kumar K | 18 Jun 2013 14:56

[PATCH v2 0/8] Add support for MFC v7 firmware

This patch series adds MFC v7 firmware support to the Exynos
MFC driver. MFC v7 is present in 5420 SoC which has support
for VP8 encoding and many other features.

Changes from v1:
- Addressed review comments from Hans and Sylwester
http://www.mail-archive.com/linux-media <at> vger.kernel.org/msg63148.html
http://www.mail-archive.com/linux-media <at> vger.kernel.org/msg63311.html
- Modified IS_MFCV6 macro to IS_MFCV6_PLUS to include v7 also

Arun Kumar K (7):
  [media] s5p-mfc: Update v6 encoder buffer sizes
  [media] s5p-mfc: Rename IS_MFCV6 macro
  [media] s5p-mfc: Add register definition file for MFC v7
  [media] s5p-mfc: Core support for MFC v7
  [media] s5p-mfc: Update driver for v7 firmware
  [media] V4L: Add VP8 encoder controls
  [media] s5p-mfc: Add support for VP8 encoder

Sylwester Nawrocki (1):
  [media] V4L: Add support for integer menu controls with standard menu
    items

 Documentation/DocBook/media/v4l/controls.xml       |  151 ++++++++++++++++++++
 .../devicetree/bindings/media/s5p-mfc.txt          |    1 +
 Documentation/video4linux/v4l2-controls.txt        |   21 +--
 drivers/media/platform/s5p-mfc/regs-mfc-v6.h       |    4 +-
 drivers/media/platform/s5p-mfc/regs-mfc-v7.h       |   58 ++++++++
 drivers/media/platform/s5p-mfc/s5p_mfc.c           |   32 +++++
 drivers/media/platform/s5p-mfc/s5p_mfc_cmd.c       |    2 +-
(Continue reading)

Wei Yongjun | 18 Jun 2013 07:00
Picon

[PATCH -next] [media] coda: fix missing unlock on error in coda_stop_streaming()

From: Wei Yongjun <yongjun_wei <at> trendmicro.com.cn>

Add the missing unlock before return from function coda_stop_streaming()
in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei <at> trendmicro.com.cn>
---
 drivers/media/platform/coda.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c
index df4ada88..2c3cd17 100644
--- a/drivers/media/platform/coda.c
+++ b/drivers/media/platform/coda.c
 <at>  <at>  -1347,6 +1347,7  <at>  <at>  static int coda_stop_streaming(struct vb2_queue *q)
 	if (coda_command_sync(ctx, CODA_COMMAND_SEQ_END)) {
 		v4l2_err(&dev->v4l2_dev,
 			 "CODA_COMMAND_SEQ_END failed\n");
+		mutex_unlock(&dev->coda_mutex);
 		return -ETIMEDOUT;
 	}
 	mutex_unlock(&dev->coda_mutex);

Michael Krufky | 18 Jun 2013 03:13
Gravatar

[GIT PULL] git://linuxtv.org/mkrufky/tuners mxl111sf

The following changes since commit
e049ca5e854263c821a15c0e25fe2ae202c365e1:

  [media] staging/media: lirc_imon: fix leaks in imon_probe()
  (2013-06-17 15:52:20 -0300)

are available in the git repository at:

  git://linuxtv.org/mkrufky/tuners mxl111sf

for you to fetch changes up to 0fca4f2af6a176bf4c980643e70c99d11d002094:

  mxl111sf: don't redefine pr_err/info/debug (2013-06-17 19:56:40 -0400)

----------------------------------------------------------------
Hans Verkuil (1):
      mxl111sf: don't redefine pr_err/info/debug

 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c |  8 +++-----
 drivers/media/usb/dvb-usb-v2/mxl111sf.c       | 90
 ++++++++++++++++++++++++++++++++++++++++++------------------------------------------------
 2 files changed, 45 insertions(+), 53 deletions(-)
Michael Krufky | 18 Jun 2013 01:36
Gravatar

[GIT PULL] git://linuxtv.org/mkrufky/tuners r820t

The following changes since commit
e049ca5e854263c821a15c0e25fe2ae202c365e1:

  [media] staging/media: lirc_imon: fix leaks in imon_probe()
  (2013-06-17 15:52:20 -0300)

are available in the git repository at:

  git://linuxtv.org/mkrufky/tuners r820t

for you to fetch changes up to a02dfce109f6dcddf1bfd973f9b3000cd74c3590:

  r820t: fix imr calibration (2013-06-17 19:32:45 -0400)

----------------------------------------------------------------
Gianluca Gennari (3):
      r820t: remove redundant initializations in r820t_attach()
      r820t: avoid potential memcpy buffer overflow in shadow_store()
      r820t: fix imr calibration

 drivers/media/tuners/r820t.c | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)
Hans Verkuil | 17 Jun 2013 19:50
Picon
Picon
Favicon

cron job: media_tree daily build: ERRORS

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 Jun 17 19:00:22 CEST 2013
git branch:	test
git hash:	3080f8c77f277eb87397d639581ebea859f9ea41
gcc version:	i686-linux-gcc (GCC) 4.8.0
host hardware:	x86_64
host os:	3.8-3.slh.2-amd64

linux-git-arm-at91: ERRORS
linux-git-arm-davinci: OK
linux-git-arm-exynos: ERRORS
linux-git-arm-mx: ERRORS
linux-git-arm-omap: ERRORS
linux-git-arm-omap1: ERRORS
linux-git-arm-pxa: ERRORS
linux-git-blackfin: WARNINGS
linux-git-i686: OK
linux-git-m32r: OK
linux-git-mips: ERRORS
linux-git-powerpc64: OK
linux-git-sh: OK
linux-git-x86_64: OK
linux-2.6.31.14-i686: ERRORS
linux-2.6.32.27-i686: ERRORS
linux-2.6.33.7-i686: ERRORS
linux-2.6.34.7-i686: ERRORS
(Continue reading)

Mauro Carvalho Chehab | 17 Jun 2013 18:30
Picon
Favicon

[GIT PULL for v3.10-rc7] V4L/DVB fixes

Hi Linus,

Please pull from:
  git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus

For a series of fixes for Kernel 3.10. There are some usual driver fixes (mostly
on s5p/exynos playform drivers), plus some fixes at V4L2 core.

Thank you!
Mauro

Latest commit at the branch: 
af44ad5edd1eb6ca92ed5be48e0004e1f04bf219 [media] soc_camera: error dev remove and v4l2 call
The following changes since commit df90e2258950fd631cdbf322c1ee1f22068391aa:

  Merge branch 'devel-for-v3.10' into v4l_for_linus (2013-04-30 09:01:04 -0300)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus

for you to fetch changes up to af44ad5edd1eb6ca92ed5be48e0004e1f04bf219:

  [media] soc_camera: error dev remove and v4l2 call (2013-06-08 21:51:06 -0300)

----------------------------------------------------------------
Andrzej Hajda (3):
      [media] s5p-mfc: separate encoder parameters for h264 and mpeg4
      [media] s5p-mfc: v4l2 controls setup routine moved to initialization code
      [media] s5p-mfc: added missing end-of-lines in debug messages
(Continue reading)


Gmane