[PATCH 1/4] drm: Print pretty names for pixel formats

2013-06-07 Thread Ville Syrjälä
On Sat, Jun 08, 2013 at 06:09:42AM +1000, Dave Airlie wrote: > On Sat, Jun 8, 2013 at 1:43 AM, wrote: > > From: Foo Bar > > ^ ?? > > git config error? Whoops. Sorry about that. I created the original patch on a test machine where I apparently had been too lazy to set up my git correctly. And

[PATCH v2 5/5] drm: GEM CMA: Add DRM PRIME support

2013-06-07 Thread Laurent Pinchart
On Wednesday 05 June 2013 07:00:45 Rob Clark wrote: > On Wed, Jun 5, 2013 at 4:44 AM, Daniel Vetter wrote: > > On Tue, Jun 04, 2013 at 11:05:36PM -0400, Rob Clark wrote: > >> On Tue, Jun 4, 2013 at 9:22 PM, Laurent Pinchart wrote: > >> > On Tuesday 04 June 2013 17:56:36 Rob Clark wrote: > >> >> co

Quick question about status of bug 36602, "Hierarchical Z support for R600"

2013-06-07 Thread Dave Witbrodt
I was just clearing out some bookmarks in my browser and noticed that #36602 is still open. Seems like you've had HiZ in r600 for a while, so I was wondering if this bug can be closed? No new posts there since September. DW

[Bug 65091] power_profile not working for HD5650

2013-06-07 Thread bugzilla-dae...@freedesktop.org
p;os=4063&product=4217144&query=dv6-3030ew&tool= -- 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/20130607/3fd13938/attachment.html>

[Bug 65091] power_profile not working for HD5650

2013-06-07 Thread bugzilla-dae...@freedesktop.org
because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130607/d507d287/attachment.html>

[Bug 65091] power_profile not working for HD5650

2013-06-07 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/20130607/048f3464/attachment.html>

[PATCH 4/4] drm: Constify the pretty-print functions

2013-06-07 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The structures and strings involved with various pretty-print functions aren't meant to be modified, so make them all const. The exception is drm_connector_enum_list which does get modified in drm_connector_init(). While at it move the drm_get_connector_status_name() prototyp

[PATCH 3/4] fb: Make fb_get_options() 'name' parameter const

2013-06-07 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The string isn't modified so make it const. Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fbdev at vger.kernel.org Signed-off-by: Ville Syrj?l? --- drivers/video/fbmem.c | 2 +- include/linux/fb.h| 2 +- 2 files changed, 2 insertions(+), 2 deletion

[PATCH 2/4] drm/i915: Print pretty names for pixel formats

2013-06-07 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Use drm_get_format_name to print more readable pixel format names in debug output. Also unify the debug messages to say "unsupported pixel format", which better describes what is going on. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/i915/intel_display.c | 12 -

[PATCH 1/4] drm: Print pretty names for pixel formats

2013-06-07 Thread ville.syrj...@linux.intel.com
From: Foo Bar Rather than just printing the pixel format as a hex number, decode the fourcc into human readable form, and also decode the LE vs. BE flag. Keep printing the raw hex number too in case it contains non-printable characters. Some examples what the new drm_get_format_name() produces:

[Bug 63599] [r600][r600] GPU lockup CP stall (kernel 3.8, 3.9)

2013-06-07 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130607/34ecf470/attachment.html>

[Bug 63599] [r600][r600] GPU lockup CP stall (kernel 3.8, 3.9)

2013-06-07 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130607/b1e26a26/attachment.html>

[Intel-gfx] [PATCH 4/4] drm: Constify the pretty-print functions

2013-06-07 Thread Daniel Vetter
On Fri, Jun 07, 2013 at 06:43:07PM +0300, ville.syrjala at linux.intel.com wrote: > From: Ville Syrj?l? > > The structures and strings involved with various pretty-print functions > aren't meant to be modified, so make them all const. The exception is > drm_connector_enum_list which does get mod

Introduce a dmabuf sync framework for buffer synchronization

2013-06-07 Thread Inki Dae
Hi all, Came back :) Please, ignore previous fence helper. I have re-implemented buffer synchronization mechanism, dmabuf sync, based on DMA BUF and wound/wait style lock v5[1] and tested it with 2d gpu and drm kms drivers. The below is dmabuf sync framework codes, https://git.kernel.org/cgit/l

[Bug 65514] New: Mesa can't render Google Maps WebGL preview in Firefox

