On Wed October 10 2012 23:02:06 Rob Clark wrote:
> On Wed, Oct 10, 2012 at 1:17 PM, Alan Cox wrote:
> > On Wed, 10 Oct 2012 08:56:32 -0700
> > Robert Morell wrote:
> >
> >> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
> >> issue, and not really an interface". The dma-
Hello Ben Skeggs,
The patch ebb945a94bba: "drm/nouveau: port all engines to new engine
module format" from Jul 20, 2012, leads to the following warning:
drivers/gpu/drm/nouveau/nouveau_abi16.c:264
nouveau_abi16_ioctl_channel_alloc()
warn: should '1 << init->channel' be a 64 bit type
https://bugs.freedesktop.org/show_bug.cgi?id=40211
--- Comment #12 from Michel Dänzer ---
(In reply to comment #11)
> err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most
> likely your OpenGL drivers haven't been installed correctly (using GL
> renderer "Gallium 0.4 on AMD
Em Thu, 11 Oct 2012 09:22:34 +1000
Dave Airlie escreveu:
> On Thu, Oct 11, 2012 at 4:17 AM, Alan Cox wrote:
> > On Wed, 10 Oct 2012 08:56:32 -0700
> > Robert Morell wrote:
> >
> >> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
> >> issue, and not really an interface".
Em Thu, 11 Oct 2012 09:22:34 +1000
Dave Airlie escreveu:
> On Thu, Oct 11, 2012 at 4:17 AM, Alan Cox wrote:
> > On Wed, 10 Oct 2012 08:56:32 -0700
> > Robert Morell wrote:
> >
> >> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
> >> issue, and not really an interface".
..
--
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20121010/d2f271bf/attachment.html>
On 10/10/12, Mauro Carvalho Chehab wrote:
> Hi,
>
> Em Tue, 02 Oct 2012 16:27:11 +0200
> Tomasz Stanislawski escreveu:
>
>> Hello everyone,
>> This patchset adds support for DMABUF [2] importing and exporting to V4L2
>> stack.
>>
>> v9:
>> - rebase on 3.6
>> - change type for fs to __s32
>> - add
>> On Thu, Oct 11, 2012 at 4:17 AM, Alan Cox wrote:
>> > On Wed, 10 Oct 2012 08:56:32 -0700
>> > Robert Morell wrote:
>> >
>> >> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
>> >> issue, and not really an interface". The dma-buf infrastructure is
>> >> explicitly inte
On Wed, 10 Oct 2012 08:56:32 -0700
Robert Morell wrote:
> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
> issue, and not really an interface". The dma-buf infrastructure is
> explicitly intended as an interface between modules/drivers, so it
> should use EXPORT_SYMBOL
https://bugs.freedesktop.org/show_bug.cgi?id=55829
--- Comment #4 from meng ---
The problem also exists on most 3D games such as gl-117, warsow,Extreme
TuxRacer,padman.
--
You are receiving this mail because:
You are the assignee for the bug.
___
dri-
Hi,
Current nouveau code in Linus' tree oopses with noaccel. Didn't happen
in 3.6. Full dmesg attached.
Ortwin
BUG: unable to handle kernel NULL pointer dereference at 0018
Oct 10 18:05:49 localhost kernel: IP: []
nouveau_channel_new+0x41e/0x670
Oct 10 18:05:49 localhost kernel: PG
Sometimes - after a reboot or after wakeup from s2disk I'm observed at
my ThinkPad T420 (i5-2540M CPU) w/ integrated intel graphic (i915
module) since 3.6-rc(5?), that the temperature is above 80?C (usually it
is around/lower than 50 ?C). Powertop-2.1 shows, that the all 4 CPU
cores are mostly idle
https://bugs.freedesktop.org/show_bug.cgi?id=55829
meng changed:
What|Removed |Added
Status|NEEDINFO|NEW
--- Comment #3 from meng ---
bt
From: Ville Syrj?l?
Utilize drm_flip to implement "atomic page flip". When involving
multiple planes on one pipe, the operations on the planes must be
synchronized via software since the hardware doesn't provide the
means. drm_flip is used to make that happen, and to track the progress
of the fli
From: Ville Syrj?l?
Implement the atomic modeset operations.
TODO: need to rewrite this for the new intel modeset code
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/i915/Makefile|1 +
drivers/gpu/drm/i915/intel_atomic.c | 1462 ++
drivers/gpu/dr
From: Ville Syrj?l?
The atomic modeset ioctl cna be used to push any number of new values
for object properties. The driver can then check the full device
configuration as single unit, and try to apply the changes atomically.
The ioctl simply takes a list of object IDs and property IDs and their
Here's another set of atomic modeset and pageflip patches. I just skipped
spamming the list with all the patches that contain the gritty details for
now. These three provide an eagle eye view of the whole thing. The full
series can be found here [1].
The accompanying libdrm stuff is here [2].
So
This patch enhances s5p-mfc with support for DMABUF exporting via
VIDIOC_EXPBUF ioctl.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
CC: Kamil Debski
Acked-by: Hans Verkuil
---
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 14 ++
drivers/media/platform/s5p-mfc
This patch enhances s5p-tv with support for DMABUF exporting via
VIDIOC_EXPBUF ioctl.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Hans Verkuil
---
drivers/media/platform/s5p-tv/mixer_video.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers
This patch enhances s5p-fimc with support for DMABUF exporting via
VIDIOC_EXPBUF ioctl.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
CC: Sylwester Nawrocki
Acked-by: Hans Verkuil
---
drivers/media/platform/s5p-fimc/fimc-capture.c |9 +
drivers/media/platform/s5p
Most operations on DMA and DMABUF framework need page
aligned buffers. This fix guarantees this requirement
for vb2-dma-contig buffers.
Signed-off-by: Tomasz Stanislawski
---
drivers/media/v4l2-core/videobuf2-dma-contig.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/v4
From: Marek Szyprowski
The DMA transfer must be aligned to a specific value. If userptr is not aligned
to DMA requirements then unexpected corruptions of the memory may occur before
or after a buffer. To prevent such situations, all unligned userptr buffers
are rejected at VIDIOC_QBUF.
Signed-o
This patch adds taking reference to the device for MMAP buffers.
Such buffers, may be exported using DMABUF mechanism. If the driver that
created a queue is unloaded then the queue is released, the device might be
released too. However, buffers cannot be released if they are referenced by
DMABUF
This patch adds support for exporting a dma-contig buffer using
DMABUF interface.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 200
1 file changed, 200 insertions(+)
diff -
This patch adds extension to videobuf2-core. It allow to export a mmap buffer
as a file descriptor.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-mem2mem.c | 13 +
drivers/media/v4l2-c
This patch adds extension to V4L2 api. It allow to export a mmap buffer as file
descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset used by
mmap and return a file descriptor on success.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/v4l2-cor
This patch adds description and usage examples for exporting
DMABUF file descriptor in V4L2.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
CC: linux-doc at vger.kernel.org
---
Documentation/DocBook/media/v4l/compat.xml|3 +
Documentation/DocBook/media/v4l/io.xml
From: Marek Szyprowski
Let mmap method to use dma_mmap_coherent call. Moreover, this patch removes
vb2_mmap_pfn_range from videobuf2 helpers as it was suggested by Laurent
Pinchart. The function is no longer used in vb2 code.
Signed-off-by: Marek Szyprowski
Signed-off-by: Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF importing via
V4L2_MEMORY_DMABUF memory type.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Sylwester Nawrocki
Acked-by: Hans Verkuil
---
drivers/media/platform/s5p-fimc/fimc-capture.c |2 +-
drivers/media/pl
This patch enhances s5p-tv with support for DMABUF importing via
V4L2_MEMORY_DMABUF memory type.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Hans Verkuil
---
drivers/media/platform/s5p-tv/mixer_video.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
This patch enhances VIVI driver with a support for importing a buffer
from DMABUF file descriptors.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Hans Verkuil
---
drivers/media/platform/vivi.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dr
This patch adds support for importing DMABUF files for
vmalloc allocator in Videobuf2.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/Kconfig |1 +
drivers/media/v4l2-core/videobuf2-
From: Sumit Semwal
This patch makes changes for adding dma-contig as a dma_buf user. It provides
function implementations for the {attach, detach, map, unmap}_dmabuf()
mem_ops of DMABUF memory type.
Signed-off-by: Sumit Semwal
Signed-off-by: Sumit Semwal
[author of the original patch]
From: Marek Szyprowski
Add prepare/finish callbacks to vb2-dma-contig allocator.
Signed-off-by: Marek Szyprowski
Acked-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 24
1 file changed, 24 insertions(+)
diff --git
From: Marek Szyprowski
This patch adds support for prepare/finish callbacks in VB2 allocators. These
callback are used for buffer flushing.
Signed-off-by: Marek Szyprowski
Acked-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-core.c | 11 +++
inclu
This patch introduces usage of dma_map_sg to map memory behind
a userspace pointer to a device as dma-contiguous mapping.
This patch contains some of the code kindly provided by Marek Szyprowski
and Kamil Debski and
Andrzej
Pietrasiewicz . Kind thanks for bug reports from
Laurent
Pinchart and
From: Laurent Pinchart
Group functions by buffer type.
Signed-off-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 92 ++--
1 file changed, 54 insertions(+), 38 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2-d
This patch removes a reference to alloc_ctx from an instance of a DMA
contiguous buffer. It helps to avoid a risk of a dangling pointer if the
context is released while the buffer is still valid. Moreover it removes one
dereference step while accessing a device structure.
Signed-off-by: Tomasz Sta
From: Laurent Pinchart
Signed-off-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 36
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2-dma-contig.c
b/drivers/media/v4l2
From: Sumit Semwal
Adding DMABUF memory type causes videobuf to complain about not using it
in some switch cases. This patch removes these warnings.
Signed-off-by: Sumit Semwal
Acked-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf-core.c |4
1 file c
From: Sumit Semwal
This patch adds support for DMABUF memory type in videobuf2. It calls relevant
APIs of dma_buf for v4l reqbuf / qbuf / dqbuf operations.
For this version, the support is for videobuf2 as a user of the shared buffer;
so the allocation of the buffer is done outside of V4L2. [A s
This patch adds description and usage examples for importing
DMABUF file descriptor in V4L2.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
CC: linux-doc at vger.kernel.org
---
Documentation/DocBook/media/v4l/compat.xml |4 +
Documentation/DocBook/media/v4l/io.xml
From: Sumit Semwal
Adds DMABUF memory type to v4l framework. Also adds the related file
descriptor in v4l2_plane and v4l2_buffer.
Signed-off-by: Tomasz Stanislawski
[original work in the PoC for buffer sharing]
Signed-off-by: Sumit Semwal
Signed-off-by: Sumit Semwal
Acked-by: Laurent Pinch
Hello everyone,
This patchset adds support for DMABUF [2] importing and exporting to V4L2
stack.
v10:
- rebase on media-next 3.7
- typos and style fixes in Documentation (from Hans Verkuil)
- fix compilation error with __fill_vb2_buffer
- fix uninitialized data_offset for single-planar queue
- sup
On Thu, Oct 11, 2012 at 4:17 AM, Alan Cox wrote:
> On Wed, 10 Oct 2012 08:56:32 -0700
> Robert Morell wrote:
>
>> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
>> issue, and not really an interface". The dma-buf infrastructure is
>> explicitly intended as an interface
On 10/06/2012 02:22 PM, Hans Verkuil wrote:
> On Tue October 2 2012 16:27:30 Tomasz Stanislawski wrote:
>> This patch adds extension to videobuf2-core. It allow to export a mmap buffer
>> as a file descriptor.
>>
>> Signed-off-by: Tomasz Stanislawski
>> Signed-off-by: Kyungmin Park
>> Acked-by: L
On Wed, Oct 10, 2012 at 1:17 PM, Alan Cox wrote:
> On Wed, 10 Oct 2012 08:56:32 -0700
> Robert Morell wrote:
>
>> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
>> issue, and not really an interface". The dma-buf infrastructure is
>> explicitly intended as an interface
Hi Mauro,
On Wednesday 10 October 2012 07:54:18 Mauro Carvalho Chehab wrote:
> Em Tue, 02 Oct 2012 16:27:11 +0200 Tomasz Stanislawski escreveu:
> > Hello everyone,
> > This patchset adds support for DMABUF [2] importing and exporting to V4L2
> > stack.
> >
> > v9:
> > - rebase on 3.6
> > - change
Em Wed, 10 Oct 2012 08:56:32 -0700
Robert Morell escreveu:
> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
> issue, and not really an interface". The dma-buf infrastructure is
> explicitly intended as an interface between modules/drivers, so it
> should use EXPORT_SYMB
Hi,
Em Tue, 02 Oct 2012 16:27:11 +0200
Tomasz Stanislawski escreveu:
> Hello everyone,
> This patchset adds support for DMABUF [2] importing and exporting to V4L2
> stack.
>
> v9:
> - rebase on 3.6
> - change type for fs to __s32
> - add support for vb2_ioctl_expbuf
> - remove patch 'v4l: vb2:
n.
Best,
-Nikolaus
--
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20121010/5a439774/attachment.html>
On Wed, Oct 10, 2012 at 1:17 PM, Alan Cox wrote:
> On Wed, 10 Oct 2012 08:56:32 -0700
> Robert Morell wrote:
>
>> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
>> issue, and not really an interface". The dma-buf infrastructure is
>> explicitly intended as an interface
https://bugs.freedesktop.org/show_bug.cgi?id=40211
--- Comment #11 from pitam...@free.fr ---
yes, using Debian Sid, the libgl1-mesa-* package are multi-arch ready.
dpkg -L libgl1-mesa-glx:i386
shows:
.
/usr/lib/i386-linux-gnu/libGL.so.1.2
.
.
.
I have installed the libtxc-dxtn-s2tc0 both x86_64 a
On Tue, 9 Oct 2012 16:56:58 -0300, Rodrigo Vivi
wrote:
> When cmd isn't IOC_IN | IOC_OUT a null "kdata" goes to "memset", which
> dereferences it.
>
> v2: simpler version just using usize = 0 instead of allocating useless memory
>
> Signed-off-by: Rodrigo Vivi
Presuming that coverity is sma
re a way to know for sure?
Sure, inspecting the source code for your kernel. :)
--
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachment
Em Wed, 10 Oct 2012 08:56:32 -0700
Robert Morell escreveu:
> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
> issue, and not really an interface". The dma-buf infrastructure is
> explicitly intended as an interface between modules/drivers, so it
> should use EXPORT_SYMB
Cc: David Airlie
Cc: dri-devel@lists.freedesktop.org
---
drivers/gpu/drm/radeon/radeon_acpi.c |4 ++--
drivers/gpu/drm/radeon/radeon_atpx_handler.c |2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--- linux-next-20121010.orig/drivers/gpu/drm/radeon/radeon_atp
lap
Cc: David Airlie
Cc: dri-devel at lists.freedesktop.org
---
drivers/gpu/drm/radeon/radeon_acpi.c |4 ++--
drivers/gpu/drm/radeon/radeon_atpx_handler.c |2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--- linux-next-20121010.orig/drivers/gpu/drm/radeon/radeon_atp
part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20121010/d86533f2/attachment.html>
On Wed, 10 Oct 2012 08:56:32 -0700
Robert Morell wrote:
> EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
> issue, and not really an interface". The dma-buf infrastructure is
> explicitly intended as an interface between modules/drivers, so it
> should use EXPORT_SYMBOL
On 10/07/2012 10:50 PM, Tapani Pälli wrote:
> Upstreaming old set of patches here to enable Android support in libdrm.
> Some little rebasing was required for the first one.
>
> Chad Versace (2):
> libdrm,intel: Factor source file lists into sources.mk
> libdrm,intel: Add Android makefiles (v2
On 10/07/2012 10:50 PM, Tapani P?lli wrote:
> Upstreaming old set of patches here to enable Android support in libdrm.
> Some little rebasing was required for the first one.
>
> Chad Versace (2):
> libdrm,intel: Factor source file lists into sources.mk
> libdrm,intel: Add Android makefiles (v2
Is the only difference between v2 and v1 of this patch the removal of the
Change-ID tag?
On 10/08/2012 02:23 AM, Tapani Pälli wrote:
> From: Haitao Huang
>
> Export necessary header files used by other components for Android,
> such as libva intel-driver, gralloc, hwcomposer, etc.
>
> Signed-of
Is the only difference between v2 and v1 of this patch the removal of the
Change-ID tag?
On 10/08/2012 02:23 AM, Tapani P?lli wrote:
> From: Haitao Huang
>
> Export necessary header files used by other components for Android,
> such as libva intel-driver, gralloc, hwcomposer, etc.
>
> Signed-of
Wilson ---
Maybe a bt from smokinguns as it crashes?
--
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20121010/1b1e9604/attachment-0
Sometimes - after a reboot or after wakeup from s2disk I'm observed at
my ThinkPad T420 (i5-2540M CPU) w/ integrated intel graphic (i915
module) since 3.6-rc(5?), that the temperature is above 80°C (usually it
is around/lower than 50 °C). Powertop-2.1 shows, that the all 4 CPU
cores are mostly idle
On Tue, 09 Oct 2012, Ian Pilcher wrote:
> OK. I'm done.
Sincerely, if you want to get your stuff in the kernel, you need to not
give up so easily.
> I've literally been discussing these patches on this list for months, and
> you bring this up now?
Apologies, I have only been reading the list fo
xt part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20121010/4ace4d87/attachment.html>
ns.x86_64
3, change resolution(Settings/System/Video Mode)
--
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20121010/6df9dbd7/attachment.html>
are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/dri-devel/attachments/20121010/403c8910/attachment.html>
EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
issue, and not really an interface". The dma-buf infrastructure is
explicitly intended as an interface between modules/drivers, so it
should use EXPORT_SYMBOL instead.
Signed-off-by: Robert Morell
---
This patch is based on
EXPORT_SYMBOL_GPL is intended to be used for "an internal implementation
issue, and not really an interface". The dma-buf infrastructure is
explicitly intended as an interface between modules/drivers, so it
should use EXPORT_SYMBOL instead.
Signed-off-by: Robert Morell
---
This patch is based on
From: Ville Syrjälä
Utilize drm_flip to implement "atomic page flip". When involving
multiple planes on one pipe, the operations on the planes must be
synchronized via software since the hardware doesn't provide the
means. drm_flip is used to make that happen, and to track the progress
of the fli
From: Ville Syrjälä
The atomic modeset ioctl cna be used to push any number of new values
for object properties. The driver can then check the full device
configuration as single unit, and try to apply the changes atomically.
The ioctl simply takes a list of object IDs and property IDs and their
From: Ville Syrjälä
Implement the atomic modeset operations.
TODO: need to rewrite this for the new intel modeset code
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/i915/Makefile|1 +
drivers/gpu/drm/i915/intel_atomic.c | 1462 ++
drivers/gpu/dr
Here's another set of atomic modeset and pageflip patches. I just skipped
spamming the list with all the patches that contain the gritty details for
now. These three provide an eagle eye view of the whole thing. The full
series can be found here [1].
The accompanying libdrm stuff is here [2].
So
This patch enhances s5p-mfc with support for DMABUF exporting via
VIDIOC_EXPBUF ioctl.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
CC: Kamil Debski
Acked-by: Hans Verkuil
---
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 14 ++
drivers/media/platform/s5p-mfc
This patch enhances s5p-tv with support for DMABUF exporting via
VIDIOC_EXPBUF ioctl.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Hans Verkuil
---
drivers/media/platform/s5p-tv/mixer_video.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers
This patch enhances s5p-fimc with support for DMABUF exporting via
VIDIOC_EXPBUF ioctl.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
CC: Sylwester Nawrocki
Acked-by: Hans Verkuil
---
drivers/media/platform/s5p-fimc/fimc-capture.c |9 +
drivers/media/platform/s5p
Most operations on DMA and DMABUF framework need page
aligned buffers. This fix guarantees this requirement
for vb2-dma-contig buffers.
Signed-off-by: Tomasz Stanislawski
---
drivers/media/v4l2-core/videobuf2-dma-contig.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/v4
From: Marek Szyprowski
The DMA transfer must be aligned to a specific value. If userptr is not aligned
to DMA requirements then unexpected corruptions of the memory may occur before
or after a buffer. To prevent such situations, all unligned userptr buffers
are rejected at VIDIOC_QBUF.
Signed-o
This patch adds taking reference to the device for MMAP buffers.
Such buffers, may be exported using DMABUF mechanism. If the driver that
created a queue is unloaded then the queue is released, the device might be
released too. However, buffers cannot be released if they are referenced by
DMABUF
This patch adds support for exporting a dma-contig buffer using
DMABUF interface.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 200
1 file changed, 200 insertions(+)
diff -
This patch adds extension to videobuf2-core. It allow to export a mmap buffer
as a file descriptor.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-mem2mem.c | 13 +
drivers/media/v4l2-c
This patch adds extension to V4L2 api. It allow to export a mmap buffer as file
descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset used by
mmap and return a file descriptor on success.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/v4l2-cor
This patch adds description and usage examples for exporting
DMABUF file descriptor in V4L2.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
CC: linux-...@vger.kernel.org
---
Documentation/DocBook/media/v4l/compat.xml|3 +
Documentation/DocBook/media/v4l/io.xml
From: Marek Szyprowski
Let mmap method to use dma_mmap_coherent call. Moreover, this patch removes
vb2_mmap_pfn_range from videobuf2 helpers as it was suggested by Laurent
Pinchart. The function is no longer used in vb2 code.
Signed-off-by: Marek Szyprowski
Signed-off-by: Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF importing via
V4L2_MEMORY_DMABUF memory type.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Sylwester Nawrocki
Acked-by: Hans Verkuil
---
drivers/media/platform/s5p-fimc/fimc-capture.c |2 +-
drivers/media/pl
This patch enhances s5p-tv with support for DMABUF importing via
V4L2_MEMORY_DMABUF memory type.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Hans Verkuil
---
drivers/media/platform/s5p-tv/mixer_video.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
This patch enhances VIVI driver with a support for importing a buffer
from DMABUF file descriptors.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Hans Verkuil
---
drivers/media/platform/vivi.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dr
This patch adds support for importing DMABUF files for
vmalloc allocator in Videobuf2.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
Acked-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/Kconfig |1 +
drivers/media/v4l2-core/videobuf2-
From: Sumit Semwal
This patch makes changes for adding dma-contig as a dma_buf user. It provides
function implementations for the {attach, detach, map, unmap}_dmabuf()
mem_ops of DMABUF memory type.
Signed-off-by: Sumit Semwal
Signed-off-by: Sumit Semwal
[author of the original patch]
From: Marek Szyprowski
Add prepare/finish callbacks to vb2-dma-contig allocator.
Signed-off-by: Marek Szyprowski
Acked-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 24
1 file changed, 24 insertions(+)
diff --git
From: Marek Szyprowski
This patch adds support for prepare/finish callbacks in VB2 allocators. These
callback are used for buffer flushing.
Signed-off-by: Marek Szyprowski
Acked-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-core.c | 11 +++
inclu
This patch introduces usage of dma_map_sg to map memory behind
a userspace pointer to a device as dma-contiguous mapping.
This patch contains some of the code kindly provided by Marek Szyprowski
and Kamil Debski and Andrzej
Pietrasiewicz . Kind thanks for bug reports from Laurent
Pinchart and S
From: Laurent Pinchart
Group functions by buffer type.
Signed-off-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 92 ++--
1 file changed, 54 insertions(+), 38 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2-d
This patch removes a reference to alloc_ctx from an instance of a DMA
contiguous buffer. It helps to avoid a risk of a dangling pointer if the
context is released while the buffer is still valid. Moreover it removes one
dereference step while accessing a device structure.
Signed-off-by: Tomasz Sta
From: Laurent Pinchart
Signed-off-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 36
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2-dma-contig.c
b/drivers/media/v4l2
Hi,
Em Tue, 02 Oct 2012 16:27:11 +0200
Tomasz Stanislawski escreveu:
> Hello everyone,
> This patchset adds support for DMABUF [2] importing and exporting to V4L2
> stack.
>
> v9:
> - rebase on 3.6
> - change type for fs to __s32
> - add support for vb2_ioctl_expbuf
> - remove patch 'v4l: vb2:
From: Sumit Semwal
Adding DMABUF memory type causes videobuf to complain about not using it
in some switch cases. This patch removes these warnings.
Signed-off-by: Sumit Semwal
Acked-by: Laurent Pinchart
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf-core.c |4
1 file c
1 - 100 of 121 matches
Mail list logo