GPU lockup dumping

2012-05-23 Thread Dave Airlie
On Wed, May 23, 2012 at 5:26 PM, Jerome Glisse wrote: > On Wed, May 23, 2012 at 12:08 PM, Dave Airlie wrote: >> On Wed, May 23, 2012 at 3:48 PM, Jerome Glisse wrote: >>> On Wed, May 23, 2012 at 8:34 AM, Christian K?nig >>> wrote: On 23.05.2012 11:27, Dave Airlie wrote: > > On Thu,

[PATCH] drm/radeon: fix XFX quirk

2012-05-23 Thread Alex Deucher
On Wed, May 23, 2012 at 11:48 AM, wrote: > From: Alex Deucher > > Only override the ddc bus if the connector doesn't have > a valid one. ?The existing code overrode the ddc bus for > all connectors even if it had ddc bus. > > Fixes ddc on another XFX card with the same pci ids that > was broken

GPU lockup dumping

2012-05-23 Thread Dave Airlie
On Wed, May 23, 2012 at 3:48 PM, Jerome Glisse wrote: > On Wed, May 23, 2012 at 8:34 AM, Christian K?nig > wrote: >> On 23.05.2012 11:27, Dave Airlie wrote: >>> >>> On Thu, May 17, 2012 at 7:28 PM, ?wrote: So here is improved patchset, where i splited ground work necessary for the

[PATCH] drm/edid/quirks: ViewSonic VA2026w

2012-05-23 Thread Adam Jackson
Entirely new class of fail for this one. The detailed timings are for normal CVT but the monitor really wanted CVT-R. Bugzilla: http://bugzilla.redhat/com/516471 Signed-off-by: Adam Jackson --- drivers/gpu/drm/drm_edid.c | 22 ++ 1 files changed, 18 insertions(+), 4

No subject

2012-05-23 Thread
i don't think kernel is the right place for it, for instance you need to set the primary surface thing, i don't want to parse cmd stream in kernel to figure that out. I would rather have userspace tool that postprocess thing and convert it to proper AMD dump format. Cheers, Jerome

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #8 from almos 2012-05-23 08:54:18 PDT --- Created attachment 62020 --> https://bugs.freedesktop.org/attachment.cgi?id=62020 nexuiz_stderr.txt.gz (In reply to comment #7) > I can't reproduce it neither with latest mesa, nor with

[PATCH] dma-buf: minor documentation fixes.

2012-05-23 Thread Sumit Semwal
Some minor inline documentation fixes for gaps resulting from new patches. Signed-off-by: Sumit Semwal --- drivers/base/dma-buf.c |9 + include/linux/dma-buf.h |3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #7 from Vadim Girlin 2012-05-23 08:22:16 PDT --- I can't reproduce it neither with latest mesa, nor with 7a75e7d6. Do you have any errors in dmesg? You might want to try latest mesa, kernel, etc. Also you might want to try debug

[PATCH] omap2+: add drm device

2012-05-23 Thread Andy Gross
Register OMAP DRM/KMS platform device. DMM is split into a separate device using hwmod. Signed-off-by: Andy Gross --- arch/arm/mach-omap2/Makefile |4 ++ arch/arm/mach-omap2/drm.c | 61 drivers/staging/omapdrm/omap_drv.h |2

[PATCH 12/12] v4l: vb2-dma-contig: Move allocation of dbuf attachment to attach cb

2012-05-23 Thread Tomasz Stanislawski
The allocation of dma_buf_attachment is moved to attach callback. The initialization is left in map callback. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-dma-contig.c | 39 ++-- 1 file changed, 26 insertions(+), 13

[PATCH 11/12] v4l: vb2-dma-contig: use sg_alloc_table_from_pages function

2012-05-23 Thread Tomasz Stanislawski
This patch makes use of sg_alloc_table_from_pages to simplify handling of sg tables. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-dma-contig.c | 90 1 file changed, 25 insertions(+), 65 deletions(-) diff --git

[PATCH 10/12] v4l: vb2: remove vb2_mmap_pfn_range function

2012-05-23 Thread Tomasz Stanislawski
This patch removes vb2_mmap_pfn_range from videobuf2 helpers. The function is no longer used in vb2 code. Suggested-by: Laurent Pinchart Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-memops.c | 40