2013-06-07 Thread bugzilla-dae...@freedesktop.org
eview ). -- 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/20130607/7e37230e/attachment.html>

Re: [PATCH 1/4] drm: Print pretty names for pixel formats

2013-06-07 Thread Dave Airlie
On Sat, Jun 8, 2013 at 6:35 AM, Ville Syrjälä wrote: > On Sat, Jun 08, 2013 at 06:09:42AM +1000, Dave Airlie wrote: >> On Sat, Jun 8, 2013 at 1:43 AM, wrote: >> > From: Foo Bar >> >> ^ ?? >> >> git config error? > > Whoops. Sorry about that. I created the original patch on a test > machine wher

Re: [PATCH 1/4] drm: Print pretty names for pixel formats

2013-06-07 Thread Ville Syrjälä
On Sat, Jun 08, 2013 at 06:09:42AM +1000, Dave Airlie wrote: > On Sat, Jun 8, 2013 at 1:43 AM, wrote: > > From: Foo Bar > > ^ ?? > > git config error? Whoops. Sorry about that. I created the original patch on a test machine where I apparently had been too lazy to set up my git correctly. And

[RFC][PATCH 1/2] dma-buf: add importer private data to attachment

2013-06-07 Thread Maarten Lankhorst
Op 07-06-13 04:32, ??? schreef: > Hello Maarten, > > On 2013? 06? 05? 22:23, Maarten Lankhorst wrote: >> Op 31-05-13 10:54, Seung-Woo Kim schreef: >>> dma-buf attachment has only exporter private data, but importer private data >>> can be useful for importer especially to re-import the same dma-buf

Re: [PATCH 1/4] drm: Print pretty names for pixel formats

2013-06-07 Thread Dave Airlie
On Sat, Jun 8, 2013 at 1:43 AM, wrote: > From: Foo Bar ^ ?? git config error? Dave. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v2 5/5] drm: GEM CMA: Add DRM PRIME support

2013-06-07 Thread Laurent Pinchart
On Wednesday 05 June 2013 07:00:45 Rob Clark wrote: > On Wed, Jun 5, 2013 at 4:44 AM, Daniel Vetter wrote: > > On Tue, Jun 04, 2013 at 11:05:36PM -0400, Rob Clark wrote: > >> On Tue, Jun 4, 2013 at 9:22 PM, Laurent Pinchart wrote: > >> > On Tuesday 04 June 2013 17:56:36 Rob Clark wrote: > >> >> co

[Bug 65091] power_profile not working for HD5650

2013-06-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65091 --- Comment #2 from Kamil Bar --- And I need to correct my first post, on auto/low/mid/default profiles voltage is 900 mV, but if I switch to high my screen flick, and it goes to 1000 mv. I cannot attach video bios, because my notebook has vbios

[Bug 65091] power_profile not working for HD5650

2013-06-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65091 Kamil Bar changed: What|Removed |Added Version|unspecified |DRI CVS -- You are receiving this mail beca

[Bug 65091] power_profile not working for HD5650

2013-06-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65091 --- Comment #1 from Kamil Bar --- Created attachment 80495 --> https://bugs.freedesktop.org/attachment.cgi?id=80495&action=edit dmesg | grep radeon after drm.debug=2 and some profile switching -- You are receiving this mail because: You are t

[PATCH v3 5/5] drm: GEM CMA: Add DRM PRIME support

2013-06-07 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/drm_gem_cma_helper.c | 317 ++- include/drm/drm_gem_cma_helper.h | 9 + 2 files changed, 323 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_gem_cma_helper.c b/drivers/gpu/drm/drm_gem_cma_he

[PATCH v3 4/5] drm: GEM CMA: Split object mapping into GEM mapping and CMA mapping

2013-06-07 Thread Laurent Pinchart
The CMA-specific mapping code will be used to implement dma-buf mmap support. Signed-off-by: Laurent Pinchart Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_gem_cma_helper.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/drm_gem_cma

[PATCH v3 3/5] drm: GEM CMA: Split object creation into object alloc and DMA memory alloc

2013-06-07 Thread Laurent Pinchart
This allows creating a GEM CMA object without an associated DMA memory buffer, and will be used to implement DRM PRIME support. Signed-off-by: Laurent Pinchart Reviewed-by: Rob Clark --- drivers/gpu/drm/drm_gem_cma_helper.c | 83 +--- 1 file changed, 48 insertion

[PATCH v3 2/5] drm/omap: Use drm_gem_mmap_obj() to implement dma-buf mmap

