Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-08 Thread Ben Skeggs
On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: > On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: > > On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares wrote: > > > On Thu, Jul 5, 2012 at 11:24 PM, Martin Nyhus > > > wrote: > > > > > > > > On Mon, 11 Jun 2012 23:18:42 +0

[PATCH] drm/exynos: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(.. [1]

2012-08-08 Thread Thomas Meyer
The semantic patch that makes this change is available in scripts/coccinelle/api/err_cast.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exy

[PATCH] drm/udl: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(.. [1]

2012-08-08 Thread Thomas Meyer
The semantic patch that makes this change is available in scripts/coccinelle/api/err_cast.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/gpu/drm/udl/udl_gem.c b/drivers/gpu/drm/udl/udl_gem.c --- a/d

[PATCH V3 1/5] include/video: Add samsung FIMD register header

2012-08-08 Thread Leela Krishna Amudala
This patch copies the contents from regs-fb-v4.h and regs-fb.h to include/video/samsung_fimd.h Signed-off-by: Leela Krishna Amudala --- include/video/samsung_fimd.h | 526 ++ 1 files changed, 526 insertions(+), 0 deletions(-) create mode 100644 include/v

[PATCH V3 2/5] include/video: Add Exynos5 specific FIMD register offsets

2012-08-08 Thread Leela Krishna Amudala
Exynos5 has VIDTCON and VIDCON registers at different offsets from the previous SOCs. Hence, adding the macros. Signed-off-by: Leela Krishna Amudala --- include/video/samsung_fimd.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/video/samsung_fimd.h b/incl

[PATCH V3 0/5] arm: samsung: Move FIMD headers to include/video/

2012-08-08 Thread Leela Krishna Amudala
This patchset moves the contents of regs-fb-v4.h and regs-fb.h from arch side to include/video/samsung_fimd.h This patchset is created and rebased against master branch of torvalds tree. Tested on smdk5250 board, build tested for other boards. Changes from version 2: - Changed the EXYNOS5

[PATCH V3 3/5] arm: samsung: Include the modified FIMD header file

2012-08-08 Thread Leela Krishna Amudala
The fimd register headers have been moved to include/video/ hence, modifying the machine files accordingly. Signed-off-by: Leela Krishna Amudala --- arch/arm/mach-exynos/mach-nuri.c |2 +- arch/arm/mach-exynos/mach-origen.c |2 +- arch/arm/mach-exynos/mach-smdk4x12.c

[PATCH V3 4/5] driver: Include the modified FIMD header file

2012-08-08 Thread Leela Krishna Amudala
The fimd register headers have been moved to include/video/ hence, modifying the driver files accordingly. Signed-off-by: Leela Krishna Amudala --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |2 +- drivers/video/s3c-fb.c |2 +- 2 files changed, 2 insertions(+), 2 deletion

[PATCH V3 5/5] arm: samsung: delete frame buffer header files from platform

2012-08-08 Thread Leela Krishna Amudala
The FIMD register headers are moved to include/video/ hence, deleting these files from platform side Signed-off-by: Leela Krishna Amudala --- arch/arm/plat-samsung/include/plat/regs-fb-v4.h | 159 - arch/arm/plat-samsung/include/plat/regs-fb.h| 403 --- 2 files

[PATCH] drm/i2c/ch7006: Convert to dev_pm_ops

2012-08-08 Thread Mark Brown
The I2C specific suspend and resume functions have been deprecated and printing a warning on boot for over a year, dev_pm_ops should be used instead so convert to that. Also remove the suspend function since all it does is log. Signed-off-by: Mark Brown Acked-by: Francisco Jerez --- drivers/gp

[PATCH V4 0/2] arm: samsung: Move FIMD headers to include/video/

2012-08-08 Thread Leela Krishna Amudala
This patchset moves the contents of regs-fb-v4.h and regs-fb.h from arch side to include/video/samsung_fimd.h This patchset is created and rebased against master branch of torvalds tree. Tested on smdk5250 board, build tested for other boards. Changes from version 3: - Squashed 1st, 3rd,

[PATCH V4 0/2] arm: samsung: Move FIMD headers to include/video/

2012-08-08 Thread Leela Krishna Amudala
This patchset moves the contents of regs-fb-v4.h and regs-fb.h from arch side to include/video/samsung_fimd.h This patchset is created and rebased against master branch of torvalds tree. Tested on smdk5250 board, build tested for other boards. Changes from version 3: - Squashed 1st, 3rd,

[PATCH] nouveau: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(.. [1]

2012-08-08 Thread Thomas Meyer
The semantic patch that makes this change is available in scripts/coccinelle/api/err_cast.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/gpu/drm/nouveau/nouveau_prime.c b/drivers/gpu/drm/nouveau/no

[PATCH V4 1/2] include/video: move fimd register headers from platform to include/video

2012-08-08 Thread Leela Krishna Amudala
This patch moves the contents from regs-fb-v4.h and regs-fb.h to include/video/samsung_fimd.h. Also updates the header inclusion in machine files and driver files accordingly. Signed-off-by: Leela Krishna Amudala --- arch/arm/mach-exynos/mach-nuri.c |2 +- arch/arm/mach-exy

[PATCH V4 2/2] include/video: Add register offsets for FIMD version 8

2012-08-08 Thread Leela Krishna Amudala
FIMD version 8 has VIDTCON and VIDCON registers at different offsets from the previous versions. Hence, adding the macros. Signed-off-by: Leela Krishna Amudala --- include/video/samsung_fimd.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/video/samsung_fi

[PATCH] drm/edid: Fix potential memory leak in edid_load()

2012-08-08 Thread Alexey Khoroshilov
Do not leak memory by updating pointer with potentially NULL realloc return value. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/gpu/drm/drm_edid_load.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/

Re: [PATCH V4 0/2] arm: samsung: Move FIMD headers to include/video/

2012-08-08 Thread Russell King - ARM Linux
On Tue, Aug 07, 2012 at 06:04:30PM +0530, Leela Krishna Amudala wrote: > arch/arm/plat-samsung/include/plat/regs-fb-v4.h| 159 > > drivers/gpu/drm/exynos/exynos_drm_fimd.c |2 +- > drivers/video/s3c-fb.c |2 +- > .../plat/reg

Re: [PATCH] drm/edid: Fix potential memory leak in edid_load()

2012-08-08 Thread Carsten Emde
On 08/07/2012 02:23 PM, Alexey Khoroshilov wrote: Do not leak memory by updating pointer with potentially NULL realloc return value. Found by Linux Driver Verification project (linuxtesting.org). Thanks, Alexey! Reviewed-by: Carsten Emde Signed-off-by: Alexey Khoroshilov --- drivers/gpu/

[PATCH] Expose the OMAP Z-Order property through DRM

2012-08-08 Thread Andre Renaud
Added support for zorder changes through DRM plane properties Signed-off-by: Andre Renaud --- drivers/staging/omapdrm/omap_drv.h |1 + drivers/staging/omapdrm/omap_plane.c | 19 +++ 2 files changed, 20 insertions(+) diff --git a/drivers/staging/omapdrm/omap_drv.h b/driv

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-08 Thread Sven Joachim
On 2012-08-08 07:37 +0200, Ben Skeggs wrote: > On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: >> On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: >> > On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares wrote: >> > > On Thu, Jul 5, 2012 at 11:24 PM, Martin Nyhus >> > > wr

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-08 Thread Ben Skeggs
On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: > On 2012-08-08 07:37 +0200, Ben Skeggs wrote: > > > On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: > >> On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: > >> > On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-08 Thread Sven Joachim
On 2012-08-08 08:08 +0200, Ben Skeggs wrote: > On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: >> Not for me on my GeForce 8500 GT, and I still cannot suspend more than >> once, subsequent attempts fail: >> >> , >> | Aug 8 07:49:16 turtle kernel: [ 91.697068] nouveau W[ >> | PGR

Re: Massive power regression going 3.4->3.5

2012-08-08 Thread Daniel Vetter
On Tue, Aug 07, 2012 at 09:43:48PM +0100, James Bottomley wrote: > On Sun, 2012-08-05 at 22:36 +0200, Daniel Vetter wrote: > > On Wed, Aug 01, 2012 at 11:08:19AM +0100, James Bottomley wrote: > > > On Wed, 2012-08-01 at 09:58 +0100, Chris Wilson wrote: > > > > On Wed, 01 Aug 2012 09:45:04 +0100, Ja

Re: [pull] drm-intel-fixes

2012-08-08 Thread Daniel Vetter
On Tue, Aug 07, 2012 at 02:08:18PM +0200, Daniel Vetter wrote: > Hi Dave, > > - Regression fixer for an OOPS at boot when i915.ko is built-in and > CONFIG_PM=n, introduce in 3.5 (patch from Hunt Xu) > - Regression fixer for occlusion query failures, the required w/a wasn't > applied in all cas

[Bug 45721] High Compiz memory usage, eventual crash.

2012-08-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=45721 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-08 Thread Hans Verkuil
On Wed 8 August 2012 11:35:38 Sakari Ailus wrote: > Hi Hans and Rémi, > > On Thu, Aug 02, 2012 at 08:35:58AM +0200, Hans Verkuil wrote: > ... > > Minimum or maximum? The maximum is 32, that's hardcoded in the V4L2 core. > > As far as I understand, V4L1 did have that limitation, as well as videobu

[PATCH] dma-buf: add reference counting for exporter module

2012-08-08 Thread Tomasz Stanislawski
This patch adds reference counting on a module that exports dma-buf and implements its operations. This prevents the module from being unloaded while DMABUF file is in use. Signed-off-by: Tomasz Stanislawski --- Documentation/dma-buf-sharing.txt |3 ++- drivers/base/dma-buf.c

[Bug 45018] [bisected] rendering regression and va conflicts since added support for virtual address space on cayman v11

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #110 from Christian König 2012-08-08 10:48:35 UTC --- I just pushed a minor bugfix to mesa master, that in conjunction with Jeromes kernel patch should eliminate the last VA issues. Please retest it again. Christian. -- Configure

Re: [PATCH v2] of: Add videomode helper

2012-08-08 Thread Laurent Pinchart
Hi Sascha, On Friday 03 August 2012 09:38:44 Sascha Hauer wrote: > On Thu, Aug 02, 2012 at 01:35:40PM -0600, Stephen Warren wrote: > > On 07/04/2012 01:56 AM, Sascha Hauer wrote: > > > This patch adds a helper function for parsing videomodes from the > > > devicetree. The videomode can be either c

Re: [PATCH v2] of: Add videomode helper

2012-08-08 Thread Laurent Pinchart
Hi Sascha, Sorry for the late reply. On Thursday 05 July 2012 18:50:29 Sascha Hauer wrote: > On Thu, Jul 05, 2012 at 04:08:07PM +0200, Laurent Pinchart wrote: > > > +++ b/Documentation/devicetree/bindings/video/displaymode > > > @@ -0,0 +1,40 @@ > > > +videomode bindings > > > +==

RE: [PATCH V4 0/2] arm: samsung: Move FIMD headers to include/video/

2012-08-08 Thread Kukjin Kim
Leela Krishna Amudala wrote: > > This patchset moves the contents of regs-fb-v4.h and regs-fb.h from arch > side > to include/video/samsung_fimd.h > > This patchset is created and rebased against master branch of torvalds > tree. > Tested on smdk5250 board, build tested for other boards. > > Cha

Re: [PATCH 1/3] dma-fence: dma-buf synchronization (v7)

2012-08-08 Thread Sumit Semwal
Hi Maarten, On 8 August 2012 00:17, Maarten Lankhorst wrote: > Op 07-08-12 19:53, Maarten Lankhorst schreef: >> A dma-fence can be attached to a buffer which is being filled or consumed >> by hw, to allow userspace to pass the buffer without waiting to another >> device. For example, userspace c

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-08 Thread Sakari Ailus
Hi Hans and Rémi, On Thu, Aug 02, 2012 at 08:35:58AM +0200, Hans Verkuil wrote: ... > Minimum or maximum? The maximum is 32, that's hardcoded in the V4L2 core. As far as I understand, V4L1 did have that limitation, as well as videobuf1 and 2 and a number of other drivers, but it's not found in th

[PATCH 1/8] Fix incorrect SR issue when disabling CRTC already in disabled state

2012-08-08 Thread Alan Cox
From: Zhao Yakui Currently when trying to call the DPMS off again for one CRTC with DPMS off, it will firstly disable the SR and can't enable it again because of the incorrect check/logic. In such case the self refresh is still disabled although one CRTC pipe is active. This is wrong. Signed-off

[PATCH 2/8] Program the DPLL lane based on the selected digitial port

2012-08-08 Thread Alan Cox
From: Zhao Yakui Based on the spec, the CRT output doesn't use the lane. And the HDMI B output uses the Lane0/1 while the HDMI C output uses the Lane 2/3. But currently it will program all the four lanes for the CRT/HDMI. Signed-off-by: Zhao Yakui [Ported to the in-kernel driver] Signed-off-by:

[PATCH 4/8] cdv: add the bits that don't need the new code

2012-08-08 Thread Alan Cox
From: Alan Cox Based on bits from Yakui We can import various little bits of code before we plumb it all in and hopefully this way catch any regressions more easily. Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_device.c| 59 + drivers/gpu/drm/gma500/cdv_i

[PATCH 5/8] cdv: sync up and add the displayport code to the build

2012-08-08 Thread Alan Cox
From: Alan Cox This is mostly just aligning bits of behaviour Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/Makefile|3 drivers/gpu/drm/gma500/cdv_intel_display.c |6 drivers/gpu/drm/gma500/cdv_intel_dp.c | 480 ++-- drivers/gpu/drm/gma

[PATCH 6/8] cdv: enable the DisplayPort support

2012-08-08 Thread Alan Cox
From: Alan Cox This will give the basic support only Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_device.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/cdv_device.c b/drivers/gpu/drm/gma500/cdv_device.c index e2fff24..68f1

[PATCH 7/8] cdv: Add eDP support

2012-08-08 Thread Alan Cox
From: Zhao Yakui Introduce the eDP support into the driver. This has been reworked a bit because kernel driver proper uses encoder/connectors while the legacy Intel driver uses the old output stuff. It also diverges on the backlight handling. The legacy Intel driver adds a panel abstraction ba

[PATCH 8/8] From: Zhao Yakui

2012-08-08 Thread Alan Cox
From: Zhao Yakui Disable the clock gating of display controller to make DP/eDP work well I don't know why the DP/eDP is affected by the clock gating. But the test shows that it really fixes the DP/eDP clock issue during enabling DP/eDP. Signed-off-by: Zhao Yakui [Updated to only apply

[Bug 45018] [bisected] rendering regression and va conflicts since added support for virtual address space on cayman v11

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #111 from Alexandre Demers 2012-08-08 13:29:34 UTC --- (In reply to comment #110) > I just pushed a minor bugfix to mesa master, that in conjunction with Jeromes > kernel patch should eliminate the last VA issues. > > Please retest

Re: [PATCH] dma-buf: add reference counting for exporter module

2012-08-08 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 08 August 2012 12:17:41 Tomasz Stanislawski wrote: > This patch adds reference counting on a module that exports dma-buf and > implements its operations. This prevents the module from being unloaded > while DMABUF file is in use. > > Signed-off-by: T

Re: [PATCH] dma-buf: add reference counting for exporter module

2012-08-08 Thread Tomasz Stanislawski
Hi Laurent, On 08/08/2012 03:35 PM, Laurent Pinchart wrote: > Hi Tomasz, > > Thanks for the patch. > > On Wednesday 08 August 2012 12:17:41 Tomasz Stanislawski wrote: >> This patch adds reference counting on a module that exports dma-buf and >> implements its operations. This prevents the module

Re: [PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-08 Thread Michel Dänzer
On Mon, 2012-08-06 at 18:55 +0200, Christian König wrote: > On 06.08.2012 18:30, Jerome Glisse wrote: > > On Mon, Aug 6, 2012 at 12:06 PM, Christian König > > wrote: > >> [SNIP] > >> Additional to that patch we still need a minor fix to mesa (just move > >> freeing the VM range after closing the

Re: [PATCH] dma-buf: add reference counting for exporter module

2012-08-08 Thread Daniel Vetter
On Wed, Aug 08, 2012 at 03:53:10PM +0200, Tomasz Stanislawski wrote: > Hi Laurent, > > On 08/08/2012 03:35 PM, Laurent Pinchart wrote: > > Hi Tomasz, > > > > Thanks for the patch. > > > > On Wednesday 08 August 2012 12:17:41 Tomasz Stanislawski wrote: > >> This patch adds reference counting on a

Re: [PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-08 Thread Jerome Glisse
On Mon, Aug 6, 2012 at 12:55 PM, Christian König wrote: > On 06.08.2012 18:30, Jerome Glisse wrote: >> >> On Mon, Aug 6, 2012 at 12:06 PM, Christian König >> wrote: >>> >>> [SNIP] >>> >>> Additional to that patch we still need a minor fix to mesa (just move >>> freeing the VM range after closing

[PATCH] drm/radeon: delay virtual address destruction to bo destruction

2012-08-08 Thread j . glisse
From: Jerome Glisse Use the ttm bo delayed destruction queue so that we don't block userspace when destroying bo. The virtual address destruction will happen at same time as the real bo destruction when everythings using the bo is done. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/radeon/r

Re: [PATCH] drm/radeon: delay virtual address destruction to bo destruction

2012-08-08 Thread Jerome Glisse
On Wed, Aug 8, 2012 at 10:36 AM, wrote: > From: Jerome Glisse > > Use the ttm bo delayed destruction queue so that we don't block > userspace when destroying bo. The virtual address destruction > will happen at same time as the real bo destruction when everythings > using the bo is done. Haven'

Re: [PATCH v3] DRM: Add DRM kms/fb cma helper

2012-08-08 Thread Laurent Pinchart
Hi Lars-Peter; On Monday 02 July 2012 16:37:47 Lars-Peter Clausen wrote: > This patchset introduces a set of helper function for implementing the KMS > framebuffer layer for drivers which use the drm gem CMA helper function. > > Signed-off-by: Lars-Peter Clausen > > --- > Note: This patch depen

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Laurent Pinchart
Hi Sascha, On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: > Many embedded drm devices do not have a IOMMU and no dedicated > memory for graphics. These devices use CMA (Contiguous Memory > Allocator) backed graphics memory. This patch provides helper > functions to be able to share the cod

Re: [PATCH] drm/radeon: delay virtual address destruction to bo destruction

2012-08-08 Thread Michel Dänzer
On Mit, 2012-08-08 at 10:36 -0400, j.gli...@gmail.com wrote: > From: Jerome Glisse > > Use the ttm bo delayed destruction queue so that we don't block > userspace when destroying bo. The virtual address destruction > will happen at same time as the real bo destruction when everythings > using th

[PATCH v3 0/7] Renesas SH Mobile DRM driver

2012-08-08 Thread Laurent Pinchart
Hi everybody, Here's the third version of the DRM driver for the Renesas SH Mobile display controller (a.k.a. LCDC). The hardware is pretty simple and consists of a single CRTC and four (non-scalable) planes that can be alpha-blended (first two planes only), overlayed or composed using ROP3. The

[PATCH v3 1/7] sh_mobile_meram: Rename operations to cache_[alloc|free|update]

2012-08-08 Thread Laurent Pinchart
The MERAM operations meram_register, meram_unregister and meram_update handle LCDC cache. In preparation for "raw" MERAM allocation, rename them to more appropriate names. Signed-off-by: Laurent Pinchart --- drivers/video/sh_mobile_lcdcfb.c | 32 +++ drivers/video/sh_mobile_lcdcfb.h |2

[PATCH v3 2/7] sh_mobile_meram: Use direct function calls for the public API

2012-08-08 Thread Laurent Pinchart
There's no reason to use abstract operation pointers to implement the MERAM API. Replace them by direct function calls. Signed-off-by: Laurent Pinchart --- drivers/video/sh_mobile_lcdcfb.c | 27 +++- drivers/video/sh_mobile_meram.c | 40 +++--- includ

[PATCH v3 3/7] sh_mobile_meram: Add direct MERAM allocation API

2012-08-08 Thread Laurent Pinchart
The API can be used to allocate and free MERAM blocks directly, without going through ICBs. Signed-off-by: Laurent Pinchart --- drivers/video/sh_mobile_meram.c | 41 +++--- include/video/sh_mobile_meram.h | 16 +++ 2 files changed, 53 insertions(+)

[PATCH v3 4/7] DRM: add drm gem CMA helper

2012-08-08 Thread Laurent Pinchart
From: Sascha Hauer Many embedded drm devices do not have a IOMMU and no dedicated memory for graphics. These devices use CMA (Contiguous Memory Allocator) backed graphics memory. This patch provides helper functions to be able to share the code. The code technically does not depend on CMA as the

[PATCH v3 5/7] DRM: Add DRM kms/fb cma helper

2012-08-08 Thread Laurent Pinchart
From: Lars-Peter Clausen This patchset introduces a set of helper function for implementing the KMS framebuffer layer for drivers which use the drm gem CMA helper function. Signed-off-by: Lars-Peter Clausen Tested-by: Sascha Hauer --- drivers/gpu/drm/Kconfig | 10 + drivers/gpu/

[PATCH v3 6/7] drm: Add NV24 and NV42 pixel formats

2012-08-08 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/drm_crtc.c |6 ++ include/drm/drm_fourcc.h |2 ++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 367f700..15817a2 100644 --- a/drivers/gpu/drm/drm_crtc.c

Re: [PATCH] drm/radeon: delay virtual address destruction to bo destruction

2012-08-08 Thread Jerome Glisse
On Wed, Aug 8, 2012 at 11:19 AM, Michel Dänzer wrote: > On Mit, 2012-08-08 at 10:36 -0400, j.gli...@gmail.com wrote: >> From: Jerome Glisse >> >> Use the ttm bo delayed destruction queue so that we don't block >> userspace when destroying bo. The virtual address destruction >> will happen at same

[Bug 48934] [r600g] WebGL conformance test programs/program-test.html fails

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48934 Andreas Boll changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 48933] [r600g] WebGL conformance test context/context-attributes-alpha-depth-stencil-antialias.html fails

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48933 Andreas Boll changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 48935] [r600g] WebGL conformance test textures/texture-mips.html fails

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48935 Andreas Boll changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 33635] RV620 : Webgl : conformance-tests : 5248/5325 , firefox 4b10

2012-08-08 Thread bugzilla-daemon
||FIXED --- Comment #1 from Andreas Boll 2012-08-08 16:07:14 UTC --- All those tests now passes with firefox nightly 20120808 WebGL Renderer: X.Org -- Gallium 0.4 on AMD RV770 -- 2.1 Mesa 8.1-devel (git-be42a45) By now there is only 1 test page failing with r600g driver. For

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Lars-Peter Clausen
On 08/08/2012 04:44 PM, Laurent Pinchart wrote: > Hi Sascha, > > On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: >> Many embedded drm devices do not have a IOMMU and no dedicated >> memory for graphics. These devices use CMA (Contiguous Memory >> Allocator) backed graphics memory. This patc

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Laurent Pinchart
Hi Lars, On Wednesday 08 August 2012 18:25:30 Lars-Peter Clausen wrote: > On 08/08/2012 04:44 PM, Laurent Pinchart wrote: > > On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: > >> Many embedded drm devices do not have a IOMMU and no dedicated > >> memory for graphics. These devices use CMA (

[Bug 49321] shadertoy failure

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49321 Andreas Boll changed: What|Removed |Added Summary|Khronos WebGL conformance |shadertoy failure |test

[Bug 49321] shadertoy failure

2012-08-08 Thread bugzilla-daemon
e about half of > the shaders at http://www.iquilezles.org/apps/shadertoy/ fail > (eg. Motion Blur shows just two brown rectangles, Flower > a flashing green box) > with current firefox nightly 20120808 and current mesa 8.1-devel (git-be42a45) this site works for me. Feel free to reopen this r

[Bug 33255] [RADEON:R300C] crash using webgl (firefox 4b9)

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33255 Andreas Boll changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 37047] [RADEON:KMS:R600G] broadbandmap.gov crashes firefox/iceweasel when webgl is enabled

2012-08-08 Thread bugzilla-daemon
t; System Info > Debian unstable/experimental running distro provided Linux 2.6.39-rc5-amd64 > iceweasel version: 4.0.1-2 > libdrm, xf86-video-ati @ git > OpenGL renderer string: Gallium 0.4 on AMD RV770 > OpenGL version string: 2.1 Mesa 7.11-devel (git-9d792d0) with cur

[Bug 53261] New: [i915g] Performance regression in git

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53261 Bug #: 53261 Summary: [i915g] Performance regression in git Classification: Unclassified Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status

[Bug 40296] Bad rendering on madebyevan.com/webgl-water/

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40296 --- Comment #2 from Andreas Boll 2012-08-08 17:40:30 UTC --- Created attachment 65304 --> https://bugs.freedesktop.org/attachment.cgi?id=65304 Screenshot This is with current firefox nightly 20120808 and current mesa 8.1-devel (git-be42

[Bug 37047] [RADEON:KMS:R600G] broadbandmap.gov crashes firefox/iceweasel when webgl is enabled

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37047 --- Comment #2 from Brian Paterni 2012-08-08 17:49:49 UTC --- (In reply to comment #1) > > with current firefox nightly 20120808 > and current mesa 8.1-devel (git-be42a45) this site works for me. > > WebGL Renderer: X.Org --

[Bug 40296] Bad rendering on madebyevan.com/webgl-water/

2012-08-08 Thread bugzilla-daemon
||WORKSFORME --- Comment #3 from Andreas Boll 2012-08-08 17:51:01 UTC --- (In reply to comment #2) > Created attachment 65304 [details] > Screenshot > > This is with current firefox nightly 20120808 > and current mesa 8.1-devel (git-be42a45) > > WebGL Rende

[Bug 48131] Very large 2D texture is sometimes corrupted

2012-08-08 Thread bugzilla-daemon
en please treat this as a high priority, as we'd have to find a work around. > > FWIW, on a different proprietary platform, this does expose video memory and > forced us to artificially limit the max texture size to 4k. With current firefox nightly 20120808 and current mesa 8.1-

[Bug 42373] Radeon HD 6450 (NI CAICOS) screen corruption on boot

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42373 --- Comment #20 from Kunal 2012-08-08 18:04:18 UTC --- (In reply to comment #18) > (In reply to comment #16) > > Created attachment 64759 [details] [review] [review] > > Fixup mc programing > > > > This patch should fix your issue. > > Thanks

[Bug 44694] Crash in WebGL Path Tracing demo on Mesa 7.11 / Gallium 0.4 AMD RV710, in src_register called from translate_src

2012-08-08 Thread bugzilla-daemon
y. Same here on current firefox nightly 20120808 and current mesa 8.1-devel (git-be42a45) WebGL Renderer: X.Org -- Gallium 0.4 on AMD RV770 -- 2.1 Mesa 8.1-devel (git-be42a45) No crash, but it doesn't render correctly. I get this output: EE r600_shader.c:141 r600_pipe_shader_create - tran

[Bug 49632] radeon: The kernel rejected CS,

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49632 --- Comment #10 from Andreas Boll 2012-08-08 19:10:15 UTC --- Can you test it with kernel 3.5 and current mesa-git? There were streamout fixes for r700 in both kernel and mesa. projectM-pulseaudio runs fine on my system. Gallium 0.4 on AMD RV7

[Bug 50857] Invalid command stream with CAICOS when ColorTiling2D enabled

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50857 --- Comment #17 from Alexandre Demers 2012-08-08 19:30:04 UTC --- Since the proposed patch fixed the issue and it was merged under 3.5-rc3, should this bug be closed? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

[Bug 50857] Invalid command stream with CAICOS when ColorTiling2D enabled

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50857 Alex Deucher changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Dave Airlie
On Thu, Aug 9, 2012 at 2:31 AM, Laurent Pinchart wrote: > Hi Lars, > > On Wednesday 08 August 2012 18:25:30 Lars-Peter Clausen wrote: >> On 08/08/2012 04:44 PM, Laurent Pinchart wrote: >> > On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: >> >> Many embedded drm devices do not have a IOMMU a

[Bug 41231] GL_INVALID_ENUM when using glxinfo -l

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41231 Andreas Boll changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Laurent Pinchart
Hi Dave, On Thursday 09 August 2012 07:02:45 Dave Airlie wrote: > On Thu, Aug 9, 2012 at 2:31 AM, Laurent Pinchart wrote: > > On Wednesday 08 August 2012 18:25:30 Lars-Peter Clausen wrote: > >> On 08/08/2012 04:44 PM, Laurent Pinchart wrote: > >> > On Wednesday 27 June 2012 15:30:18 Sascha Hauer w

[Bug 53118] Rendering error in unigine heaven when GL_ARB_shader_bit_encoding is used.

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53118 Andreas Boll changed: What|Removed |Added CC||andreas.boll@gmail.com --- Comment #1

[Bug 45018] [bisected] rendering regression and va conflicts since added support for virtual address space on cayman v11

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #112 from Alexandre Demers 2012-08-09 01:38:41 UTC --- (In reply to comment #111) > (In reply to comment #110) > > I just pushed a minor bugfix to mesa master, that in conjunction with > > Jeromes > > kernel patch should eliminate t

[Bug 53111] [bisected] lockups since added support for virtual address space on cayman v11

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53111 --- Comment #6 from Anthony Waters 2012-08-09 03:07:19 UTC --- The fault address in the VM_CONTEXT1_PROTECTION_FAULT_ADDR register is less than the start of the virtual address area, unless that is due to the bug? -- Configure bugmail: https:/

[PATCH] drm/mgag200: fix G200ER pll picking algorithm

2012-08-08 Thread Dave Airlie
The original code was misported from the X driver, a) an int went to unsigned int, breaking the downward counting testm code b) the port did the vco/computed clock bits completely wrong. This fixes an infinite loop on modprobe on some Dell servers with the G200ER chipset variant. Found in intern

[Bug 45018] [bisected] rendering regression and va conflicts since added support for virtual address space on cayman v11

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #113 from Alexandre Demers 2012-08-09 05:20:04 UTC --- (In reply to comment #112) > (In reply to comment #111) > > (In reply to comment #110) > > > I just pushed a minor bugfix to mesa master, that in conjunction with > > > Jeromes

[PATCH] staging: omapdrm: Fix DMM sparse warnings

2012-08-08 Thread Andy Gross
Fix the following sparse warnings: drivers/staging/omapdrm/omap_dmm_tiler.c:123:13: warning: symbol 'omap_dmm_irq_handler' was not declared. Should it be static? drivers/staging/omapdrm/omap_dmm_tiler.c:370:24: warning: Using plain integer as NULL pointer Signed-off-by: Andy Gross ---

[PATCH] staging: omapdrm: Remove unnecessary memcpy

2012-08-08 Thread Andy Gross
Removed the unnecessary copy of the memory page addresses when programming the DMM/PAT and all support code for the lut copy. The original intent was to have this code in place for suspend/resume functionality w.r.t. DEVICE_OFF. Performance analysis showed that the extra copy from uncached memory

Mail System Error - Returned Mail

2012-08-08 Thread a...@arndb.de
dri-devel/attachments/20120808/2c952b96/attachment.obj>

[PATCH 1/5] drm/exynos: Remove redundant check in exynos_hdmi.c file

2012-08-08 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Monday, August 06, 2012 3:46 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; airlied at linux.ie; sachin.kamat at linaro.org; > patches at linaro.org > Subject: [PATCH 1/5] drm

[PATCH 2/5] drm/exynos: Remove redundant check in exynos_drm_fimd.c file

2012-08-08 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Monday, August 06, 2012 3:46 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; airlied at linux.ie; sachin.kamat at linaro.org; > patches at linaro.org > Subject: [PATCH 2/5] drm

[PATCH 3/5] drm/exynos: Use devm_kzalloc in exynos_drm_vidi.c file

2012-08-08 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Monday, August 06, 2012 3:46 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; airlied at linux.ie; sachin.kamat at linaro.org; > patches at linaro.org > Subject: [PATCH 3/5] drm

[PATCH 4/5] drm/exynos: Use devm_kzalloc in exynos_drm_hdmi.c file

2012-08-08 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Monday, August 06, 2012 3:46 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; airlied at linux.ie; sachin.kamat at linaro.org; > patches at linaro.org > Subject: [PATCH 4/5] drm

[PATCH 5/5] drm/exynos: Use devm_* functions in exynos_drm_g2d.c file

2012-08-08 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Monday, August 06, 2012 3:46 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; airlied at linux.ie; sachin.kamat at linaro.org; > patches at linaro.org > Subject: [PATCH 5/5] drm

[PATCH] drm/exynos: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(.. [1]

2012-08-08 Thread Inki Dae
> -Original Message- > From: Thomas Meyer [mailto:thomas at m3y3r.de] > Sent: Tuesday, August 07, 2012 3:57 PM > To: inki.dae at samsung.com; jy0922.shim at samsung.com; sw0312.kim at > samsung.com; > kyungmin.park at samsung.com; airlied at linux.ie; dri- > devel at lists.freedesktop.or

[bisected] nouveau: "Failed to idle channel x" after resume

2012-08-08 Thread Ben Skeggs
On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: > On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: > > On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares wrote: > > > On Thu, Jul 5, 2012 at 11:24 PM, Martin Nyhus > > > wrote: > > > > > > > > On Mon, 11 Jun 2012 23:18:42 +0

[bisected] nouveau: "Failed to idle channel x" after resume

2012-08-08 Thread Sven Joachim
On 2012-08-08 07:37 +0200, Ben Skeggs wrote: > On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: >> On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: >> > On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares wrote: >> > > On Thu, Jul 5, 2012 at 11:24 PM, Martin Nyhus >> > > wr

[PATCH] Expose the OMAP Z-Order property through DRM

2012-08-08 Thread Andre Renaud
Added support for zorder changes through DRM plane properties Signed-off-by: Andre Renaud --- drivers/staging/omapdrm/omap_drv.h |1 + drivers/staging/omapdrm/omap_plane.c | 19 +++ 2 files changed, 20 insertions(+) diff --git a/drivers/staging/omapdrm/omap_drv.h b/driv

[bisected] nouveau: "Failed to idle channel x" after resume

2012-08-08 Thread Ben Skeggs
On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: > On 2012-08-08 07:37 +0200, Ben Skeggs wrote: > > > On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: > >> On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: > >> > On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares

  1   2   >