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: Wed May 25 04:00:25 CEST 2016
git branch: test
git hash: bc2b80ee3490651904f121eac1c8fb7652d48253
gcc versi
Hi Jeremy,
On 24-05-2016 21:00, Jeremy Gebben wrote:
Helen,
I am more of a v4l2 newb than a reviewer, but I got your driver working
on a qemu arm64 system. Using it to play with mediactl -p was
a good way to get started.
I did have 2 minor include path problems. Maybe they come in implicitly
o
Helen,
I am more of a v4l2 newb than a reviewer, but I got your driver working
on a qemu arm64 system. Using it to play with mediactl -p was
a good way to get started.
I did have 2 minor include path problems. Maybe they come in implicitly
on other architectures? See below:
On 4/27/16 10:33
Media Device Allocator API to allows multiple drivers share a media device.
Using this API, drivers can allocate a media device with the shared struct
device as the key. Once the media device is allocated by a driver, other
drivers can get a reference to it. The media device is released when all
th
Change au0828 to use Media Device Allocator API to allocate media device
with the parent usb struct device as the key, so it can be shared with the
snd usb audio driver.
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-core.c | 12
drivers/media/usb/au0828/au0828.h
Media Device Allocator API to allows multiple drivers share a media device.
Using this API, drivers can allocate a media device with the shared struct
device as the key. Once the media device is allocated by a driver, other
drivers can get a reference to it. The media device is released when all
th
Hi Sakari,
Thank you for the patch.
On Tuesday 24 May 2016 23:56:33 Sakari Ailus wrote:
> Sometimes it's useful to be able to parse the entity independent of the pad.
> Separate entity parsing into media_parse_entity().
>
> Signed-off-by: Sakari Ailus
Acked-by: Laurent Pinchart
> ---
> util
Hi
HSV is a cylindrical-coordinate representation of a color. It is very
useful for computer vision because the Hue component can be used to
segment a scene.
My plan was to add a format in videodev2.h and then add support for
vivid, libv4l2-convert and qv4l2.
There are also plans to prepare a p
Sometimes it's useful to be able to parse the entity independent of the pad.
Separate entity parsing into media_parse_entity().
Signed-off-by: Sakari Ailus
---
utils/media-ctl/libmediactl.c | 29 +
utils/media-ctl/mediactl.h| 14 ++
2 files changed, 39
Hi Laurent,
On Tue, May 24, 2016 at 08:14:22PM +0300, Laurent Pinchart wrote:
...
> > +struct media_pad *media_parse_pad(struct media_device *media,
> > + const char *p, char **endp)
> > +{
> > + unsigned int pad;
> > + struct media_entity *entity;
> > + char *end
Hi Laurent,
Thanks for the review!
On Tue, May 24, 2016 at 08:09:37PM +0300, Laurent Pinchart wrote:
...
> > + if (strcmp(entity->info.name, name) == 0)
>
> While the kernel API guarantees that entity->info.name will be NULL-
> terminated, wouldn't it be safer to add a safety check her
Hi!
> >>devm_regulator_get()?
> >
> >I'd rather avoid devm_ here. Driver is simple enough to allow it.
> >
>
> Now thinking about it, what would happen here if regulator_get() returns
> -EPROBE_DEFER? Wouldn't it be better to move regulator_get to the probe()
> function, something like:
Ok, I ca
Hello,
This RFC patch adds support for the Omnivision OV5647 sensor.
At the moment it only supports 640x480 in Raw 8.
Ramiro Oliveira (2):
Add OV5647 device tree documentation
Add support for Omnivision OV5647
.../devicetree/bindings/media/i2c/ov5647.txt | 29 +
MAINTAINERS
Signed-off-by: roliveir
---
.../devicetree/bindings/media/i2c/ov5647.txt | 29 ++
1 file changed, 29 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/ov5647.txt
diff --git a/Documentation/devicetree/bindings/media/i2c/ov5647.txt
b/Documenta
Signed-off-by: roliveir
---
MAINTAINERS| 7 +
drivers/media/i2c/Kconfig | 11 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/ov5647.c | 891 +
4 files changed, 910 insertions(+)
create mode 100644 drivers/media/i2c/ov5647.c
Hello,
I was hoping to get some tips on cross compiling v4l-utils for Android. I
am targeting a Nexus 5 Marshmallow device (using the android-6.0.1_r41
branch) and have the complete AOSP tree, it is built and flashed in my
device.
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET
Hi Sakari,
Thank you for the patch.
On Tuesday 24 May 2016 15:48:03 Sakari Ailus wrote:
> Sometimes it's useful to be able to parse the entity independent of the pad.
> Separate entity parsing into media_parse_entity().
>
> Signed-off-by: Sakari Ailus
> ---
> utils/media-ctl/libmediactl.c | 28
On 05/23/2016 05:39 AM, Hans Verkuil wrote:
> On 05/13/2016 07:09 PM, Shuah Khan wrote:
>> Add media_device_unregister_put() interface to release reference to a media
>> device allocated using the Media Device Allocator API. The media device is
>> unregistered and freed when the last driver that ho
Hi Sakari,
Thank you for the patch.
On Tuesday 24 May 2016 15:48:02 Sakari Ailus wrote:
> Recently it was decided that the API dealing with string operations would
> be better to just receive a nul-terminated string rather than a string the
> length of which is defined. This change was implemente
On 05/23/2016 05:26 AM, Hans Verkuil wrote:
> Hi Shuah,
>
> Some comments below:
Thanks for the review.
>
> On 05/13/2016 07:09 PM, Shuah Khan wrote:
>> Media Device Allocator API to allows multiple drivers share a media device.
>> Using this API, drivers can allocate a media device with the sh
Verify that the request state is IDLE before queueing it. Also mark
requests queued when they're queued, and return the request to IDLE if
queueing it failed.
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 55 +---
1 file changed, 47 insert
From: Laurent Pinchart
Allow subsystems to associate data with entities in each request. This
will be used by the V4L2 subdev core to store pad formats in requests.
Signed-off-by: Laurent Pinchart
---
Changes since v0:
- Dereference requests without holding the list lock
- Remove requests fr
From: Laurent Pinchart
The request API allows bundling media device parameters with request
objects and applying them atomically, either synchronously or
asynchronously.
Signed-off-by: Laurent Pinchart
---
Changes since v0:
- Make the request ID 32 bits wide internally
---
- Strip off the
From: Laurent Pinchart
The V4L2 request API consists in extensions to existing V4L2 ioctls.
Document it.
Signed-off-by: Laurent Pinchart
---
Documentation/DocBook/media/v4l/common.xml | 2 +
Documentation/DocBook/media/v4l/io.xml | 9 ++-
Documentation/DocBook/media/v4l/r
Events on a media device tell about completion of requests. Blocking and
non-blocking operation is supported.
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 102 ++-
include/media/media-device.h | 10 +
include/uapi/linux/media.h |
Implement poll for events. POLLPRI is used to notify users on incoming
events.
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c
index 2ff8b29.
From: Laurent Pinchart
Let userspace specify a request ID when getting or setting formats or
selection rectangles.
>From a userspace point of view the API change is minimized and doesn't
require any new ioctl.
Signed-off-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
---
include/uapi/linux
Add flags to requests. The first defined flag, MEDIA_REQ_FL_COMPLETE_EVENT
is used to tell whether to queue an event on request completion. Unless
the flag is set, no event is generated when a request completes.
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 24 --
From: Hans Verkuil
The driver has to set allow_requests explicitly in order to allow
queuing or preparing buffers for a specific request ID.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-v4l2.c | 5 +
include/media/videobuf2-core.h | 2 ++
2 files changed, 7 i
From: Hans Verkuil
When queuing buffers allow for passing the request ID that
should be associated with this buffer. Split the u32 reserved2 field
into two u16 fields, one for request, one with the old reserved2 name.
Signed-off-by: Hans Verkuil
Use full 32 bits for the request ID.
Signed-off
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 9 +
include/media/media-device.h | 8
2 files changed, 17 insertions(+)
diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c
index 85b13db..7781c49 100644
--- a/drivers/media/media-device.c
+++ b
From: Laurent Pinchart
Store the formats in per-entity request data. The get and set format
operations are completely handled by the V4L2 core with help of the try
format driver operation.
Signed-off-by: Laurent Pinchart
---
drivers/media/v4l2-core/v4l2-ioctl.c | 121 ++
From: Laurent Pinchart
Let userspace specify a request ID when getting or setting formats. The
support is limited to the multi-planar API at the moment, extending it
to the single-planar API is possible if needed.
>From a userspace point of view the API change is also minimized and
doesn't requi
Add DocBook documentation for media events.
Signed-off-by: Sakari Ailus
---
.../DocBook/media/v4l/media-controller.xml | 1 +
.../DocBook/media/v4l/media-ioc-dqevent.xml| 156 +
2 files changed, 157 insertions(+)
create mode 100644 Documentation/DocBook/med
From: Laurent Pinchart
The V4L2 subdev request API consists in extensions to existing V4L2
subdev ioctls. Document it.
Signed-off-by: Laurent Pinchart
---
.../DocBook/media/v4l/vidioc-subdev-g-fmt.xml | 27 +++---
.../media/v4l/vidioc-subdev-g-selection.xml| 24 +++
Signed-off-by: Sakari Ailus
---
.../DocBook/media/v4l/media-ioc-request-cmd.xml| 24 ++
1 file changed, 24 insertions(+)
diff --git a/Documentation/DocBook/media/v4l/media-ioc-request-cmd.xml
b/Documentation/DocBook/media/v4l/media-ioc-request-cmd.xml
index 4f4acea..14c0
From: Laurent Pinchart
Store the formats and selection rectangles in per-entity request data.
This minimizes changes to drivers by reusing the v4l2_subdev_pad_config
infrastructure.
Signed-off-by: Laurent Pinchart
Replace three if's for testing the same variable by a switch.
Signed-off-by: Sa
From: Laurent Pinchart
The media request API is made of a new ioctl to implement request
management. Document it.
Signed-off-by: Laurent Pinchart
Strip off the reserved fields.
Signed-off-by: Sakari Ailus
---
.../DocBook/media/v4l/media-controller.xml | 1 +
.../DocBook/media/v4l/
Once the request has been queued and later on completed, a driver will
mark the request complete by calling media_device_request_complete().
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 49
include/media/media-device.h | 3 +++
2 fi
From: Laurent Pinchart
Now that the subdev crop API is considered obsolete, the selection API
that replaces it deserves a full documentation instead of referring to
the crop API documentation.
Signed-off-by: Laurent Pinchart
---
.../media/v4l/vidioc-subdev-g-selection.xml| 37 +
Hi all,
This is a second version of the RFC set on my request API work. It
includes patches from myself as well as from Hans and Laurent.
The current set can be found here as well:
http://git.retiisi.org.uk/?p=~sailus/linux.git;a=shortlog;h=refs/heads/request>
I keep updating it as I work with
Prevent deleting queued requests. Also mark deleted requests as such by
adding a new state for them.
Signed-off-by: Sakari Ailus
---
drivers/media/media-device.c | 21 +
include/media/media-device.h | 1 +
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/drive
Hi Hans,
On Tue, May 24, 2016 at 05:36:42PM +0200, Hans Verkuil wrote:
> On 05/24/2016 05:28 PM, Sakari Ailus wrote:
> > Hi Hans,
> >
> >> Should it be mentioned here that changing the video format might change
> >> the buffersize? In case the buffersize is always a multiple of the width?
> >
>
Hello Krzysztof,
Krzysztof Kozlowski wrote:
> On 05/24/2016 03:49 PM, Tobias Jakobi wrote:
>> Hello Krzysztof,
>>
>> are you sure that these are the only differences. Because AFAIK there
>> are quite a few more:
>> - DMA submission of commands
>> - blend mode / rounding
>> - solid fill
>> - YCrCb
The following changes since commit aff093d4bbca91f543e24cde2135f393b8130f4b:
[media] exynos-gsc: avoid build warning without CONFIG_OF (2016-05-09
18:38:33 -0300)
are available in the git repository at:
git://linuxtv.org/kdebski/media_tree_2.git fixes-20160524
for you to fetch changes up
On 05/24/2016 05:28 PM, Sakari Ailus wrote:
> Hi Hans,
>
>> Should it be mentioned here that changing the video format might change
>> the buffersize? In case the buffersize is always a multiple of the width?
>
> Isn't that the case in general, as with pixel formats? buffersize could also
> be so
Hi Hans,
On Mon, May 23, 2016 at 12:09:16PM +0200, Hans Verkuil wrote:
> On 05/12/2016 02:18 AM, Laurent Pinchart wrote:
> > The metadata buffer type is used to transfer metadata between userspace
> > and kernelspace through a V4L2 buffers queue. It comes with a new
> > metadata capture capability
On Mon, May 23, 2016 at 01:45:44PM +0200, Hans Verkuil wrote:
> Fix duplicate tests in condition. The second test for vidioc_cropcap
> should have tested for vidioc_g_selection instead.
>
> Signed-off-by: Hans Verkuil
> Reported-by: David Binderman
Acked-by: Sakari Ailus
--
Sakari Ailus
e-ma
This patch series add V4L2_PIX_FMT_VP9 and the documentation.
Wu-Cheng Li (3):
videodev2.h: add V4L2_PIX_FMT_VP9 format.
v4l2-ioctl: add VP9 format description.
V4L: add VP9 format documentation
Documentation/DocBook/media/v4l/pixfmt.xml | 5 +
drivers/media/v4l2-core/v4l2-ioctl.c
This adds VP9 video coding format, a successor to VP8.
Signed-off-by: Wu-Cheng Li
---
include/uapi/linux/videodev2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 8f95191..a95f940 100644
--- a/include/uapi/linux/videodev
Add documentation for V4L2_PIX_FMT_VP9.
Signed-off-by: Wu-Cheng Li
---
Documentation/DocBook/media/v4l/pixfmt.xml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml
b/Documentation/DocBook/media/v4l/pixfmt.xml
index 5a08aee..ab915c3 100644
--- a/
VP9 is a video coding format and a successor to VP8.
Signed-off-by: Wu-Cheng Li
---
drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c
b/drivers/media/v4l2-core/v4l2-ioctl.c
index 28e5be2..8f3e631 100644
--- a/drivers/me
The part can be reset by a low pulse on the RESET pin (i.e. a hardware
reset) with a minimum width of 5 ms. It is recommended to wait 5 ms
after the low pulse before an I2C write is performed to the part.
For safety reasons, the delays will be between 5 and 10 ms.
The RESET pin can be tied high, s
On 05/24/2016 03:49 PM, Tobias Jakobi wrote:
> Hello Krzysztof,
>
> are you sure that these are the only differences. Because AFAIK there
> are quite a few more:
> - DMA submission of commands
> - blend mode / rounding
> - solid fill
> - YCrCb support
> - and probably more
>
> One would need to a
Hello Krzysztof,
are you sure that these are the only differences. Because AFAIK there
are quite a few more:
- DMA submission of commands
- blend mode / rounding
- solid fill
- YCrCb support
- and probably more
One would need to add least split the command list parser into a v3 and
v41 version to
This patch allows device drivers to initialize more than one reserved
memory region assigned to given device. When driver needs to use more
than one reserved memory region, it should allocate child devices and
initialize regions by index for each of its child devices.
Signed-off-by: Marek Szyprows
This patch removes custom code for initialization and handling of
reserved memory regions in s5p-mfc driver and replaces it with generic
reserved memory regions api.
s5p-mfc driver now handles two reserved memory regions defined by
generic reserved memory bindings. Support for non-dt platform has
Once MFC driver has been converted to generic reserved memory bindings,
there is no need for custom memory reservation code.
Signed-off-by: Marek Szyprowski
---
arch/arm/mach-exynos/Makefile | 2 -
arch/arm/mach-exynos/exynos.c | 19
arch/arm/mach-exynos/mfc.h | 16 --
Use generic reserved memory bindings and mark old, custom properties
as obsoleted.
Signed-off-by: Marek Szyprowski
---
.../devicetree/bindings/media/s5p-mfc.txt | 39 +-
1 file changed, 31 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree/bindings/
This patch replaces custom properties for defining reserved memory
regions with generic reserved memory bindings for MFC video codec
device.
Signed-off-by: Marek Szyprowski
---
arch/arm/boot/dts/exynos-mfc-reserved-memory.dtsi | 27 ++
arch/arm/boot/dts/exynos4210-origen.dts
Enable support for Multimedia Codec (MFC) device for all Exynos4412-based
Odroid boards.
Signed-off-by: Marek Szyprowski
---
arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
b/arch/arm/boot/
device works correctly either when
IOMMU is either enabled or disabled (assuming that board provides
required reserved memory regions).
Patches have been tested on top of linux-next from 20160524 with some
additional patches:
- "[PATCH 0/3] [media] s5p-mfc: Fixes for issues when module is re
This patch adds support for IOMMU to s5p-mfc device driver. MFC firmware
is limited and it cannot use the default configuration. If IOMMU is
available, the patch disables the default DMA address space
configuration and creates a new address space of size limited to 256M
and base address set to 0x20
The non-DRM s5p-g2d driver supports two versions of G2D: v3.0 on
S5Pv210 and v4.x on Exynos 4x12 (or newer). The driver for 3.0 device
version is doing two things differently:
1. Before starting the render process, it invalidates caches (pattern,
source buffer and mask buffer). Cache control is
Remove the old non-DRM driver because it is now entirely supported by
exynos_drm_g2d driver.
Cc: Kyungmin Park
Cc: Kamil Debski
Signed-off-by: Krzysztof Kozlowski
---
MAINTAINERS | 8 -
drivers/gpu/drm/exynos/Kconfig| 1 -
drivers/media/platform/Kc
Hi,
These two patches prepare for the mediatext library and clean up
libmediactl interface a little.
--
Kind regards,
Sakari
--
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
Sometimes it's useful to be able to parse the entity independent of the pad.
Separate entity parsing into media_parse_entity().
Signed-off-by: Sakari Ailus
---
utils/media-ctl/libmediactl.c | 28
utils/media-ctl/mediactl.h| 14 ++
2 files changed, 38
Recently it was decided that the API dealing with string operations would
be better to just receive a nul-terminated string rather than a string the
length of which is defined. This change was implemented for
v4l2_subdev_string_to_pixelcode() and v4l2_subdev_string_to_field()
functions by patch "v4
Hi Dragos,
On Tuesday 24 May 2016 12:13:22 Dragos Bogdan wrote:
> The part can be reset by a low pulse on the RESET pin (i.e. a hardware
> reset) with a minimum width of 5 ms. It is recommended to wait 5 ms after
> the low pulse before an I2C write is performed to the part. For safety
> reasons, t
On 05/24/16 14:09, Laurent Pinchart wrote:
> The dv_timings_cap() and enum_dv_timings() pad operations take a pad
> number as an input argument and return the DV timings capabilities and
> list of supported DV timings for that pad.
>
> Commit bd3e275f3ec0 ("[media] media: i2c: adv7604: Use v4l2-dv
The dv_timings_cap() and enum_dv_timings() pad operations take a pad
number as an input argument and return the DV timings capabilities and
list of supported DV timings for that pad.
Commit bd3e275f3ec0 ("[media] media: i2c: adv7604: Use v4l2-dv-timings
helpers") broke this as it started ignoring
Hi!
> The sensor is found in Nokia N900 main camera
>
> Signed-off-by: Ivaylo Dimitrov
> +/*
> + * A buffered write method that puts the wanted register write
> + * commands in a message list and passes the list to the i2c framework
> + */
> +static int et8ek8_i2c_buffered_write_regs(struct i2c
Hello,
On 2016-05-03 22:27, Javier Martinez Canillas wrote:
Hello,
This patch series fixes some issues that I noticed when trying to remove
the s5p-mfc driver when built as a module.
Some of these issues will be fixed once Marek's patches to convert the
custom memory region reservation code i
Hello,
On 2016-05-07 00:11, Javier Martinez Canillas wrote:
From: ayaka
User-space applications can use the VIDIOC_REQBUFS ioctl to determine if a
memory mapped, user pointer or DMABUF based I/O is supported by the driver.
So a set of VIDIOC_REQBUFS ioctl calls will be made with count 0 and
On Mon 2016-04-25 00:08:04, Ivaylo Dimitrov wrote:
> From: Sakari Ailus
>
> Required added multiplier (and divisor) calculation did not take into
> account the existing divisor when checking the values against the minimum
> divisor. Do just that.
>
> Signed-off-by: Sakari Ailus
Acked-by: Pavel
The part can be reset by a low pulse on the RESET pin (i.e. a hardware reset)
with a minimum width of 5 ms. It is recommended to wait 5 ms after the low
pulse before an I2C write is performed to the part.
For safety reasons, the delays will be 10 ms.
The RESET pin can be tied high, so the GPIO is
This adds support for AD5820 autofocus coil, found for example in
Nokia N900 smartphone.
Signed-off-by: Pavel Machek
---
v2: simple cleanups, fix error paths, simplify probe
v3: more cleanups, remove printk, add include
v4: remove header file.
diff --git a/drivers/media/i2c/Kconfig b/drivers/me
On 05/24/2016 11:13 AM, Dragos Bogdan wrote:
> The part can be reset by a low pulse on the RESET pin (i.e. a hardware reset)
> with a minimum width of 5 ms. It is recommended to wait 5 ms after the low
> pulse before an I2C write is performed to the part.
> For safety reasons, the delays will be
On 24.05.2016 12:04, Pavel Machek wrote:
Hi!
+static int ad5820_registered(struct v4l2_subdev *subdev)
+{
+ struct ad5820_device *coil = to_ad5820_device(subdev);
+ struct i2c_client *client = v4l2_get_subdevdata(subdev);
+
+ coil->vana = regulator_get(&client->dev, "VANA");
On Sunday 01 May 2016 13:45:24 Sakari Ailus wrote:
> Hi Ivaylo,
>
> On Mon, Apr 25, 2016 at 12:08:04AM +0300, Ivaylo Dimitrov wrote:
> > From: Sakari Ailus
> >
> > Required added multiplier (and divisor) calculation did not take into
> > account the existing divisor when checking the values agai
Hi!
> >+static int ad5820_registered(struct v4l2_subdev *subdev)
> >+{
> >+struct ad5820_device *coil = to_ad5820_device(subdev);
> >+struct i2c_client *client = v4l2_get_subdevdata(subdev);
> >+
> >+coil->vana = regulator_get(&client->dev, "VANA");
>
> devm_regulator_get()?
I'd rath
All multimedia devices found on Exynos SoCs support only contiguous
buffers, so set DMA max segment size to DMA_BIT_MASK(32) to let memory
allocator to correctly create contiguous memory mappings.
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/exynos-gsc/gsc-core.c | 2 ++
drivers/m
Hello,
This patch is a follow-up of my previous attempts to let Exynos
multimedia devices to work properly with shared buffers when IOMMU is
enabled:
1. https://www.mail-archive.com/linux-media@vger.kernel.org/msg96946.html
2. http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/
Add a helper function for device drivers to set DMA's max_seg_size.
Setting it to largest possible value lets DMA-mapping API always create
contiguous mappings in DMA address space. This is essential for all
devices, which use dma-contig videobuf2 memory allocator and shared
buffers.
Till now, the
84 matches
Mail list logo