2013-06-07 Thread Laurent Pinchart
The dma-buf mmap code was copied from the GEM mmap implementation. Replace it with the new drm_gem_mmap_obj() function. Signed-off-by: Laurent Pinchart Reviewed-by: Rob Clark --- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 32 +++ 1 file changed, 3 insertions(+), 29

[PATCH v3 1/5] drm/gem: Split drm_gem_mmap() into object search and object mapping

2013-06-07 Thread Laurent Pinchart
The drm_gem_mmap() function first finds the GEM object to be mapped based on the fake mmap offset and then maps the object. Split the object mapping code into a standalone drm_gem_mmap_obj() function that can be used to implement dma-buf mmap() operations. Signed-off-by: Laurent Pinchart Reviewed

[PATCH v3 0/5] GEM CMA DMA-BUF support

2013-06-07 Thread Laurent Pinchart
Hello, Here's the third version of the GEM CMA DMA-BUF support patches. Changes compared to the previous version are minimal, there will hopefully not be any need for a v4. The code is based on the Exynos DRM DMA-BUF implementation. The exporter role has been successfully tested with the Renesas

[Bug 63599] [r600][r600] GPU lockup CP stall (kernel 3.8, 3.9)

2013-06-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63599 --- Comment #9 from wojtek --- Created attachment 80493 --> https://bugs.freedesktop.org/attachment.cgi?id=80493&action=edit reg_dump_fglrx_kernel39 -- You are receiving this mail because: You are the assignee for the bug. ___

[Bug 63599] [r600][r600] GPU lockup CP stall (kernel 3.8, 3.9)

2013-06-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63599 --- Comment #8 from wojtek --- Created attachment 80492 --> https://bugs.freedesktop.org/attachment.cgi?id=80492&action=edit reg_dump_radeon_kernel39 -- You are receiving this mail because: You are the assignee for the bug. __

[RFC][PATCH 1/2] dma-buf: add importer private data to attachment

2013-06-07 Thread 김승우
Hello Maarten, On 2013? 06? 05? 22:23, Maarten Lankhorst wrote: > Op 31-05-13 10:54, Seung-Woo Kim schreef: >> dma-buf attachment has only exporter private data, but importer private data >> can be useful for importer especially to re-import the same dma-buf. >> To use importer private data in att

[PATCH v3] drm: Renesas R-Car Display Unit DRM driver

2013-06-07 Thread Daniel Vetter
On Fri, Jun 07, 2013 at 09:23:58AM +0200, Laurent Pinchart wrote: > On Thursday 06 June 2013 09:21:35 Alex Deucher wrote: > > On Thu, Jun 6, 2013 at 9:12 AM, Daniel Vetter wrote: > > > On Wed, Jun 5, 2013 at 3:10 PM, Alex Deucher wrote: > > >> To me at least, it doesn't make sense that an encoder c

[PATCH v3] drm: Renesas R-Car Display Unit DRM driver

2013-06-07 Thread Daniel Vetter
On Fri, Jun 07, 2013 at 09:44:45AM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 05 June 2013 10:55:05 Daniel Vetter wrote: > > On Wed, Jun 05, 2013 at 03:51:53AM +0200, Laurent Pinchart wrote: > > > On Tuesday 04 June 2013 20:36:20 Daniel Vetter wrote: > > > > On Tue, Jun 4, 2013 a

[PATCH] drm/radeon: fix AVI infoframe generation

2013-06-07 Thread alexdeuc...@gmail.com
From: Alex Deucher - remove adding 2 to checksum, this breaks certain monitors - properly emit the AVI infoframe version, not emitting the version breaks some monitors. This should fix blank screen when HDMI audio is enabled on certain monitors. Signed-off-by: Alex Deucher Cc: Rafa? Mi?ecki -

[Bug 65438] GTK apps crash X11 since last update of LLVMM

2013-06-07 Thread bugzilla-dae...@freedesktop.org
i/Development/Documentation/ServerDebugging . -- 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/20130607/99ceb9c8/attachment.html>

New prototype computer problem with S3 suspend

2013-06-07 Thread Boszormenyi Zoltan
2013-06-07 03:17 keltez?ssel, Aaron Lu ?rta: > On 06/07/2013 02:11 AM, Boszormenyi Zoltan wrote: >> Hi, >> >> we are working on an Intel Atom-based embedded PC and I have to >> make suspend-to-RAM work but I can't seem to succeed. >> >> The symptom is that quite often, the machine resumes immediate

