shadow,Natural shadow
Photo Retouching Service
Photo Retouching, Glamour Retouching.
Our Service is 24-48 hours but we can deliver the images sooner in case of
emergency.
We can give you editing test on your photos.
We do unlimited revisions until you are satisfied with the work.
Thanks,
Jan Williams
shadow,Natural shadow
Photo Retouching Service
Photo Retouching, Glamour Retouching.
Our Service is 24-48 hours but we can deliver the images sooner in case of
emergency.
We can give you editing test on your photos.
We do unlimited revisions until you are satisfied with the work.
Thanks,
Jan Williams
as suggested by Steve Longerbeam
(is_parallel_bus and requires_passthrough)
- removed passthough format check in csi_link_validate() (suggested by
Philipp Zabel during internal review)
Jan Luebbe (2):
media: imx: capture: refactor enum_/try_fmt
media: imx: add support for RGB565_2X8
and bus, we then update the width to
account for the multiple cycles per pixel.
Signed-off-by: Jan Luebbe <j...@pengutronix.de>
Signed-off-by: Steve Longerbeam <steve_longerb...@mentor.com>
---
drivers/staging/media/imx/imx-media-csi.c | 101 +---
drivers/staging/m
don't need to check the details of the
format anymore.
Signed-off-by: Jan Luebbe <j...@pengutronix.de>
---
drivers/staging/media/imx/imx-media-capture.c | 38 +--
1 file changed, 18 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/media/imx/imx-media-captur
stead (like parents names,
> security number or whatever), with would be weird, IMO.
>
> As we all use e-mails to uniquely identify contributors submissions,
> IMHO, the best is to keep using e-mails. The side effect is that
> we should keep those emails updated.
Understood but e-ma
and bus, we then update the width to
account for the multiple cycles per pixel.
The passthrough check in csi_link_validate() can be dropped because the
downstream elements already verifiy their input formats.
Signed-off-by: Jan Luebbe <j...@pengutronix.de>
---
drivers/staging/media/imx/imx
don't need to check the details of the
format anymore.
Signed-off-by: Jan Luebbe <j...@pengutronix.de>
---
drivers/staging/media/imx/imx-media-capture.c | 38 +--
1 file changed, 18 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/media/imx/imx-media-captur
test robot
- added helper functions as suggested by Steve Longerbeam
(is_parallel_bus and requires_passthrough)
- removed passthough format check in csi_link_validate() (suggested by
Philipp Zabel during internal review)
Jan Luebbe (2):
media: imx: capture: refactor enum_/try_fmt
Hi,
On Mon, 2018-05-07 at 11:21 -0700, Steve Longerbeam wrote:
> On 05/07/2018 07:23 AM, Jan Lübbe wrote:
> > On Sat, 2018-05-05 at 15:22 -0700, Steve Longerbeam wrote:
> > > I reviewed this patch series, and while I don't have any
> > > objections to the code-lev
vice is 24bit - the user can connect a 16 bit
> sample of it (RGB565
> format). The IPU has to be configured in the same way as the case of
> CSI#_SENS_DATA_FORMAT=RGB565
I've not looked at this case, as I don't have a sensor with that format
either. :/
Thanks,
Jan
--
Pengutronix e.
Wdiscarded-qualifiers]
> outcc = priv->cc[priv->active_output_pad];
>^
I've fixed this and the unneeded semicolon for the next round.
Regards,
Jan
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://
This series adds a binding and the corresponding V4L subdev driver for
the TI SCAN921226H video deserializer. Although the device doesn't need
to be configured, it can be controlled via GPIOs to allow multiple
sensors on the same parallel video bus.
Jan Luebbe (2):
media: dt-bindings: add
the parallel bus. By enabling only one at a time,
a camera can be selected at runtime using mediactl.
This driver will en-/disable the deserializer via GPIOs as needed
depending on the media entity link state.
The current v4l2-compliance doesn't report any warnings or errors.
Signed-off-by: Jan Luebbe
-by: Jan Luebbe <j...@pengutronix.de>
---
.../bindings/media/ti,scan921226h.txt | 59 +++
1 file changed, 59 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/ti,scan921226h.txt
diff --git a/Documentation/devicetree/bindings/media/ti,scan921226h.
RGB565_2X8 support for the parallel bus, this
series simplifies handing of the the different configurations for RGB565
between parallel and MIPI CSI-2 in imx-media-capture. This avoids having
to explicitly pass on the format in the second patch.
Jan Luebbe (2):
media: imx: capture: refactor enum_
and bus, we then update the width to
account for the multiple cycles per pixel.
Signed-off-by: Jan Luebbe <j...@pengutronix.de>
---
drivers/staging/media/imx/imx-media-csi.c | 47 ++---
drivers/staging/media/imx/imx-media-utils.c | 1 +
drivers/staging/media/imx/imx-m
don't need to check the details of the
format anymore.
Signed-off-by: Jan Luebbe <j...@pengutronix.de>
---
drivers/staging/media/imx/imx-media-capture.c | 38 +--
1 file changed, 18 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/media/imx/imx-media-captur
A burst_size of 4 does not work for the 16 bit passthrough formats, so
we use 8 instead.
Signed-off-by: Jan Luebbe <j...@pengutronix.de>
---
drivers/staging/media/imx/imx-media-csi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/imx/imx-media-cs
l can
> coordinate revoking DMA access when the filesystem needs to truncate
> mappings.
>
> Reported-by: Jan Kara <j...@suse.cz>
> Cc: Mauro Carvalho Chehab <mche...@kernel.org>
> Cc: linux-media@vger.kernel.org
> Cc: <sta...@vger.kernel.org>
> Fixes: 356
Cc: Inki Dae <inki@samsung.com>
> Cc: Seung-Woo Kim <sw0312@samsung.com>
> Cc: Joonyoung Shim <jy0922.s...@samsung.com>
> Cc: Kyungmin Park <kyungmin.p...@samsung.com>
> Cc: Mauro Carvalho Chehab <mche...@kernel.org>
> Cc: linux-media@vger.
On Thursday 2017-01-12 16:52, Nicolas Dichtel wrote:
>Le 09/01/2017 à 13:56, Christoph Hellwig a écrit :
>> On Fri, Jan 06, 2017 at 10:43:59AM +0100, Nicolas Dichtel wrote:
>>> Regularly, when a new header is created in include/uapi/, the developer
>>> forgets to
r (and hence
> bugs) within the mm subsystem.
>
> Signed-off-by: Lorenzo Stoakes <lstoa...@gmail.com>
Looks good. You can add:
Reviewed-by: Jan Kara <j...@suse.cz>
Honza
> ---
> drivers/gpu/drm/exynos/exynos
behaviour
> (and
> hence bugs) within the mm subsystem.
>
> Signed-off-by: Lorenzo Stoakes <lstoa...@gmail.com>
After our discussion the patch looks good to me. You can add:
Reviewed-by: Jan Kara <j...@suse.cz>
Honza
--
J
remote_vm(NULL, mm, addr, buf, len,
> + write ? FOLL_WRITE : 0);
> }
>
> /*
> @@ -1871,7 +1873,8 @@ int access_process_vm(struct task_struct *tsk, unsigned
> long addr, void *buf, in
> if (!mm)
> return 0;
>
> - len =
hence
> bugs) within the mm subsystem.
>
> Signed-off-by: Lorenzo Stoakes <lstoa...@gmail.com>
The patch looks good. You can add:
Reviewed-by: Jan Kara <j...@suse.cz>
Honza
> ---
> arch/cris/arch-v32/d
behaviour
> (and
> hence bugs) within the mm subsystem.
>
> Signed-off-by: Lorenzo Stoakes <lstoa...@gmail.com>
Looks good. You can add:
Reviewed-by: Jan Kara <j...@suse.cz>
Honza
> ---
> drivers/gpu/drm/etnaviv/
On Tue 18-10-16 14:56:09, Lorenzo Stoakes wrote:
> On Tue, Oct 18, 2016 at 02:54:25PM +0200, Jan Kara wrote:
> > > @@ -1282,7 +1282,7 @@ long get_user_pages(unsigned long start, unsigned
> > > long nr_pages,
> > > int write,
guments second but I don't care that much. But it definitely should be
consistent...
Honza
--
Jan Kara <j...@suse.com>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body o
ng behaviour
> (and
> hence bugs) within the mm subsystem.
>
> Signed-off-by: Lorenzo Stoakes <lstoa...@gmail.com>
Looks good. You can add:
Reviewed-by: Jan Kara <j...@suse.cz>
Honza
--
Jan Kara <j...@suse.co
> mm subsystem.
>
> Signed-off-by: Lorenzo Stoakes <lstoa...@gmail.com>
The patch looks good. You can add:
Reviewed-by: Jan Kara <j...@suse.cz>
Honza
--
Jan Kara <j...@suse.com>
SUSE Labs, CR
--
To unsubscribe
he mm subsystem.
>
> Signed-off-by: Lorenzo Stoakes <lstoa...@gmail.com>
Looks good. You can add:
Reviewed-by: Jan Kara <j...@suse.cz>
Honza
--
Jan Kara <j...@suse.com>
SUSE Labs, CR
--
To unsubscribe from this list:
.@newtec.dk>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.riba...@gmail.com>
The patch looks good. Thanks for fixing this! You can add:
Reviewed-by: Jan Kara <j...@suse.cz>
Honza
> ---
>
> Maybe we sh
From: Jan Kara <j...@suse.cz>
Convert ivtv_yuv_prep_user_dma() to use get_user_pages_unlocked() so
that we don't unnecessarily leak knowledge about mm locking into drivers
code.
CC: Andy Walls <awa...@md.metrocast.net>
CC: Mauro Carvalho Chehab <mche...@osg.samsung.com&g
From: Jan Kara <j...@suse.cz>
Hello,
Now when the usage of get_user_pages() in media drivers got cleaned up, here
comes a series which removes knowledge about mmap_sem from a couple of other
drivers. Patches are trivial and standalone but please check, they are only
compile tested.
On Sat 18-07-15 12:14:12, Inki Dae wrote:
On 2015년 07월 17일 19:31, Hans Verkuil wrote:
On 07/17/2015 12:29 PM, Inki Dae wrote:
On 2015년 07월 17일 19:20, Hans Verkuil wrote:
On 07/13/2015 04:55 PM, Jan Kara wrote:
From: Jan Kara j...@suse.cz
Convert g2d_userptr_get_dma_addr() to pin pages
From: Jan Kara j...@suse.cz
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
On Mon 13-07-15 10:45:25, Hans Verkuil wrote:
On 07/09/2015 02:12 PM, Hans Verkuil wrote:
On 07/09/2015 01:48 PM, Jan Kara wrote:
Hello,
Hans, did you have a chance to look at these patches? I have tested them
with the vivid driver but it would be good if you could run them through
From: Jan Kara j...@suse.cz
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
From: Jan Kara j...@suse.cz
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
From: Jan Kara j...@suse.cz
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
From: Jan Kara j...@suse.cz
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
From: Jan Kara j...@suse.cz
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
From: Jan Kara j...@suse.cz
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
From: Jan Kara j...@suse.cz
Hello,
I'm sending the seventh version of my patch series to abstract vma handling
from the various media drivers. Since the previous version there are just
minor cleanups and fixes (see detailed changelog at the end of the email).
After this patch set drivers have
From: 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
From: Jan Kara j...@suse.cz
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
...
Honza
On Thu 18-06-15 16:08:30, Jan Kara wrote:
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
not sure if the mmread() is still needed. But as I don't have any
docs about the chipset I would keep it because that's how it has been
tested. I could re-test without it but I guess nobody cares about the
extra mmread() in the init path anyway.
Acked-by: Jan Klötzke j...@kloetzke.net
Regards,
Jan
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
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
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 a/drivers
98 - -98
get_vaddr_frames 485 --485
Suggested-by: Andrew Morton a...@linux-foundation.org
Signed-off-by: Jan Kara j...@suse.cz
---
drivers/gpu/drm/exynos/Kconfig | 1 +
drivers/media/platform/omap/Kconfig | 1
-by: Jan Kara j...@suse.cz
---
drivers/media/platform/omap/omap_vout.c | 67 +++--
1 file changed, 31 insertions(+), 36 deletions(-)
diff --git a/drivers/media/platform/omap/omap_vout.c
b/drivers/media/platform/omap/omap_vout.c
index 17b189a81ec5..0e4b3cfacc5d 100644
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 j
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 j
resolved once we convert
videobuf2 core to the new mm helper which avoids the need for mmap_sem
in .put_userptr memop altogether.
Signed-off-by: Jan Kara j...@suse.cz
---
drivers/media/v4l2-core/videobuf2-core.c | 2 --
drivers/media/v4l2-core/videobuf2-dma-contig.c | 5 +
drivers/media/v4l2
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
...@suse.cz
Signed-off-by: Jan Kara j...@suse.cz
---
include/linux/mm.h | 44 +++
mm/gup.c | 223 +
2 files changed, 267 insertions(+)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 0755b9fd03a7..dcd1f02a78e9 100644
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
.
Without this patch I cannot reproduce these two issues. So reverting is the
best
solution for now.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Cc: Jan Kara j...@suse.cz
Cc: Andrew Morton a...@linux-foundation.org
---
drivers/media/v4l2-core/videobuf2-core.c | 2
On 13.06.15 at 01:15, l...@amacapital.net wrote:
On Jun 12, 2015 12:59 AM, Jan Beulich jbeul...@suse.com wrote:
On 12.06.15 at 01:23, toshi.k...@hp.com wrote:
There are two usages on MTRRs:
1) MTRR entries set by firmware
2) MTRR entries set by OS drivers
We can obsolete 2
supported in physical memory ranges. However, this information gets
lost when it it is converted to e820 table.
I'm afraid you rather don't want to trust that information, as
firmware vendors frequently screw it up.
Jan
--
To unsubscribe from this list: send the line unsubscribe linux-media
This RC map was taken from Christoph Pinkl's patch
(http://patchwork.linuxtv.org/patch/7217/). It is used solely by the respective
mantis based card because the encoding is not known.
Signed-off-by: Jan Klötzke j...@kloetzke.net
---
drivers/media/rc/keymaps/Makefile | 1
by the UART worker.
Signed-off-by: Jan Klötzke j...@kloetzke.net
---
drivers/media/pci/mantis/hopper_cards.c | 13 +++-
drivers/media/pci/mantis/mantis_cards.c | 60 +
drivers/media/pci/mantis/mantis_common.h | 33 --
drivers/media/pci/mantis/mantis_dma.c| 5
This RC map was taken from Christoph Pinkl's patch
(http://patchwork.linuxtv.org/patch/7217/). It is used solely by the respective
mantis based card because the encoding is not known.
Signed-off-by: Jan Klötzke j...@kloetzke.net
---
drivers/media/rc/keymaps/Makefile| 1
The TS35 remote is distributed with TechniSat CableStar HD2 cards (mantis
chipset). The exact protocol type is unknown, making this rc map probably only
usable by mantis cards.
Signed-off-by: Jan Klötzke j...@kloetzke.net
---
drivers/media/rc/keymaps/Makefile| 1 +
drivers/media/rc
This RC map was taken from Christoph Pinkl's patch
(http://patchwork.linuxtv.org/patch/7217/). It is used solely by the respective
mantis based card because the encoding is not known.
Signed-off-by: Jan Klötzke j...@kloetzke.net
---
drivers/media/rc/keymaps/Makefile | 1
Hi Mauro,
I am re-submitting my patch for remote control support of mantis based DVB
cards for the 3rd time. The last submission can be found here [1]. It has been
rebased and tested on v4.0. It has been working fine on my HTPC for almost
three years now. Compared to the previous submission I've
On Tue 02-06-15 15:29:12, Andrew Morton wrote:
On Tue, 2 Jun 2015 17:23:00 +0200 Jan Kara j...@suse.cz wrote:
That's a lump of new code which many kernels won't be needing. Can we
put all this in a new .c file and select it within drivers/media
Kconfig?
So the attached patch
On Thu 28-05-15 16:24:02, Andrew Morton wrote:
On Wed, 13 May 2015 15:08:08 +0200 Jan Kara j...@suse.cz wrote:
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
On Thu 28-05-15 16:24:02, Andrew Morton wrote:
On Wed, 13 May 2015 15:08:08 +0200 Jan Kara j...@suse.cz wrote:
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
On Mon 25-05-15 13:37:56, Hans Verkuil wrote:
Hi Jan,
On 05/13/2015 03:08 PM, Jan Kara wrote:
Hello,
I'm sending the fifth version of my patch series to abstract vma handling
from the various media drivers. The patches got some review from mm people
and
testing from device
Removed Japan wide band region since this is impossible to do just
like that. Additionally it's now possible to go back to non-Japanese regions
without having to reload the module.
Greetings
Jan Roemisch
On Sat, May 16, 2015 at 07:06:17AM -0700, Greg KH wrote:
On Sat, May 16, 2015 at 01:22:27PM
Oh sorry, the real name is Jan Roemisch.
Greetings
Jan
--
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
On Thu 14-05-15 19:51:23, Inki Dae wrote:
Hi,
On 2015년 05월 13일 22:08, Jan Kara wrote:
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
Hello,
I'm sending the fifth version of my patch series to abstract vma handling
from the various media drivers. The patches got some review from mm people and
testing from device driver guys so unless someone objects, patches will be
queued in media tree for the next merge window.
After this
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 j
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 | 97 +-
1 file changed, 15 insertions(+), 82 deletions(-)
diff --git a/drivers
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 j
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
...@suse.cz
Signed-off-by: Jan Kara j...@suse.cz
---
include/linux/mm.h | 44 +++
mm/gup.c | 226 +
2 files changed, 270 insertions(+)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 0755b9fd03a7..dcd1f02a78e9 100644
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
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
-by: Jan Kara j...@suse.cz
---
drivers/media/platform/omap/omap_vout.c | 67 +++--
1 file changed, 31 insertions(+), 36 deletions(-)
diff --git a/drivers/media/platform/omap/omap_vout.c
b/drivers/media/platform/omap/omap_vout.c
index 17b189a81ec5..0e4b3cfacc5d 100644
into .get_userptr and .put_userptr memops
so that the semaphore is acquired for a shorter time and it is clearer
what it is needed for.
Signed-off-by: Jan Kara j...@suse.cz
---
drivers/media/v4l2-core/videobuf2-core.c | 2 --
drivers/media/v4l2-core/videobuf2-dma-contig.c | 7 +++
drivers/media
On Fri 08-05-15 15:49:22, Mel Gorman wrote:
On Wed, May 06, 2015 at 09:28:09AM +0200, Jan Kara wrote:
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
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 | 97 +-
1 file changed, 15 insertions(+), 82 deletions(-)
diff --git a/drivers
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
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
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 j
into .get_userptr and .put_userptr memops
so that the semaphore is acquired for a shorter time and it is clearer
what it is needed for.
Signed-off-by: Jan Kara j...@suse.cz
---
drivers/media/v4l2-core/videobuf2-core.c | 2 --
drivers/media/v4l2-core/videobuf2-dma-contig.c | 7 +++
drivers/media
-by: Jan Kara j...@suse.cz
---
drivers/media/platform/omap/omap_vout.c | 67 +++--
1 file changed, 31 insertions(+), 36 deletions(-)
diff --git a/drivers/media/platform/omap/omap_vout.c
b/drivers/media/platform/omap/omap_vout.c
index 17b189a81ec5..d3f6d82ccbc1 100644
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
Hello,
Sorry for a quick resend but the missing vmalloc include in mm/gup.c is
annoying for archs that need it and I was also told to extend CC list a bit.
I'm sending the fourth version of my patch series to abstract vma handling
from the various media drivers. After this patch set drivers
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 j
belongs to VM_IO | VM_PFNMAP vma, we don't touch page structures. Caller
must make sure pfns aren't reused for anything else while he is using
them.
This function is created for various drivers to simplify handling of
their buffers.
Signed-off-by: Jan Kara j...@suse.cz
---
include/linux/mm.h | 44
1 - 100 of 283 matches
Mail list logo