[PATCH 09/12] v4l: s5p-mfc: support for dmabuf exporting

2012-05-23 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 --- drivers/media/video/s5p-mfc/s5p_mfc_dec.c | 13 + drivers/media/video/s5p-mfc/s5p_mfc_enc.c | 13

[PATCH 08/12] v4l: s5p-tv: mixer: support for dmabuf exporting

2012-05-23 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 --- drivers/media/video/s5p-tv/mixer_video.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH 07/12] v4l: s5p-fimc: support for dmabuf exporting

2012-05-23 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 --- drivers/media/video/s5p-fimc/fimc-capture.c |9 + 1 file changed, 9 insertions(+) diff --git

[PATCH 06/12] v4l: vb2-dma-contig: add vmap/kmap for dmabuf exporting

2012-05-23 Thread Tomasz Stanislawski
This patch adds support for vmap and kmap callbacks for DMABUF exporter. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-dma-contig.c | 17 + 1 file changed, 17 insertions(+) diff --git

[PATCH 05/12] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-05-23 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 --- drivers/media/video/videobuf2-dma-contig.c | 119 1 file changed, 119 insertions(+) diff --git

[PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-05-23 Thread Tomasz Stanislawski
This patch adds the setup of sglist list for MMAP buffers. It is needed for buffer exporting via DMABUF mechanism. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-dma-contig.c | 70 +++- 1 file changed, 68

[PATCH 03/12] v4l: vb2: add buffer exporting via dmabuf

2012-05-23 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 --- drivers/media/video/videobuf2-core.c | 67 ++ include/media/videobuf2-core.h |2 +

[PATCH 02/12] v4l: add buffer exporting via dmabuf

2012-05-23 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 ---

[PATCH 01/12] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

2012-05-23 Thread Tomasz Stanislawski
From: Marek Szyprowski Let mmap method to use dma_mmap_coherent call. This patch depends on DMA mapping redesign patches because the usage of dma_mmap_coherent breaks dma-contig allocator for architectures other than ARM and AVR. Signed-off-by: Marek Szyprowski ---

[PATCH 00/12] Support for dmabuf exporting for videobuf2

2012-05-23 Thread Tomasz Stanislawski
Hello everyone, The patches adds support for DMABUF exporting to V4L2 stack. The latest support for DMABUF importing was posted in [1]. The exporter part is dependant on DMA mapping redesign [2] which is not merged into the mainline. Therefore it is posted as a separate patchset. Moreover some

[Linaro-mm-sig] [PATCH 00/12] Support for dmabuf exporting for videobuf2

2012-05-23 Thread Sangwook Lee
list > Linaro-mm-sig at lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-mm-sig > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120523/6ed44937/attachment.htm>

GPU lockup dumping

2012-05-23 Thread Christian König
On 23.05.2012 11:27, Dave Airlie wrote: > On Thu, May 17, 2012 at 7:28 PM, wrote: >> So here is improved patchset, where i splited ground work necessary >> for the dumping into their own patch. The debugfs improvement could >> probably be usefull to intel instead of having i915 have it's own >>

[PATCHv6 13/13] v4l: s5p-fimc: support for dmabuf importing

2012-05-23 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 --- drivers/media/video/s5p-fimc/Kconfig|1 + drivers/media/video/s5p-fimc/fimc-capture.c

[PATCHv6 12/13] v4l: s5p-tv: mixer: support for dmabuf importing

2012-05-23 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 --- drivers/media/video/s5p-tv/Kconfig |1 + drivers/media/video/s5p-tv/mixer_video.c |2 +- 2 files changed, 2

[PATCHv6 11/13] v4l: vb2-dma-contig: add support for dma_buf importing

2012-05-23 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

[PATCHv6 10/13] v4l: vb2-dma-contig: add prepare/finish to dma-contig allocator

2012-05-23 Thread Tomasz Stanislawski
From: Marek Szyprowski Add prepare/finish callbacks to vb2-dma-contig allocator. Signed-off-by: Marek Szyprowski --- drivers/media/video/videobuf2-dma-contig.c | 24 1 file changed, 24 insertions(+) diff --git

[PATCHv6 09/13] v4l: vb2: add prepare/finish callbacks to allocators

2012-05-23 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 --- drivers/media/video/videobuf2-core.c | 11 +++

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

2012-05-23 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

[PATCHv6 07/13] v4l: vb2-dma-contig: Reorder functions

2012-05-23 Thread Tomasz Stanislawski
From: Laurent Pinchart Group functions by buffer type. Signed-off-by: Laurent Pinchart --- drivers/media/video/videobuf2-dma-contig.c | 92 1 file changed, 54 insertions(+), 38 deletions(-) diff --git

[PATCHv6 06/13] v4l: vb2-dma-contig: Remove unneeded allocation context structure

2012-05-23 Thread Tomasz Stanislawski
vb2-dma-contig returns a vb2_dc_conf structure instance as the vb2 allocation context. That structure only stores a pointer to the physical device. Remove it and use the device pointer directly as the allocation context. Signed-off-by: Tomasz Stanislawski Acked-by: Laurent Pinchart ---

[PATCHv6 05/13] v4l: vb2-dma-contig: Shorten vb2_dma_contig prefix to vb2_dc

2012-05-23 Thread Tomasz Stanislawski
From: Laurent Pinchart Signed-off-by: Laurent Pinchart --- drivers/media/video/videobuf2-dma-contig.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/media/video/videobuf2-dma-contig.c

[PATCHv6 04/13] v4l: vb: remove warnings about MEMORY_DMABUF

2012-05-23 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 --- drivers/media/video/videobuf-core.c |4 1 file

[PATCHv6 03/13] v4l: vb2: add support for shared buffer (dma_buf)

2012-05-23 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

[PATCHv6 02/13] Documentation: media: description of DMABUF importing in V4L2

2012-05-23 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

[PATCHv6 01/13] v4l: Add DMABUF as a memory type

2012-05-23 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

[PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-05-23 Thread Tomasz Stanislawski
Hello everyone, This patchset adds support for DMABUF [2] importing to V4L2 stack. The support for DMABUF exporting was moved to separate patchset due to dependency on patches for DMA mapping redesign by Marek Szyprowski [4]. v6: - fixed missing entry in v4l2_memory_names - fixed a bug occuring

GPU lockup dumping

2012-05-23 Thread Jordan Crouse
On 05/23/2012 08:51 AM, Jerome Glisse wrote: > On Wed, May 23, 2012 at 5:27 AM, Dave Airlie wrote: >> On Thu, May 17, 2012 at 7:28 PM, wrote: >>> So here is improved patchset, where i splited ground work necessary >>> for the dumping into their own patch. The debugfs improvement could >>>

GPU lockup dumping

2012-05-23 Thread Jerome Glisse
On Wed, May 23, 2012 at 12:41 PM, Dave Airlie wrote: > On Wed, May 23, 2012 at 5:26 PM, Jerome Glisse wrote: >> On Wed, May 23, 2012 at 12:08 PM, Dave Airlie wrote: >>> On Wed, May 23, 2012 at 3:48 PM, Jerome Glisse >>> wrote: On Wed, May 23, 2012 at 8:34 AM, Christian K?nig wrote:

GPU lockup dumping

2012-05-23 Thread Jerome Glisse
On Wed, May 23, 2012 at 12:08 PM, Dave Airlie wrote: > On Wed, May 23, 2012 at 3:48 PM, Jerome Glisse wrote: >> On Wed, May 23, 2012 at 8:34 AM, Christian K?nig >> wrote: >>> On 23.05.2012 11:27, Dave Airlie wrote: On Thu, May 17, 2012 at 7:28 PM, ?wrote: > > So here is

GPU lockup dumping

2012-05-23 Thread Jerome Glisse
On Wed, May 23, 2012 at 12:04 PM, Alex Deucher wrote: > On Wed, May 23, 2012 at 8:34 AM, Christian K?nig > wrote: >> On 23.05.2012 11:27, Dave Airlie wrote: >>> >>> On Thu, May 17, 2012 at 7:28 PM, ?wrote: So here is improved patchset, where i splited ground work necessary for the

GPU lockup dumping

2012-05-23 Thread Alex Deucher
On Wed, May 23, 2012 at 8:34 AM, Christian K?nig wrote: > On 23.05.2012 11:27, Dave Airlie wrote: >> >> On Thu, May 17, 2012 at 7:28 PM, ?wrote: >>> >>> So here is improved patchset, where i splited ground work necessary >>> for the dumping into their own patch. The debugfs improvement could >>>

[PATCH] drm/radeon: fix XFX quirk

2012-05-23 Thread alexdeuc...@gmail.com
From: Alex Deucher Only override the ddc bus if the connector doesn't have a valid one. The existing code overrode the ddc bus for all connectors even if it had ddc bus. Fixes ddc on another XFX card with the same pci ids that was broken by the quirk overwriting the

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #6 from almos 2012-05-23 04:12:41 PDT --- Created attachment 62013 --> https://bugs.freedesktop.org/attachment.cgi?id=62013 nexuiz settings.jpg These are the settings I use. Basicaly everything is enabled. On the video tab gl2

[PATCH 1/2] DRM: add Freescale i.MX LCDC driver

2012-05-23 Thread Daniel Vetter
On Wed, May 23, 2012 at 10:37:58AM +0200, Lars-Peter Clausen wrote: > [...] > >>> + > >>> +static int imx_drm_gem_mmap_buffer(struct file *filp, > >>> + struct vm_area_struct *vma) > >>> +{ > >>> + struct drm_gem_object *obj = filp->private_data; > >>> + struct

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #5 from almos 2012-05-23 04:05:49 PDT --- Created attachment 62012 --> https://bugs.freedesktop.org/attachment.cgi?id=62012 nexuiz problem.jpg Attaching screenshot of the problem. -- Configure bugmail:

GPU lockup dumping

2012-05-23 Thread Jerome Glisse
On Wed, May 23, 2012 at 5:27 AM, Dave Airlie wrote: > On Thu, May 17, 2012 at 7:28 PM, ? wrote: >> So here is improved patchset, where i splited ground work necessary >> for the dumping into their own patch. The debugfs improvement could >> probably be usefull to intel instead of having i915 have

GPU lockup dumping

2012-05-23 Thread Jerome Glisse
On Wed, May 23, 2012 at 8:34 AM, Christian K?nig wrote: > On 23.05.2012 11:27, Dave Airlie wrote: >> >> On Thu, May 17, 2012 at 7:28 PM, ?wrote: >>> >>> So here is improved patchset, where i splited ground work necessary >>> for the dumping into their own patch. The debugfs improvement could >>>

[PATCH 1/2] DRM: add Freescale i.MX LCDC driver

2012-05-23 Thread Lars-Peter Clausen
[...] >>> + >>> +static int imx_drm_gem_mmap_buffer(struct file *filp, >>> + struct vm_area_struct *vma) >>> +{ >>> + struct drm_gem_object *obj = filp->private_data; >>> + struct imx_drm_gem_obj *imx_drm_gem_obj = to_imx_drm_gem_obj(obj); >>> + struct

GPU lockup dumping

2012-05-23 Thread Dave Airlie
On Thu, May 17, 2012 at 7:28 PM, wrote: > So here is improved patchset, where i splited ground work necessary > for the dumping into their own patch. The debugfs improvement could > probably be usefull to intel instead of having i915 have it's own > debugfs file stuff. > > The lockup dumping

[Bug 50208] X does not start on Linux kernel 3.2.0-24, works on 3.0.0-19

2012-05-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50208 --- Comment #2 from Michel D?nzer 2012-05-23 03:20:22 PDT --- If it still happens with a 3.3 or 3.4 kernel, can you bisect? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail

[no subject]

2012-05-23 Thread Sascha Hauer
On Tue, May 22, 2012 at 04:06:41PM +0200, Lars-Peter Clausen wrote: > On 05/18/2012 02:27 PM, Sascha Hauer wrote: > > Hi All, > > > > The following adds a drm/kms driver for the Freescale i.MX LCDC > > controller. Most notable change to the last SDRM based version is that > > the SDRM layer has

[PATCH] gpu: schedule gma500 stub driver for feature removal

2012-05-23 Thread joeyli
Hi Alex, ? ??2012-05-22 ? 12:01 -0400?Alex Deucher ??? > On Mon, May 21, 2012 at 11:15 AM, Lee, Chun-Yi > wrote: > > In v3.3, the gma500 drm driver moved from staging to drm group by > > Alan Cox's 3abcf41fb patch. the gma500 drm driver should control > > brightness well and don't need gma500

[PATCH 1/2] DRM: add Freescale i.MX LCDC driver

2012-05-23 Thread Sascha Hauer
Hi Rob, On Tue, May 22, 2012 at 03:28:20PM -0600, Rob Clark wrote: > just a few comments from a cursory review.. I need a bit more time > for a more in-depth review but that won't be tonight so I thought I'd > send what I have so far.. Thanks for this. > > +++ b/drivers/gpu/drm/imx/Kconfig > >

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #4 from Vadim Girlin 2012-05-23 02:37:16 PDT --- (In reply to comment #3) > I only see this with the LLVM compiler, the old one seems fine. There is a > texture flickering on some surfaces, but that affects both of them (I use the >

[PATCH] drm/i915: no lvds quirk for HP t5740e Thin Client

2012-05-23 Thread Daniel Vetter
On Tue, May 22, 2012 at 03:21:53PM +0200, Jan-Benedict Glaw wrote: > Hi! > > This box has DisplayPort and VGA, but no LVDS. Product specs are at > http://h10010.www1.hp.com/wwpc/us/en/sm/WF25a/12454-12454-321959-338927-3640406-4282707.html?dnr=1 > and dmidecode output can be found at >

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #1 from Vadim Girlin 2012-05-22 22:58:23 PDT --- Created attachment 61997 --> https://bugs.freedesktop.org/attachment.cgi?id=61997 [PATCH] Revert "r600g: set round_mode to truncate and get rid of tgsi_f2i on evergreen" I see

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #2 from Vadim Girlin 2012-05-22 23:42:10 UTC --- In fact it seems the problem is with the first commit, second just made it much more noticeable. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #2 from Vadim Girlin pt...@yandex.ru 2012-05-22 23:42:10 UTC --- In fact it seems the problem is with the first commit, second just made it much more noticeable. -- Configure bugmail:

Re: [PATCH] drm/i915: no lvds quirk for HP t5740e Thin Client

2012-05-23 Thread Daniel Vetter
On Tue, May 22, 2012 at 03:21:53PM +0200, Jan-Benedict Glaw wrote: Hi! This box has DisplayPort and VGA, but no LVDS. Product specs are at http://h10010.www1.hp.com/wwpc/us/en/sm/WF25a/12454-12454-321959-338927-3640406-4282707.html?dnr=1 and dmidecode output can be found at

Re: [PATCH] gpu: schedule gma500 stub driver for feature removal

2012-05-23 Thread joeyli
Hi Alex, 於 二,2012-05-22 於 12:01 -0400,Alex Deucher 提到: On Mon, May 21, 2012 at 11:15 AM, Lee, Chun-Yi joeyli.ker...@gmail.com wrote: In v3.3, the gma500 drm driver moved from staging to drm group by Alan Cox's 3abcf41fb patch. the gma500 drm driver should control brightness well and

Re: [PATCH 1/2] DRM: add Freescale i.MX LCDC driver

2012-05-23 Thread Sascha Hauer
Hi Rob, On Tue, May 22, 2012 at 03:28:20PM -0600, Rob Clark wrote: just a few comments from a cursory review.. I need a bit more time for a more in-depth review but that won't be tonight so I thought I'd send what I have so far.. Thanks for this. +++ b/drivers/gpu/drm/imx/Kconfig @@

Re:

2012-05-23 Thread Sascha Hauer
On Tue, May 22, 2012 at 04:06:41PM +0200, Lars-Peter Clausen wrote: On 05/18/2012 02:27 PM, Sascha Hauer wrote: Hi All, The following adds a drm/kms driver for the Freescale i.MX LCDC controller. Most notable change to the last SDRM based version is that the SDRM layer has been removed

Re: [PATCH 1/2] DRM: add Freescale i.MX LCDC driver

2012-05-23 Thread Lars-Peter Clausen
[...] + +static int imx_drm_gem_mmap_buffer(struct file *filp, + struct vm_area_struct *vma) +{ + struct drm_gem_object *obj = filp-private_data; + struct imx_drm_gem_obj *imx_drm_gem_obj = to_imx_drm_gem_obj(obj); + struct imx_drm_buf_entry *entry; +

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #3 from almos aaalmo...@gmail.com 2012-05-23 01:49:30 PDT --- I only see this with the LLVM compiler, the old one seems fine. There is a texture flickering on some surfaces, but that affects both of them (I use the level Q1DM6 for

Re: [PATCH 1/2] DRM: add Freescale i.MX LCDC driver

2012-05-23 Thread Daniel Vetter
On Wed, May 23, 2012 at 10:37:58AM +0200, Lars-Peter Clausen wrote: [...] + +static int imx_drm_gem_mmap_buffer(struct file *filp, + struct vm_area_struct *vma) +{ + struct drm_gem_object *obj = filp-private_data; + struct imx_drm_gem_obj *imx_drm_gem_obj =

Re: GPU lockup dumping

2012-05-23 Thread Dave Airlie
On Thu, May 17, 2012 at 7:28 PM, j.gli...@gmail.com wrote: So here is improved patchset, where i splited ground work necessary for the dumping into their own patch. The debugfs improvement could probably be usefull to intel instead of having i915 have it's own debugfs file stuff. The lockup

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #4 from Vadim Girlin pt...@yandex.ru 2012-05-23 02:37:16 PDT --- (In reply to comment #3) I only see this with the LLVM compiler, the old one seems fine. There is a texture flickering on some surfaces, but that affects both of them

[PATCH] dma-buf: minor documentation fixes.

2012-05-23 Thread Sumit Semwal
Some minor inline documentation fixes for gaps resulting from new patches. Signed-off-by: Sumit Semwal sumit.sem...@ti.com --- drivers/base/dma-buf.c |9 + include/linux/dma-buf.h |3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/base/dma-buf.c

[Bug 50208] X does not start on Linux kernel 3.2.0-24, works on 3.0.0-19

2012-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50208 --- Comment #2 from Michel Dänzer mic...@daenzer.net 2012-05-23 03:20:22 PDT --- If it still happens with a 3.3 or 3.4 kernel, can you bisect? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving

[Bug 50230] offset mapping in nexuiz results in bad texturing with the llvm compiler

2012-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50230 --- Comment #5 from almos aaalmo...@gmail.com 2012-05-23 04:05:49 PDT --- Created attachment 62012 -- https://bugs.freedesktop.org/attachment.cgi?id=62012 nexuiz problem.jpg Attaching screenshot of the problem. -- Configure bugmail:

[PATCHv6 06/13] v4l: vb2-dma-contig: Remove unneeded allocation context structure

2012-05-23 Thread Tomasz Stanislawski
vb2-dma-contig returns a vb2_dc_conf structure instance as the vb2 allocation context. That structure only stores a pointer to the physical device. Remove it and use the device pointer directly as the allocation context. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Acked-by:

[PATCHv6 04/13] v4l: vb: remove warnings about MEMORY_DMABUF

2012-05-23 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 ---

[PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-05-23 Thread Tomasz Stanislawski
Hello everyone, This patchset adds support for DMABUF [2] importing to V4L2 stack. The support for DMABUF exporting was moved to separate patchset due to dependency on patches for DMA mapping redesign by Marek Szyprowski [4]. v6: - fixed missing entry in v4l2_memory_names - fixed a bug occuring

[PATCHv6 03/13] v4l: vb2: add support for shared buffer (dma_buf)

2012-05-23 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

[PATCHv6 02/13] Documentation: media: description of DMABUF importing in V4L2

2012-05-23 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 |

[PATCHv6 01/13] v4l: Add DMABUF as a memory type

2012-05-23 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

[PATCHv6 05/13] v4l: vb2-dma-contig: Shorten vb2_dma_contig prefix to vb2_dc

2012-05-23 Thread Tomasz Stanislawski
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/videobuf2-dma-contig.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git

[PATCHv6 10/13] v4l: vb2-dma-contig: add prepare/finish to dma-contig allocator

2012-05-23 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 --- drivers/media/video/videobuf2-dma-contig.c | 24 1 file changed, 24 insertions(+) diff --git

[PATCHv6 07/13] v4l: vb2-dma-contig: Reorder functions

2012-05-23 Thread Tomasz Stanislawski
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Group functions by buffer type. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/videobuf2-dma-contig.c | 92 1 file changed, 54 insertions(+), 38 deletions(-) diff

[PATCHv6 13/13] v4l: s5p-fimc: support for dmabuf importing

2012-05-23 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 ---

[PATCHv6 09/13] v4l: vb2: add prepare/finish callbacks to allocators

2012-05-23 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 ---

[PATCHv6 12/13] v4l: s5p-tv: mixer: support for dmabuf importing

2012-05-23 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 --- drivers/media/video/s5p-tv/Kconfig |1 +

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

2012-05-23 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

[PATCHv6 11/13] v4l: vb2-dma-contig: add support for dma_buf importing

2012-05-23 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

Re: GPU lockup dumping

2012-05-23 Thread Christian König
On 23.05.2012 11:27, Dave Airlie wrote: On Thu, May 17, 2012 at 7:28 PM,j.gli...@gmail.com wrote: So here is improved patchset, where i splited ground work necessary for the dumping into their own patch. The debugfs improvement could probably be usefull to intel instead of having i915 have

[PATCH 00/12] Support for dmabuf exporting for videobuf2

2012-05-23 Thread Tomasz Stanislawski
Hello everyone, The patches adds support for DMABUF exporting to V4L2 stack. The latest support for DMABUF importing was posted in [1]. The exporter part is dependant on DMA mapping redesign [2] which is not merged into the mainline. Therefore it is posted as a separate patchset. Moreover some

[PATCH 01/12] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

2012-05-23 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com Let mmap method to use dma_mmap_coherent call. This patch depends on DMA mapping redesign patches because the usage of dma_mmap_coherent breaks dma-contig allocator for architectures other than ARM and AVR. Signed-off-by: Marek Szyprowski

[PATCH 02/12] v4l: add buffer exporting via dmabuf

2012-05-23 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

[PATCH 03/12] v4l: vb2: add buffer exporting via dmabuf

2012-05-23 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 --- drivers/media/video/videobuf2-core.c | 67

[PATCH 05/12] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-05-23 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 --- drivers/media/video/videobuf2-dma-contig.c | 119 1 file changed,

[PATCH 08/12] v4l: s5p-tv: mixer: support for dmabuf exporting

2012-05-23 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 --- drivers/media/video/s5p-tv/mixer_video.c | 10 ++ 1 file changed, 10

[PATCH 07/12] v4l: s5p-fimc: support for dmabuf exporting

2012-05-23 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 --- drivers/media/video/s5p-fimc/fimc-capture.c |9 + 1 file changed, 9

[PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-05-23 Thread Tomasz Stanislawski
This patch adds the setup of sglist list for MMAP buffers. It is needed for buffer exporting via DMABUF mechanism. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 70

[PATCH 09/12] v4l: s5p-mfc: support for dmabuf exporting

2012-05-23 Thread Tomasz Stanislawski
This patch enhances s5p-mfc 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: Kamil Debski k.deb...@samsung.com --- drivers/media/video/s5p-mfc/s5p_mfc_dec.c | 13

[PATCH 10/12] v4l: vb2: remove vb2_mmap_pfn_range function

2012-05-23 Thread Tomasz Stanislawski
This patch removes vb2_mmap_pfn_range from videobuf2 helpers. The function is no longer used in vb2 code. Suggested-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 11/12] v4l: vb2-dma-contig: use sg_alloc_table_from_pages function

2012-05-23 Thread Tomasz Stanislawski
This patch makes use of sg_alloc_table_from_pages to simplify handling of sg tables. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 90 1 file

[PATCH 12/12] v4l: vb2-dma-contig: Move allocation of dbuf attachment to attach cb

2012-05-23 Thread Tomasz Stanislawski
The allocation of dma_buf_attachment is moved to attach callback. The initialization is left in map callback. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 39

Re: GPU lockup dumping

2012-05-23 Thread Jerome Glisse
On Wed, May 23, 2012 at 8:34 AM, Christian König deathsim...@vodafone.de wrote: On 23.05.2012 11:27, Dave Airlie wrote: On Thu, May 17, 2012 at 7:28 PM,j.gli...@gmail.com  wrote: So here is improved patchset, where i splited ground work necessary for the dumping into their own patch. The

  1   2   >