[PATCH v3] drm: Renesas R-Car Display Unit DRM driver

2013-06-07 Thread Laurent Pinchart
Hi Daniel, On Wednesday 05 June 2013 10:55:05 Daniel Vetter wrote: > On Wed, Jun 05, 2013 at 03:51:53AM +0200, Laurent Pinchart wrote: > > On Tuesday 04 June 2013 20:36:20 Daniel Vetter wrote: > > > On Tue, Jun 4, 2013 at 8:03 PM, Laurent Pinchart wrote: > > > > On Tuesday 04 June 2013 16:12:36 Da

[Bug 65514] New: Mesa can't render Google Maps WebGL preview in Firefox

2013-06-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65514 Priority: medium Bug ID: 65514 Assignee: dri-devel@lists.freedesktop.org Summary: Mesa can't render Google Maps WebGL preview in Firefox Severity: normal Classification: Unclassified

[PATCH] drm/radeon: fix write back suspend regression with uvd

2013-06-07 Thread Alex Deucher
On Thu, Jun 6, 2013 at 5:55 PM, wrote: > From: Jerome Glisse > > UVD ring can't use scratch thus it does need writeback buffer to keep > a valid address or radeon_ring_backup will trigger a kernel fault. > > It's ok to not unpin the write back buffer on suspend as it leave in > gtt and thus does

[PATCH] drm/exynos: fimd: Get signal polarities from device tree

2013-06-07 Thread Joonyoung Shim
On 06/06/2013 06:47 PM, Tomasz Figa wrote: > Hi Joonyoung, > > On Thursday 06 of June 2013 13:30:49 Joonyoung Shim wrote: >> On 05/19/2013 08:32 PM, Tomasz Figa wrote: >>> Hi, >>> >>> On Wednesday 01 of May 2013 22:00:25 Daniel Vetter wrote: On Wed, May 01, 2013 at 09:06:09PM +0200, Tomasz Fig

[PATCH v3] drm: Renesas R-Car Display Unit DRM driver

2013-06-07 Thread Laurent Pinchart
On Thursday 06 June 2013 09:21:35 Alex Deucher wrote: > On Thu, Jun 6, 2013 at 9:12 AM, Daniel Vetter wrote: > > On Wed, Jun 5, 2013 at 3:10 PM, Alex Deucher wrote: > >> To me at least, it doesn't make sense that an encoder can clone > >> itself. If an encoder is already in use, trying to clone it

New prototype computer problem with S3 suspend

2013-06-07 Thread Aaron Lu
On 06/07/2013 02:11 AM, Boszormenyi Zoltan wrote: > Hi, > > we are working on an Intel Atom-based embedded PC and I have to > make suspend-to-RAM work but I can't seem to succeed. > > The symptom is that quite often, the machine resumes immediately > after pm-suspend. Sometimes more than 20 times

Re: [Intel-gfx] [PATCH 4/4] drm: Constify the pretty-print functions

2013-06-07 Thread Daniel Vetter
On Fri, Jun 07, 2013 at 06:43:07PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > The structures and strings involved with various pretty-print functions > aren't meant to be modified, so make them all const. The exception is > drm_connector_enum_list which does get modifie

[PATCH 4/4] drm: Constify the pretty-print functions

2013-06-07 Thread ville . syrjala
From: Ville Syrjälä The structures and strings involved with various pretty-print functions aren't meant to be modified, so make them all const. The exception is drm_connector_enum_list which does get modified in drm_connector_init(). While at it move the drm_get_connector_status_name() prototyp

[PATCH 2/4] drm/i915: Print pretty names for pixel formats

2013-06-07 Thread ville . syrjala
From: Ville Syrjälä Use drm_get_format_name to print more readable pixel format names in debug output. Also unify the debug messages to say "unsupported pixel format", which better describes what is going on. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_display.c | 12 -

[PATCH 3/4] fb: Make fb_get_options() 'name' parameter const

2013-06-07 Thread ville . syrjala
From: Ville Syrjälä The string isn't modified so make it const. Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fb...@vger.kernel.org Signed-off-by: Ville Syrjälä --- drivers/video/fbmem.c | 2 +- include/linux/fb.h| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-

[PATCH 1/4] drm: Print pretty names for pixel formats

