[PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Mauro Carvalho Chehab
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

[Bug 40211] texture probleme in wolfenstein enemy territory rv770

2012-10-10 Thread bugzilla-dae...@freedesktop.org
- 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>

[Linaro-mm-sig] [PATCHv9 00/25] Integration of videobuf2 with DMABUF

2012-10-10 Thread Kyungmin Park
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 >> -

[PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Alan Cox
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

[BUG] drm/nouveau: NULL pointer dereference in nouveau_channel_new()

2012-10-10 Thread Ortwin Glück
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:

RC6 for an Intel GU doesn't always work

2012-10-10 Thread Toralf Förster
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

[RFC PATCH] drm/i915: Add atomic page flip support

2012-10-10 Thread ville.syrj...@linux.intel.com
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

[RFC PATCH] drm/i915: Implement atomic modesetting

2012-10-10 Thread ville.syrj...@linux.intel.com
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

[RFC PATCH] drm: Atomic modeset ioctl

2012-10-10 Thread ville.syrj...@linux.intel.com
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

[RFC PATCH] Atomic modeset/pageflip update

2012-10-10 Thread ville.syrj...@linux.intel.com
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

[PATCHv10 26/26] v4l: s5p-mfc: support for dmabuf exporting

2012-10-10 Thread Tomasz Stanislawski
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 ++

[PATCHv10 25/26] v4l: s5p-tv: mixer: support for dmabuf exporting

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 24/26] v4l: s5p-fimc: support for dmabuf exporting

2012-10-10 Thread Tomasz Stanislawski
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 +

[PATCHv10 23/26] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 22/26] v4l: vb2-dma-contig: fail if user ptr buffer is not correctly aligned

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 21/26] v4l: vb2-dma-contig: add reference counting for a device from allocator context

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 20/26] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 19/26] v4l: vb2: add buffer exporting via dmabuf

2012-10-10 Thread Tomasz Stanislawski
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 +

[PATCHv10 18/26] v4l: add buffer exporting via dmabuf

2012-10-10 Thread Tomasz Stanislawski
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 ---

[PATCHv10 17/26] Documentation: media: description of DMABUF exporting in V4L2

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 16/26] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 15/26] v4l: s5p-fimc: support for dmabuf importing

2012-10-10 Thread 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 +-

[PATCHv10 14/26] v4l: s5p-tv: mixer: support for dmabuf importing

2012-10-10 Thread Tomasz Stanislawski
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(-)

[PATCHv10 13/26] v4l: vivi: support for dmabuf importing

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 12/26] v4l: vb2-vmalloc: add support for dmabuf importing

2012-10-10 Thread Tomasz Stanislawski
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 +

[PATCHv10 11/26] v4l: vb2-dma-contig: add support for dma_buf importing

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 10/26] v4l: vb2-dma-contig: add prepare/finish to dma-contig allocator

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 09/26] v4l: vb2: add prepare/finish callbacks to allocators

2012-10-10 Thread Tomasz Stanislawski
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 ---

[PATCHv10 08/26] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 07/26] v4l: vb2-dma-contig: reorder functions

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 06/26] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 05/26] v4l: vb2-dma-contig: shorten vb2_dma_contig prefix to vb2_dc

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 04/26] v4l: vb: remove warnings about MEMORY_DMABUF

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 03/26] v4l: vb2: add support for shared buffer (dma_buf)

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 02/26] Documentation: media: description of DMABUF importing in V4L2

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 01/26] v4l: Add DMABUF as a memory type

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 00/26] Integration of videobuf2 with DMABUF

2012-10-10 Thread Tomasz Stanislawski
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 -

[PATCHv9 19/25] v4l: vb2: add buffer exporting via dmabuf

2012-10-10 Thread Tomasz Stanislawski
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:

[PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Rob Clark
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

[PATCHv9 00/25] Integration of videobuf2 with DMABUF

2012-10-10 Thread Laurent Pinchart
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 > > -

[Bug 55819] Mouse cursor corruption when moving between monitors

2012-10-10 Thread bugzilla-dae...@freedesktop.org
rs again. 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>

[PATCH] drm: avoid passing null pointer to memset

2012-10-10 Thread Chris Wilson
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

[Bug 55819] Mouse cursor corruption when moving between monitors

2012-10-10 Thread bugzilla-dae...@freedesktop.org
o 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/attachments/20121010

[PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Mauro Carvalho Chehab
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

[PATCH -next] drm: fix radeon printk format warnings

2012-10-10 Thread Randy Dunlap
op.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_atpx_handler.c +++ linux-next-20121010/drivers/gpu/drm/

[Bug 55819] Mouse cursor corruption when moving between monitors

2012-10-10 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121010/d86533f2/attachment.html>

[PATCH 0/3] Android support

2012-10-10 Thread Chad Versace
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

[PATCH] Android.mk: use LOCAL_COPY_HEADERS to export headers. v2

2012-10-10 Thread Chad Versace
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. > >

[Bug 55829] [Regression]Smokin-guns crash when change resolution

2012-10-10 Thread bugzilla-dae...@freedesktop.org
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

[PATCH v5 1/3] drm: Add user-defined EDID quirks capability

2012-10-10 Thread Jani Nikula
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

[Bug 55829] [Regression]Smokin-guns crash when change resolution

2012-10-10 Thread bugzilla-dae...@freedesktop.org
art -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121010/4ace4d87/attachment.html>

[Bug 55829] New: [Regression]Smokin-guns crash when change resolution

2012-10-10 Thread bugzilla-dae...@freedesktop.org
6_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>

[Bug 40211] texture probleme in wolfenstein enemy territory rv770

2012-10-10 Thread bugzilla-dae...@freedesktop.org
You 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>

[PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Robert Morell
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

[PATCHv9 00/25] Integration of videobuf2 with DMABUF

2012-10-10 Thread Mauro Carvalho Chehab
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:

[git pull] drm nouveau fixes

2012-10-10 Thread Dave Airlie
Hi Linus, just a bunch of nouveau fixes, Ben wants to get some alternate versions into stable. Dave. The following changes since commit 1f31c69dac71bebc0f00bc8534a6345782045501: Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-next (2012-10-07

[PATCH 10/11] drm/omap: use drm_send_vblank_event() helper

2012-10-10 Thread Rob Clark
On Tue, Oct 9, 2012 at 10:33 PM, Mario Kleiner wrote: > On 08.10.12 21:50, Rob Clark wrote: >> >> From: Rob Clark >> >> Signed-off-by: Rob Clark >> --- >> drivers/staging/omapdrm/omap_crtc.c | 31 >> ++- >> 1 file changed, 6 insertions(+), 25 deletions(-) >> >>

[PATCH 10/11] drm/omap: use drm_send_vblank_event() helper

2012-10-10 Thread Mario Kleiner
On 08.10.12 21:50, Rob Clark wrote: > From: Rob Clark > > Signed-off-by: Rob Clark > --- > drivers/staging/omapdrm/omap_crtc.c | 31 ++- > 1 file changed, 6 insertions(+), 25 deletions(-) > > diff --git a/drivers/staging/omapdrm/omap_crtc.c >

Re: [PATCH v5 1/3] drm: Add user-defined EDID quirks capability

2012-10-10 Thread Jani Nikula
On Tue, 09 Oct 2012, Ian Pilcher arequip...@gmail.com 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

[git pull] drm nouveau fixes

2012-10-10 Thread Dave Airlie
Hi Linus, just a bunch of nouveau fixes, Ben wants to get some alternate versions into stable. Dave. The following changes since commit 1f31c69dac71bebc0f00bc8534a6345782045501: Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-next (2012-10-07

[PATCH] Fix calculation of memory needed for page handles

2012-10-10 Thread Vincent Penquerc'h
Hi, Wrong sizeof used, fixed in attached patch, and below. From 7f430a4104bee5f75929580a66128b7b0e2859d9 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h vincent.penque...@collabora.co.uk Date: Tue, 9 Oct 2012 17:18:33 +0100 Subject: [PATCH] drm/omap: fix allocation size for page addresses

Re: [PATCH] drm/omap: fix allocation size for page addresses array

2012-10-10 Thread Greg KH
On Tue, Oct 09, 2012 at 01:01:08PM -0500, Vincent Penquerc'h wrote: Signed-off-by: Rob Clark r...@ti.com --- drivers/staging/omapdrm/omap_gem.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Having a patch From: someone else is fine, but please get a signed-off-by from them as

Re: Update on the CEC API

2012-10-10 Thread Mauro Carvalho Chehab
Em Mon, 08 Oct 2012 19:45:14 +0200 Florian Fainelli f.faine...@gmail.com escreveu: On Monday 08 October 2012 17:49:00 Hans Verkuil wrote: On Mon October 8 2012 17:06:20 Florian Fainelli wrote: Hi Hans, On Thursday 27 September 2012 16:33:30 Hans Verkuil wrote: Hi all,

[Bug 40211] texture probleme in wolfenstein enemy territory rv770

2012-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40211 --- Comment #10 from Michel Dänzer mic...@daenzer.net --- (In reply to comment #8) my glxinfo output with mesa 8.0.4 That's actually a post-8.0 Git snapshot... Did you sort out the 32 vs. 64 bit issues? -- You are receiving this mail

[Bug 55829] New: [Regression]Smokin-guns crash when change resolution

2012-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55829 Priority: high Bug ID: 55829 Assignee: dri-devel@lists.freedesktop.org Summary: [Regression]Smokin-guns crash when change resolution Severity: major Classification: Unclassified

[Bug 55829] [Regression]Smokin-guns crash when change resolution

2012-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55829 --- Comment #1 from meng mengmeng.m...@intel.com --- Created attachment 68393 -- https://bugs.freedesktop.org/attachment.cgi?id=68393action=edit Xorg.0.log -- You are receiving this mail because: You are the assignee for the bug.

[Bug 55829] [Regression]Smokin-guns crash when change resolution

2012-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55829 Chris Wilson ch...@chris-wilson.co.uk changed: What|Removed |Added Status|NEW |NEEDINFO ---

Re: [PATCH 10/11] drm/omap: use drm_send_vblank_event() helper

2012-10-10 Thread Rob Clark
On Tue, Oct 9, 2012 at 10:33 PM, Mario Kleiner mario.klei...@tuebingen.mpg.de wrote: On 08.10.12 21:50, Rob Clark wrote: From: Rob Clark r...@ti.com Signed-off-by: Rob Clark r...@ti.com --- drivers/staging/omapdrm/omap_crtc.c | 31 ++- 1 file changed, 6

Re: [Linaro-mm-sig] [PATCHv9 00/25] Integration of videobuf2 with DMABUF

2012-10-10 Thread Kyungmin Park
On 10/10/12, Mauro Carvalho Chehab mche...@redhat.com wrote: Hi, Em Tue, 02 Oct 2012 16:27:11 +0200 Tomasz Stanislawski t.stanisl...@samsung.com escreveu: Hello everyone, This patchset adds support for DMABUF [2] importing and exporting to V4L2 stack. v9: - rebase on 3.6 - change type

Re: [PATCH] drm: avoid passing null pointer to memset

2012-10-10 Thread Chris Wilson
On Tue, 9 Oct 2012 16:56:58 -0300, Rodrigo Vivi rodrigo.v...@gmail.com 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

[Bug 55819] Mouse cursor corruption when moving between monitors

2012-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55819 --- Comment #6 from Nikolaus Rath nikol...@rath.org --- I'm using 3.2.0 from Jul 23, so I believe I have the fix. Is there a way to know for sure? -- You are receiving this mail because: You are the assignee for the bug.

Re: [PATCHv9 00/25] Integration of videobuf2 with DMABUF

2012-10-10 Thread Laurent Pinchart
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 type for fs

[Bug 55819] Mouse cursor corruption when moving between monitors

2012-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55819 --- Comment #7 from Michel Dänzer mic...@daenzer.net --- (In reply to comment #6) I'm using 3.2.0 from Jul 23, so I believe I have the fix. It's unlikely, as the fix was only backported to the upstream 3.2 stable branch on August 2nd. Is

Re: [PATCHv9 19/25] v4l: vb2: add buffer exporting via dmabuf

2012-10-10 Thread Tomasz Stanislawski
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 t.stanisl...@samsung.com Signed-off-by: Kyungmin Park

[Bug 55819] Mouse cursor corruption when moving between monitors

2012-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55819 --- Comment #8 from Nikolaus Rath nikol...@rath.org --- On 10/10/2012 09:39 AM, bugzilla-dae...@freedesktop.org wrote: *Comment # 7 https://bugs.freedesktop.org/show_bug.cgi?id=55819#c7 on bug 55819

[PATCHv10 00/26] Integration of videobuf2 with DMABUF

2012-10-10 Thread Tomasz Stanislawski
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 -

[PATCHv10 01/26] v4l: Add DMABUF as a memory type

2012-10-10 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com Adds DMABUF memory type to v4l framework. Also adds the related file descriptor in v4l2_plane and v4l2_buffer. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com [original work in the PoC for buffer sharing] Signed-off-by: Sumit Semwal

[PATCHv10 02/26] Documentation: media: description of DMABUF importing in V4L2

2012-10-10 Thread Tomasz Stanislawski
This patch adds description and usage examples for importing DMABUF file descriptor in V4L2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: linux-...@vger.kernel.org --- Documentation/DocBook/media/v4l/compat.xml |

[PATCHv10 03/26] v4l: vb2: add support for shared buffer (dma_buf)

2012-10-10 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com 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

[PATCHv10 04/26] v4l: vb: remove warnings about MEMORY_DMABUF

2012-10-10 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com 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 sumit.sem...@ti.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans

[PATCHv10 05/26] v4l: vb2-dma-contig: shorten vb2_dma_contig prefix to vb2_dc

2012-10-10 Thread Tomasz Stanislawski
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/videobuf2-dma-contig.c | 36 1 file changed, 18 insertions(+), 18

[PATCHv10 06/26] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 07/26] v4l: vb2-dma-contig: reorder functions

2012-10-10 Thread Tomasz Stanislawski
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Group functions by buffer type. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/videobuf2-dma-contig.c | 92 ++-- 1 file

[PATCHv10 08/26] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-10-10 Thread Tomasz Stanislawski
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 m.szyprow...@samsung.com and Kamil Debski k.deb...@samsung.com and Andrzej Pietrasiewicz

[PATCHv10 09/26] v4l: vb2: add prepare/finish callbacks to allocators

2012-10-10 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by:

[PATCHv10 10/26] v4l: vb2-dma-contig: add prepare/finish to dma-contig allocator

2012-10-10 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com Add prepare/finish callbacks to vb2-dma-contig allocator. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCHv10 11/26] v4l: vb2-dma-contig: add support for dma_buf importing

2012-10-10 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com 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 sumit.sem...@ti.com Signed-off-by: Sumit Semwal

[PATCHv10 12/26] v4l: vb2-vmalloc: add support for dmabuf importing

2012-10-10 Thread Tomasz Stanislawski
This patch adds support for importing DMABUF files for vmalloc allocator in Videobuf2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil

[PATCHv10 13/26] v4l: vivi: support for dmabuf importing

2012-10-10 Thread Tomasz Stanislawski
This patch enhances VIVI driver with a support for importing a buffer from DMABUF file descriptors. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivi.c |

[PATCHv10 14/26] v4l: s5p-tv: mixer: support for dmabuf importing

2012-10-10 Thread Tomasz Stanislawski
This patch enhances s5p-tv with support for DMABUF importing via V4L2_MEMORY_DMABUF memory type. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCHv10 15/26] v4l: s5p-fimc: support for dmabuf importing

2012-10-10 Thread Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF importing via V4L2_MEMORY_DMABUF memory type. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Hans Verkuil

[PATCHv10 16/26] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

2012-10-10 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com 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

[PATCHv10 17/26] Documentation: media: description of DMABUF exporting in V4L2

2012-10-10 Thread Tomasz Stanislawski
This patch adds description and usage examples for exporting DMABUF file descriptor in V4L2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: linux-...@vger.kernel.org --- Documentation/DocBook/media/v4l/compat.xml|

[PATCHv10 18/26] v4l: add buffer exporting via dmabuf

2012-10-10 Thread Tomasz Stanislawski
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 t.stanisl...@samsung.com Signed-off-by: Kyungmin Park

[PATCHv10 19/26] v4l: vb2: add buffer exporting via dmabuf

2012-10-10 Thread Tomasz Stanislawski
This patch adds extension to videobuf2-core. It allow to export a mmap buffer as a file descriptor. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans

[PATCHv10 20/26] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-10-10 Thread Tomasz Stanislawski
This patch adds support for exporting a dma-contig buffer using DMABUF interface. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/videobuf2-dma-contig.c |

[PATCHv10 21/26] v4l: vb2-dma-contig: add reference counting for a device from allocator context

2012-10-10 Thread Tomasz Stanislawski
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

[PATCHv10 23/26] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

2012-10-10 Thread Tomasz Stanislawski
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 t.stanisl...@samsung.com --- drivers/media/v4l2-core/videobuf2-dma-contig.c |3 +++ 1 file changed, 3 insertions(+) diff

[PATCHv10 24/26] v4l: s5p-fimc: support for dmabuf exporting

2012-10-10 Thread Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Hans Verkuil hans.verk...@cisco.com

[PATCHv10 25/26] v4l: s5p-tv: mixer: support for dmabuf exporting

2012-10-10 Thread Tomasz Stanislawski
This patch enhances s5p-tv with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/s5p-tv/mixer_video.c |

  1   2   >