On Wed 10-06-15 09:37:20, Josh Triplett wrote:
On Wed, Jun 10, 2015 at 06:20:52AM -0300, Mauro Carvalho Chehab wrote:
From: Jan Kara j...@suse.cz
get_vaddr_frames() is used by relatively rare drivers so hide it and the
related functions behind a config option that is selected only by
Hi Jan,
Please keep Andrew in the loop. The patch series is on his tree.
Regards,
Mauro
Em Thu, 18 Jun 2015 12:12:08 +0200
Jan Kara j...@suse.cz escreveu:
On Thu 11-06-15 10:52:22, Hans Verkuil wrote:
Jan,
This patch causes a regressing in videobuf2-dma-sg with a potential
deadlock:
On Thu 18-06-15 12:45:26, Hans Verkuil wrote:
On 06/18/2015 12:33 PM, Jan Kara wrote:
On Mon 15-06-15 09:24:55, Hans Verkuil wrote:
This reverts commit 48b25a3a713b90988b6882d318f7c0a6bed9aabc.
That commit caused two regressions. The first is a BUG:
BUG: unable to handle kernel NULL
On 3 June 2015 at 11:36, Marek Szyprowski m.szyprow...@samsung.com wrote:
MFC hardware is known to trash random memory if one tries to use a
buffer buffer, which has lower DMA addresses than the configured DMA
base address. This patch adds a check for this case and proper error
handling.
On 3 June 2015 at 11:36, Marek Szyprowski m.szyprow...@samsung.com wrote:
alloc_dev_context_buffer method might fail, so add proper return value
check.
Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com
Acked-by: Kamil Debski ka...@wypas.org
---
This is continuation of development of a proposed earlier
functionality to have multiple gen_pools per device, see
https://lkml.org/lkml/2015/6/8/588 discussion.
The main difference with the originally sent change is that instead of
adding two new interfaces gen_pool_get_named() and
This change modifies gen_pool_get() and devm_gen_pool_create()
client interfaces adding one more argument name of a gen_pool
object.
Due to implementation gen_pool_get() is capable to retrieve only one
gen_pool associated with a device even if multiple gen_pools are
created, fortunately right at
Conversion to the use of pinned pfns made some functions unused. Remove
them. Also there's no need to lock mmap_sem in __buf_prepare() anymore.
Acked-by: Marek Szyprowski m.szyprow...@samsung.com
Tested-by: Marek Szyprowski m.szyprow...@samsung.com
Signed-off-by: Jan Kara j...@suse.cz
---
Acked-by: Marek Szyprowski m.szyprow...@samsung.com
Tested-by: Marek Szyprowski m.szyprow...@samsung.com
Signed-off-by: Jan Kara j...@suse.cz
---
drivers/media/v4l2-core/videobuf2-dma-sg.c | 95 +-
1 file changed, 15 insertions(+), 80 deletions(-)
diff --git
get_vaddr_frames() is used by relatively rare drivers so hide it and the
related functions behind a config option that is selected only by
drivers that need the infrastructure.
The saving are:
add/remove: 0/6 grow/shrink: 0/0 up/down: 0/-868 (-868)
function old
Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns() instead of
hand made mapping of virtual address to physical address. Also the
function leaked page reference from get_user_pages() so fix that by
properly release the reference when omap_vout_buffer_release() is
called.
Signed-off-by:
Convert vb2_vmalloc_get_userptr() to use frame vector infrastructure.
When we are doing that there's no need to allocate page array and some
code can be simplified.
Acked-by: Marek Szyprowski m.szyprow...@samsung.com
Tested-by: Marek Szyprowski m.szyprow...@samsung.com
Signed-off-by: Jan Kara
Convert vb2_dc_get_userptr() to use frame vector infrastructure. When we
are doing that there's no need to allocate page array and some code can
be simplified.
Acked-by: Marek Szyprowski m.szyprow...@samsung.com
Tested-by: Marek Szyprowski m.szyprow...@samsung.com
Signed-off-by: Jan Kara
Currently vb2 core acquires mmap_sem just around call to
__qbuf_userptr(). However since commit f035eb4e976ef5 (videobuf2: fix
lockdep warning) it isn't necessary to acquire it so early as we no
longer have to drop queue mutex before acquiring mmap_sem. So push
acquisition of mmap_sem down into
Convert g2d_userptr_get_dma_addr() to pin pages using get_vaddr_frames().
This removes the knowledge about vmas and mmap_sem locking from exynos
driver. Also it fixes a problem that the function has been mapping user
provided address without holding mmap_sem.
Signed-off-by: Jan Kara j...@suse.cz
Hello,
I'm sending the sixth version of my patch series to abstract vma handling from
the various media drivers. Since the previous version I have added a patch to
move mm helpers into a separate file and behind a config option. I also
changed patch pushing mmap_sem down in videobuf2 core to
Provide simple helper functions to map virtual address range into an
array of pfns / pages.
Acked-by: Marek Szyprowski m.szyprow...@samsung.com
Tested-by: Marek Szyprowski m.szyprow...@samsung.com
Signed-off-by: Jan Kara j...@suse.cz
---
drivers/media/v4l2-core/videobuf2-memops.c | 58
Provide new function get_vaddr_frames(). This function maps virtual
addresses from given start and fills given array with page frame numbers of
the corresponding pages. If given start belongs to a normal vma, the function
grabs reference to each of the pages to pin them in memory. If start
On 06/18/2015 06:09 PM, Mauro Carvalho Chehab wrote:
Instead of seeking for the decoder every time analog stream is
started, cache it.
Requested-by: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com
---
drivers/media/usb/au0828/au0828-video.c |
Instead of seeking for the decoder every time analog stream is
started, cache it.
Requested-by: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com
diff --git a/drivers/media/usb/au0828/au0828-cards.c
b/drivers/media/usb/au0828/au0828-cards.c
index
Instead of seeking for the decoder every time analog stream is
started, cache it.
Requested-by: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com
---
drivers/media/usb/au0828/au0828-video.c | 37 ++---
tree: git://linuxtv.org/media_tree.git media-controller
head: 027cf164d8f3a80c2127cc92e4620e04e883e829
commit: f158cbceb165f318a89a8bb831dc3ea27823b3f8 [1243/1278] [media] ts2020:
convert to regmap I2C API
config: x86_64-randconfig-r0-06190935 (attached as .config)
reproduce:
git checkout
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 Jun 19 04:00:21 CEST 2015
git branch: test
git hash: 6f32a8c97f11eb074027052b6b507891e5c9d8b1
gcc
tree: git://linuxtv.org/media_tree.git media-controller
head: 027cf164d8f3a80c2127cc92e4620e04e883e829
commit: 61891e24706322835582f8b6b184be9adbf78427 [1277/1278] [media] au0828:
Cache the decoder info at au0828 dev structure
config: blackfin-allyesconfig (attached as .config)
reproduce:
On 06/18/2015 07:27 PM, Mauro Carvalho Chehab wrote:
Instead of seeking for the decoder every time analog stream is
started, cache it.
Requested-by: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com
Acked-by: Hans Verkuil hans.verk...@cisco.com
Kedves Email felhasználói;
Túllépte a határt 23432 tárolása a megadott e-mail fiókkal által beállított
Web Service / Administrator, és akkor sikerül a küldo
és a bejövo üzenetek, amíg meg újból érvényesíti az e-mail címre. A
szükséges eljárások
nyújtottak be az alábbiakban a nézetet,
Hi Jacek,
On Mon, May 25, 2015 at 6:13 PM, Jacek Anaszewski
j.anaszew...@samsung.com wrote:
This patch adds helper functions for registering/unregistering
LED Flash class devices as V4L2 sub-devices. The functions should
be called from the LED subsystem device driver. In case the
support for
Hi Kaneko-san,
Thank you for the patch.
On Monday 15 June 2015 02:29:14 Yoshihiro Kaneko wrote:
From: Atsushi Akatsuka atsushi.akatsuka...@hitachi.com
This commit sets AMD bit of VI6_UDSn_CTRL register,
and modifies scaling formula to fit AMD bit.
What's the rationale for that ? What are
Hi Kaneko-san,
Thank you for the patch.
On Thursday 28 May 2015 21:59:39 Yoshihiro Kaneko wrote:
From: Damian Hobson-Garcia dhobs...@igel.co.jp
Make sure that there are valid values in the crop rectangle to ensure
that the color plane doesn't get shifted when cropping.
Since there is no
Hi Iwamatsu-san,
I've found this patch series in my inbox, my apologies for not having noticed
it earlier.
On Thursday 29 January 2015 09:53:53 Nobuhiro Iwamatsu wrote:
Clipping size bit of VI6_WPFn _HSZCLIP and VI6_WPFn _VSZCLIP register are
from 0 bit to 11 bit. But VI6_WPF_SZCLIP_SIZE_MASK
Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com
drivers/media/pci/mantis/mantis_i2c.c: In function 'mantis_i2c_init':
drivers/media/pci/mantis/mantis_i2c.c:222:15: warning: variable 'intmask' set
but not used [-Wunused-but-set-variable]
u32 intstat, intmask;
Signed-off-by: Mauro
Em Thu, 11 Jun 2015 08:05:25 +0200
Hans Verkuil hverk...@xs4all.nl escreveu:
mantis_i2c.c:222:15: warning: variable 'intmask' set but not used
[-Wunused-but-set-variable]
u32 intstat, intmask;
^
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
diff --git
Em Sun, 14 Jun 2015 01:44:54 +0200
David Härdeman da...@hardeman.nu escreveu:
On 2015-05-23 13:34, Antti Seppälä wrote:
On 22 May 2015 at 13:33, David Härdeman da...@hardeman.nu wrote:
On 2015-05-22 07:27, Antti Seppälä wrote:
I think that approach too is far from perfect as it leaves us
Hi Mauro,
I suppose it's too late for v4.2, but who knows :-) If it is, v4.3 is fine as
well.
The following changes since commit f8d5556fa9dbf6b88e1a8fe88e47ad1b8ddb4742:
[media] videodev2.h: fix copy-and-paste error in V4L2_MAP_XFER_FUNC_DEFAULT
(2015-06-18 14:34:46 -0300)
are available
tree: git://linuxtv.org/media_tree.git media-controller
head: 61891e24706322835582f8b6b184be9adbf78427
commit: 61891e24706322835582f8b6b184be9adbf78427 [1277/1277] [media] au0828:
Cache the decoder info at au0828 dev structure
config: x86_64-rhel (attached as .config)
reproduce:
git
Hi Mikhail,
(CC'ing Kamil Debski)
On Wednesday 06 May 2015 01:03:10 Mikhail Ulianov wrote:
On Mon, 04 May 2015 02:32:05 +0300 Laurent Pinchart wrote:
+/*
+ *
+ * video ioctl operations
+ *
Hi Damian,
On Monday 18 May 2015 17:17:52 Damian Hobson-Garcia wrote:
On 2015-05-04 7:13 AM, Laurent Pinchart wrote:
On Thursday 30 April 2015 14:22:02 Sergei Shtylyov wrote:
On 4/29/2015 8:05 PM, Yoshihiro Kaneko wrote:
From: Damian Hobson-Garcia dhobs...@igel.co.jp
Make sure that
On Thu 11-06-15 10:52:22, Hans Verkuil wrote:
Jan,
This patch causes a regressing in videobuf2-dma-sg with a potential deadlock:
[ 82.290231] ==
[ 82.290232] [ INFO: possible circular locking dependency detected ]
[ 82.290235]
On Mon 15-06-15 09:24:55, Hans Verkuil wrote:
This reverts commit 48b25a3a713b90988b6882d318f7c0a6bed9aabc.
That commit caused two regressions. The first is a BUG:
BUG: unable to handle kernel NULL pointer dereference at 0100
IP: [810d5cd0] __lock_acquire+0x2f0/0x2070
On 06/18/2015 12:33 PM, Jan Kara wrote:
On Mon 15-06-15 09:24:55, Hans Verkuil wrote:
This reverts commit 48b25a3a713b90988b6882d318f7c0a6bed9aabc.
That commit caused two regressions. The first is a BUG:
BUG: unable to handle kernel NULL pointer dereference at 0100
IP:
40 matches
Mail list logo