2013-06-07 Thread ville . syrjala
From: Foo Bar Rather than just printing the pixel format as a hex number, decode the fourcc into human readable form, and also decode the LE vs. BE flag. Keep printing the raw hex number too in case it contains non-printable characters. Some examples what the new drm_get_format_name() produces:

[PATCH v3 5/5] drm: GEM CMA: Add DRM PRIME support

2013-06-07 Thread Rob Clark
On Fri, Jun 7, 2013 at 5:44 AM, Laurent Pinchart wrote: > Signed-off-by: Laurent Pinchart Reviewed-by: Rob Clark > --- > drivers/gpu/drm/drm_gem_cma_helper.c | 317 > ++- > include/drm/drm_gem_cma_helper.h | 9 + > 2 files changed, 323 insertions(+), 3 d

[PATCH] drm/radeon: fix AVI infoframe generation

2013-06-07 Thread alexdeucher
From: Alex Deucher - remove adding 2 to checksum, this breaks certain monitors - properly emit the AVI infoframe version, not emitting the version breaks some monitors. This should fix blank screen when HDMI audio is enabled on certain monitors. Signed-off-by: Alex Deucher Cc: Rafał Miłecki -

Re: [PATCH] drm/radeon: fix write back suspend regression with uvd

2013-06-07 Thread Alex Deucher
On Thu, Jun 6, 2013 at 5:55 PM, wrote: > From: Jerome Glisse > > UVD ring can't use scratch thus it does need writeback buffer to keep > a valid address or radeon_ring_backup will trigger a kernel fault. > > It's ok to not unpin the write back buffer on suspend as it leave in > gtt and thus does

Multiple issues with omapdrm

2013-06-07 Thread Dave Airlie
On Thu, Jun 6, 2013 at 9:25 PM, Rob Clark wrote: > On Thu, Jun 6, 2013 at 3:\ Why do you "need" drmOpen("omap")? Is it just a convention to use that kind of name, instead of "omapdrm" style name? >>> >>> all of the /dev/dri/cardN get opened, and then DRM_IOCTL_VERSION ioctl >>> to get th

Re: [PATCH v3 5/5] drm: GEM CMA: Add DRM PRIME support

2013-06-07 Thread Rob Clark
On Fri, Jun 7, 2013 at 5:44 AM, Laurent Pinchart wrote: > Signed-off-by: Laurent Pinchart Reviewed-by: Rob Clark > --- > drivers/gpu/drm/drm_gem_cma_helper.c | 317 > ++- > include/drm/drm_gem_cma_helper.h | 9 + > 2 files changed, 323 insertions(+), 3 d

[Bug 65377] Backlight control via /sys/class/backlight/radeon_bl0 not working

2013-06-07 Thread bugzilla-dae...@freedesktop.org
roperty on the intel output, but not on the radeon output. -- 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/20130607/f4bee827/attachment.html>

Re: [RFC][PATCH 1/2] dma-buf: add importer private data to attachment

2013-06-07 Thread Maarten Lankhorst
Op 07-06-13 04:32, 김승우 schreef: > Hello Maarten, > > On 2013년 06월 05일 22:23, Maarten Lankhorst wrote: >> Op 31-05-13 10:54, Seung-Woo Kim schreef: >>> dma-buf attachment has only exporter private data, but importer private data >>> can be useful for importer especially to re-import the same dma-buf

[Bug 65438] GTK apps crash X11 since last update of LLVMM

2013-06-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65438 --- Comment #3 from Michel Dänzer --- (In reply to comment #2) > so can you provide me some help to do what you ask in gentoo? I'm not familiar with Gentoo, but I'm sure there are many tutorials on Git bisect on the 'net, there might even be one

[PATCH v3 4/5] drm: GEM CMA: Split object mapping into GEM mapping and CMA mapping

2013-06-07 Thread Laurent Pinchart
The CMA-specific mapping code will be used to implement dma-buf mmap support. Signed-off-by: Laurent Pinchart Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_gem_cma_helper.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/drm_gem_cma

[PATCH v3 5/5] drm: GEM CMA: Add DRM PRIME support

2013-06-07 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/drm_gem_cma_helper.c | 317 ++- include/drm/drm_gem_cma_helper.h | 9 + 2 files changed, 323 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_gem_cma_helper.c b/drivers/gpu/drm/drm_gem_cma_he

[PATCH v3 2/5] drm/omap: Use drm_gem_mmap_obj() to implement dma-buf mmap

2013-06-07 Thread Laurent Pinchart
The dma-buf mmap code was copied from the GEM mmap implementation. Replace it with the new drm_gem_mmap_obj() function. Signed-off-by: Laurent Pinchart Reviewed-by: Rob Clark --- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 32 +++ 1 file changed, 3 insertions(+), 29

[PATCH v3 3/5] drm: GEM CMA: Split object creation into object alloc and DMA memory alloc

2013-06-07 Thread Laurent Pinchart
This allows creating a GEM CMA object without an associated DMA memory buffer, and will be used to implement DRM PRIME support. Signed-off-by: Laurent Pinchart Reviewed-by: Rob Clark --- drivers/gpu/drm/drm_gem_cma_helper.c | 83 +--- 1 file changed, 48 insertion

[PATCH v3 1/5] drm/gem: Split drm_gem_mmap() into object search and object mapping

2013-06-07 Thread Laurent Pinchart
The drm_gem_mmap() function first finds the GEM object to be mapped based on the fake mmap offset and then maps the object. Split the object mapping code into a standalone drm_gem_mmap_obj() function that can be used to implement dma-buf mmap() operations. Signed-off-by: Laurent Pinchart Reviewed

[PATCH v3 0/5] GEM CMA DMA-BUF support

2013-06-07 Thread Laurent Pinchart
Hello, Here's the third version of the GEM CMA DMA-BUF support patches. Changes compared to the previous version are minimal, there will hopefully not be any need for a v4. The code is based on the Exynos DRM DMA-BUF implementation. The exporter role has been successfully tested with the Renesas

Introduce a dmabuf sync framework for buffer synchronization

2013-06-07 Thread Inki Dae
Hi all, Came back :) Please, ignore previous fence helper. I have re-implemented buffer synchronization mechanism, dmabuf sync, based on DMA BUF and wound/wait style lock v5[1] and tested it with 2d gpu and drm kms drivers. The below is dmabuf sync framework codes, https://git.kernel.or

Re: [PATCH v3] drm: Renesas R-Car Display Unit DRM driver

2013-06-07 Thread Daniel Vetter
On Fri, Jun 07, 2013 at 09:23:58AM +0200, Laurent Pinchart wrote: > On Thursday 06 June 2013 09:21:35 Alex Deucher wrote: > > On Thu, Jun 6, 2013 at 9:12 AM, Daniel Vetter wrote: > > > On Wed, Jun 5, 2013 at 3:10 PM, Alex Deucher wrote: > > >> To me at least, it doesn't make sense that an encoder c

Re: [PATCH v3] drm: Renesas R-Car Display Unit DRM driver

2013-06-07 Thread Daniel Vetter
On Fri, Jun 07, 2013 at 09:44:45AM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 05 June 2013 10:55:05 Daniel Vetter wrote: > > On Wed, Jun 05, 2013 at 03:51:53AM +0200, Laurent Pinchart wrote: > > > On Tuesday 04 June 2013 20:36:20 Daniel Vetter wrote: > > > > On Tue, Jun 4, 2013 a

Re: New prototype computer problem with S3 suspend

2013-06-07 Thread Boszormenyi Zoltan
2013-06-07 03:17 keltezéssel, Aaron Lu írta: On 06/07/2013 02:11 AM, Boszormenyi Zoltan wrote: Hi, we are working on an Intel Atom-based embedded PC and I have to make suspend-to-RAM work but I can't seem to succeed. The symptom is that quite often, the machine resumes immediately after pm-sus

Re: [PATCH v3] drm: Renesas R-Car Display Unit DRM driver

2013-06-07 Thread Laurent Pinchart
Hi Daniel, On Wednesday 05 June 2013 10:55:05 Daniel Vetter wrote: > On Wed, Jun 05, 2013 at 03:51:53AM +0200, Laurent Pinchart wrote: > > On Tuesday 04 June 2013 20:36:20 Daniel Vetter wrote: > > > On Tue, Jun 4, 2013 at 8:03 PM, Laurent Pinchart wrote: > > > > On Tuesday 04 June 2013 16:12:36 Da

Re: [PATCH v3] drm: Renesas R-Car Display Unit DRM driver

2013-06-07 Thread Laurent Pinchart
On Thursday 06 June 2013 09:21:35 Alex Deucher wrote: > On Thu, Jun 6, 2013 at 9:12 AM, Daniel Vetter wrote: > > On Wed, Jun 5, 2013 at 3:10 PM, Alex Deucher wrote: > >> To me at least, it doesn't make sense that an encoder can clone > >> itself. If an encoder is already in use, trying to clone it