Re: [PATCH 03/12] drm/ttm: remove unused backend flags field

2011-11-07 Thread Thomas Hellstrom
Reviewed-by: Thomas Hellstrom On 11/08/2011 12:40 AM, j.gli...@gmail.com wrote: From: Jerome Glisse This field is not use by any of the driver just drop it. Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/radeon/radeon_ttm.c |1 - include/drm/ttm/ttm

Re: [PATCH 01/12] drm/ttm: remove userspace backed ttm object support

2011-11-07 Thread Thomas Hellstrom
On 11/08/2011 12:40 AM, j.gli...@gmail.com wrote: From: Jerome Glisse This was never use in none of the driver, properly using userspace page for bo would need more code (vma interaction mostly). Removing this dead code in preparation of ttm_tt& backend merge. This is not exactly true. I

Re: [mipsel+rs780e]Occasionally "GPU lockup" after resuming from suspend.

2011-11-07 Thread Chen Jie
Hi, Some status update. 在 2011年9月29日 下午5:17,Chen Jie 写道: > Hi, > Add more information. > We got occasionally "GPU lockup" after resuming from suspend(on mipsel > platform with a mips64 compatible CPU and rs780e, the kernel is 3.1.0-rc8 > 64bit). Related kernel message: > /* return from STR */ >

Re: [PATCH 01/12] drm/ttm: remove userspace backed ttm object support

2011-11-07 Thread Thomas Hellstrom
On 11/08/2011 12:40 AM, j.gli...@gmail.com wrote: From: Jerome Glisse This was never use in none of the driver, properly using userspace page for bo would need more code (vma interaction mostly). Removing this dead code in preparation of ttm_tt& backend merge. Jerome, I actually have usi

[Bug 42683] [r300g] GPU lockup while playing WoW

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42683 --- Comment #2 from Chris Rankin 2011-11-07 15:13:25 PST --- (In reply to comment #1) > Could you please bisect? Haven't we already played the bisection game, though? I proved that commit: 363ff844753c46ac9c13866627e096b091ea81f8 is the first

[Bug 42683] [r300g] GPU lockup while playing WoW

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42683 --- Comment #1 from Marek Ol??k 2011-11-07 14:50:34 PST --- Could you please bisect? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the b

[Bug 42683] New: [r300g] GPU lockup while playing WoW

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42683 Bug #: 42683 Summary: [r300g] GPU lockup while playing WoW Classification: Unclassified Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status:

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #9 from Alex Deucher 2011-11-07 12:48:25 PST --- (In reply to comment #8) > According to this: > http://www.mesa3d.org/ > > I am already at the latest mesa release? > Yes, but there have been a lot of changes since 7.11 was releas

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #8 from Filip 2011-11-07 12:45:14 PST --- According to this: http://www.mesa3d.org/ I am already at the latest mesa release? I will try the xrandr -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #7 from Alex Deucher 2011-11-07 12:36:05 PST --- (In reply to comment #6) > I think I am using 7.11-0ubuntu3 (if that makes sense) Can you try a newer version? I believe ubuntu provides testing PPAs. > > How do I turn on non-inte

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #6 from Filip 2011-11-07 12:32:59 PST --- I think I am using 7.11-0ubuntu3 (if that makes sense) How do I turn on non-interlaced mode? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are recei

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #5 from Alex Deucher 2011-11-07 12:30:39 PST --- What version of mesa are you using? Does a newer version help? Does using a non-interlaced mode fix the issue? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 Alex Deucher changed: What|Removed |Added Attachment #53266|application/octet-stream|text/plain mime type|

[PATCH 04/12] drm: remove unused save/restore fields from drm_connector & fix comments

2011-11-07 Thread Chris Wilson
On Mon, 7 Nov 2011 12:03:15 -0800, Jesse Barnes wrote: > Also fix up the wrapping to 80 columns. > > Signed-off-by: Jesse Barnes > --- > include/drm/drm_crtc.h | 20 +++- > 1 files changed, 7 insertions(+), 13 deletions(-) > > diff --git a/include/drm/drm_crtc.h b/include/d

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #3 from Filip 2011-11-07 12:26:27 PST --- Created attachment 53267 --> https://bugs.freedesktop.org/attachment.cgi?id=53267 Xorg log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiv

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #2 from Filip 2011-11-07 12:25:56 PST --- Created attachment 53266 --> https://bugs.freedesktop.org/attachment.cgi?id=53266 dmesg output -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are re

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #1 from Alex Deucher 2011-11-07 12:20:47 PST --- Please attach your xorg log and dmesg output. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are

[Bug 41579] R300 Segfaults when using mupen64plus

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41579 --- Comment #4 from Marek Ol??k 2011-11-07 12:03:14 PST --- Type on master: git log origin/7.11..origin/master -- src/mesa/state_tracker/st_draw.c (assuming origin is the main mesa repo) I am 99.9% sure one of those commits fixes it. :) Please

[Bug 42678] New: Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 Bug #: 42678 Summary: Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon Classification: Unclassified Product: Mesa Version: unspecified Platform

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

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42373 --- Comment #12 from Jerome Glisse 2011-11-07 10:53:17 PST --- Does booting with following kernel options help amd_iommu=off iommu=off -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this ma

[PATCH 12/12] nouveau/ttm/dma: Enable the TTM DMA pool if device can only do 32-bit DMA.

2011-11-07 Thread j.gli...@gmail.com
From: Konrad Rzeszutek Wilk If the card is capable of more than 32-bit, then use the default TTM page pool code which allocates from anywhere in the memory. Note: If the 'ttm.no_dma' parameter is set, the override is ignored and the default TTM pool is used. CC: Ben Skeggs CC: Francisco Jerez

[PATCH 11/12] drm/radeon/kms: Enable the TTM DMA pool if swiotlb is on

2011-11-07 Thread j.gli...@gmail.com
From: Konrad Rzeszutek Wilk With the exception that we do not handle the AGP case. We only deal with PCIe cards such as ATI ES1000 or HD3200 that have been detected to only do DMA up to 32-bits. CC: Dave Airlie CC: Alex Deucher Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: Jerome Glisse

[PATCH 10/12] swiotlb: Expose swiotlb_nr_tlb function to modules

2011-11-07 Thread j.gli...@gmail.com
From: Konrad Rzeszutek Wilk As a mechanism to detect whether SWIOTLB is enabled or not. We also fix the spelling - it was swioltb instead of swiotlb. CC: FUJITA Tomonori [v1: Ripped out swiotlb_enabled] Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/swiotlb-xen.c |2 +- include/linu

[PATCH 09/12] ttm: Provide DMA aware TTM page pool code.

2011-11-07 Thread j.gli...@gmail.com
From: Konrad Rzeszutek Wilk In TTM world the pages for the graphic drivers are kept in three different pools: write combined, uncached, and cached (write-back). When the pages are used by the graphic driver the graphic adapter via its built in MMU (or AGP) programs these pages in. The programming

[PATCH 08/12] drm/ttm: introduce callback for ttm_tt populate & unpopulate

2011-11-07 Thread j.gli...@gmail.com
From: Jerome Glisse Move the page allocation and freeing to driver callback and provide ttm code helper function for those. Most intrusive change, is the fact that we now only fully populate an object this simplify some of code designed around the page fault design. Signed-off-by: Jerome Glisse

[PATCH 07/12] drm/ttm: merge ttm_backend and ttm_tt

2011-11-07 Thread j.gli...@gmail.com
From: Jerome Glisse ttm_backend will exist only and only with a ttm_tt, and ttm_tt will be of interesting use only when bind to a backend. Thus to avoid code & data duplication btw the two merge them. Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/nouveau/

[PATCH 06/12] drm/ttm: test for dma_address array allocation failure

2011-11-07 Thread j.gli...@gmail.com
From: Jerome Glisse Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_tt.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index 2dd45ca..58ea7dc 100644 --- a/drivers

[PATCH 05/12] drm/ttm: convert page allocation to use page ptr array instead of list V3

2011-11-07 Thread j.gli...@gmail.com
From: Jerome Glisse Use the ttm_tt page ptr array for page allocation, move the list to array unwinding into the page allocation functions. V2 split the fix to use ttm put page as a separate fix properly fill pages array when TTM_PAGE_FLAG_ZERO_ALLOC is not set V3 Added back page_count()==1 chec

[PATCH 04/12] drm/ttm: use ttm put pages function to properly restore cache attribute

2011-11-07 Thread j.gli...@gmail.com
From: Jerome Glisse On failure we need to make sure the page we free has wb cache attribute. Do this pas call the proper ttm page helper function. Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_tt.c |5 - 1 files changed, 4 insertions(+), 1

[PATCH 03/12] drm/ttm: remove unused backend flags field

2011-11-07 Thread j.gli...@gmail.com
From: Jerome Glisse This field is not use by any of the driver just drop it. Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/radeon/radeon_ttm.c |1 - include/drm/ttm/ttm_bo_driver.h |2 -- 2 files changed, 0 insertions(+), 3 deletions(-) diff

[PATCH 02/12] drm/ttm: remove split btw highmen and lowmem page

2011-11-07 Thread j.gli...@gmail.com
From: Jerome Glisse Split btw highmem and lowmem page was rendered useless by the pool code. Remove it. Note further cleanup would change the ttm page allocation helper to actualy take an array instead of relying on list this could drasticly reduce the number of function call in the common case o

[PATCH 01/12] drm/ttm: remove userspace backed ttm object support

2011-11-07 Thread j.gli...@gmail.com
From: Jerome Glisse This was never use in none of the driver, properly using userspace page for bo would need more code (vma interaction mostly). Removing this dead code in preparation of ttm_tt & backend merge. Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/d

ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator [FULL]

2011-11-07 Thread j.gli...@gmail.com
Ok so here is full patchset, including nouveau support, Ben if you could review (if change to nouveau in patch 7 are correct then others change to nouveau are more than likely 100% correct :)). So been tested on R7XX,EVERGREEN,CAICOS,CAYMAN with SWIOTLB. Also tested on NV50. I still need to test A

[git pull] drm fixes

2011-11-07 Thread Dave Airlie
On Mon, Nov 7, 2011 at 6:00 PM, Linus Torvalds wrote: > On Mon, Nov 7, 2011 at 5:27 AM, Dave Airlie wrote: >> >> are available in the git repository at: >> >> ?ssh://people.freedesktop.org/~/linux drm-fixes > > No they are *not* available there. > > Fix your pull script already! I mentioned this

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

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42373 --- Comment #11 from Kunal 2011-11-07 10:10:30 PST --- (In reply to comment #9) > (In reply to comment #8) > > Are you doing this under a virtual box ? If so it's not supported > > No - this is my bare-metal machine booting. > I use VirtualBox

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

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42373 --- Comment #10 from Kunal 2011-11-07 10:09:33 PST --- Created attachment 53253 --> https://bugs.freedesktop.org/attachment.cgi?id=53253 dmesg log after pm-resume attempt Trying to wake up from suspend-to-ram state also exhibits the same issu

[PATCH] agp: Enable all supported rates for graphic cards

2011-11-07 Thread Tormod Volden
On Mon, Nov 7, 2011 at 5:08 PM, Alex Deucher wrote: > On Mon, Nov 7, 2011 at 11:05 AM, Tormod Volden > wrote: >> On Mon, Nov 7, 2011 at 2:50 PM, Konrad Rzeszutek Wilk >> wrote: >>> On Sun, Nov 06, 2011 at 04:03:21PM +0100, Tormod Volden wrote: From: Tormod Volden Some cards repo

[PATCH] agp: Enable all supported rates for graphic cards

2011-11-07 Thread Tormod Volden
On Mon, Nov 7, 2011 at 2:50 PM, Konrad Rzeszutek Wilk wrote: > On Sun, Nov 06, 2011 at 04:03:21PM +0100, Tormod Volden wrote: >> From: Tormod Volden >> >> Some cards report that they support only 4x, in which case they >> should support 2x and 1x as well, according to the AGP spec. > > Have you t

Re: Strange effect with i915 backlight controller

2011-11-07 Thread Daniel Mack
Didn't get any response yet, hence copying LKML for a broader audience. On 11/04/2011 03:36 PM, Daniel Mack wrote: I'm facing a bug on a Samsung X20 notebook which features an i915 chipset (output of 'lspci -v' attached). The effect is that setting the backlight to odd values causes the value

[Bug 42683] [r300g] GPU lockup while playing WoW

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42683 --- Comment #3 from Chris Rankin 2011-11-07 16:44:29 UTC --- (In reply to comment #1) > Could you please bisect? The problem does not occur between dceb202297b39220fbbcb41267077fb3ff8d137a and 2318443ebd6bf9727676b530a3b057dcf13a3ca6, so I can

[Bug 42683] [r300g] GPU lockup while playing WoW

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42683 --- Comment #3 from Chris Rankin 2011-11-07 16:44:29 UTC --- (In reply to comment #1) > Could you please bisect? The problem does not occur between dceb202297b39220fbbcb41267077fb3ff8d137a and 2318443ebd6bf9727676b530a3b057dcf13a3ca6, so I can

[PATCH 12/12] nouveau/ttm/dma: Enable the TTM DMA pool if device can only do 32-bit DMA.

2011-11-07 Thread j . glisse
From: Konrad Rzeszutek Wilk If the card is capable of more than 32-bit, then use the default TTM page pool code which allocates from anywhere in the memory. Note: If the 'ttm.no_dma' parameter is set, the override is ignored and the default TTM pool is used. CC: Ben Skeggs CC: Francisco Jerez

[PATCH 11/12] drm/radeon/kms: Enable the TTM DMA pool if swiotlb is on

2011-11-07 Thread j . glisse
From: Konrad Rzeszutek Wilk With the exception that we do not handle the AGP case. We only deal with PCIe cards such as ATI ES1000 or HD3200 that have been detected to only do DMA up to 32-bits. CC: Dave Airlie CC: Alex Deucher Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: Jerome Glisse

[PATCH 10/12] swiotlb: Expose swiotlb_nr_tlb function to modules

2011-11-07 Thread j . glisse
From: Konrad Rzeszutek Wilk As a mechanism to detect whether SWIOTLB is enabled or not. We also fix the spelling - it was swioltb instead of swiotlb. CC: FUJITA Tomonori [v1: Ripped out swiotlb_enabled] Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/swiotlb-xen.c |2 +- include/linu

[PATCH 09/12] ttm: Provide DMA aware TTM page pool code.

2011-11-07 Thread j . glisse
From: Konrad Rzeszutek Wilk In TTM world the pages for the graphic drivers are kept in three different pools: write combined, uncached, and cached (write-back). When the pages are used by the graphic driver the graphic adapter via its built in MMU (or AGP) programs these pages in. The programming

[PATCH 08/12] drm/ttm: introduce callback for ttm_tt populate & unpopulate

2011-11-07 Thread j . glisse
From: Jerome Glisse Move the page allocation and freeing to driver callback and provide ttm code helper function for those. Most intrusive change, is the fact that we now only fully populate an object this simplify some of code designed around the page fault design. Signed-off-by: Jerome Glisse

[PATCH 07/12] drm/ttm: merge ttm_backend and ttm_tt

2011-11-07 Thread j . glisse
From: Jerome Glisse ttm_backend will exist only and only with a ttm_tt, and ttm_tt will be of interesting use only when bind to a backend. Thus to avoid code & data duplication btw the two merge them. Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/nouveau/

[Bug 42622] [r300g] mupen64plus invalid command stream

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42622 Michel D?nzer changed: What|Removed |Added Summary|[mesa] [r300] mupen64plus |[r300g] mupen64plus invalid

[PATCH 06/12] drm/ttm: test for dma_address array allocation failure

2011-11-07 Thread j . glisse
From: Jerome Glisse Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_tt.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index 2dd45ca..58ea7dc 100644 --- a/drivers

[PATCH 05/12] drm/ttm: convert page allocation to use page ptr array instead of list V3

2011-11-07 Thread j . glisse
From: Jerome Glisse Use the ttm_tt page ptr array for page allocation, move the list to array unwinding into the page allocation functions. V2 split the fix to use ttm put page as a separate fix properly fill pages array when TTM_PAGE_FLAG_ZERO_ALLOC is not set V3 Added back page_count()==1 chec

[PATCH 04/12] drm/ttm: use ttm put pages function to properly restore cache attribute

2011-11-07 Thread j . glisse
From: Jerome Glisse On failure we need to make sure the page we free has wb cache attribute. Do this pas call the proper ttm page helper function. Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_tt.c |5 - 1 files changed, 4 insertions(+), 1

[PATCH 03/12] drm/ttm: remove unused backend flags field

2011-11-07 Thread j . glisse
From: Jerome Glisse This field is not use by any of the driver just drop it. Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/radeon/radeon_ttm.c |1 - include/drm/ttm/ttm_bo_driver.h |2 -- 2 files changed, 0 insertions(+), 3 deletions(-) diff

[Bug 42622] [mesa] [r300] mupen64plus invalid command stream

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42622 Michel D?nzer changed: What|Removed |Added Component|Drivers/DRI/r300|Drivers/Gallium/r300 -- Configure bugma

[PATCH 02/12] drm/ttm: remove split btw highmen and lowmem page

2011-11-07 Thread j . glisse
From: Jerome Glisse Split btw highmem and lowmem page was rendered useless by the pool code. Remove it. Note further cleanup would change the ttm page allocation helper to actualy take an array instead of relying on list this could drasticly reduce the number of function call in the common case o

[PATCH 01/12] drm/ttm: remove userspace backed ttm object support

2011-11-07 Thread j . glisse
From: Jerome Glisse This was never use in none of the driver, properly using userspace page for bo would need more code (vma interaction mostly). Removing this dead code in preparation of ttm_tt & backend merge. Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk --- drivers/gpu/d

ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator [FULL]

2011-11-07 Thread j . glisse
Ok so here is full patchset, including nouveau support, Ben if you could review (if change to nouveau in patch 7 are correct then others change to nouveau are more than likely 100% correct :)). So been tested on R7XX,EVERGREEN,CAICOS,CAYMAN with SWIOTLB. Also tested on NV50. I still need to test A

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

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42373 --- Comment #8 from Jerome Glisse 2011-11-07 07:29:29 PST --- Are you doing this under a virtual box ? If so it's not supported -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail beca

Misc. cleanups

2011-11-07 Thread Alex Deucher
On Mon, Nov 7, 2011 at 3:03 PM, Jesse Barnes wrote: > Just some cleanups for unused fields in drm_crtc.h and some comment > corrections. ?I also removed a few DRM_ERRORs from drm_crtc.c (things > actually weren't as bad as I feared). > > Next step is to remove a whole slew of DRM_DEBUG calls unle

[PATCH 1/4] drm: try to restore previous CRTC config if mode set fails

2011-11-07 Thread Alex Deucher
On Mon, Nov 7, 2011 at 1:39 PM, Jesse Barnes wrote: > We restore the CRTC, encoder, and connector configurations, but if the > mode set failed, the attached display may have been turned off, so we > need to try set_config again to restore things to the way they were. > > Signed-off-by: Jesse Barn

[PATCH 08/11] drm/ttm: introduce callback for ttm_tt populate & unpopulate

2011-11-07 Thread Alex Deucher
On Mon, Nov 7, 2011 at 12:35 PM, Rob Clark wrote: > On Thu, Nov 3, 2011 at 6:39 PM, ? wrote: >> From: Jerome Glisse >> >> Move the page allocation and freeing to driver callback and >> provide ttm code helper function for those. > > btw, having page allocation/freeing in driver callback would sol

[Bug 42683] [r300g] GPU lockup while playing WoW

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42683 --- Comment #2 from Chris Rankin 2011-11-07 15:13:25 PST --- (In reply to comment #1) > Could you please bisect? Haven't we already played the bisection game, though? I proved that commit: 363ff844753c46ac9c13866627e096b091ea81f8 is the first

[Bug 42683] [r300g] GPU lockup while playing WoW

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42683 --- Comment #1 from Marek Olšák 2011-11-07 14:50:34 PST --- Could you please bisect? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bu

[PATCH 08/11] drm/ttm: introduce callback for ttm_tt populate & unpopulate

2011-11-07 Thread Jerome Glisse
On Mon, Nov 07, 2011 at 11:35:25AM -0600, Rob Clark wrote: > On Thu, Nov 3, 2011 at 6:39 PM, wrote: > > From: Jerome Glisse > > > > Move the page allocation and freeing to driver callback and > > provide ttm code helper function for those. > > btw, having page allocation/freeing in driver callb

[Bug 42654] [3.1 regression] hwmon sysfs entry is missing

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42654 Mikhail Vorozhtsov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 42654] [3.1 regression] hwmon sysfs entry is missing

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42654 --- Comment #1 from Alex Deucher 2011-11-07 05:44:44 PST --- The aux i2c errors are unrelated and can be ignored. What was the last kernel that has working hwmon support? Can you bisect? -- Configure bugmail: https://bugs.freedesktop.org/use

[Bug 42683] New: [r300g] GPU lockup while playing WoW

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42683 Bug #: 42683 Summary: [r300g] GPU lockup while playing WoW Classification: Unclassified Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status:

[git pull] drm fixes

2011-11-07 Thread Dave Airlie
Hi Linus, this is just radeon and vmware fixes that would be good to have for -rc1, Its a bit larger than it looks as Alex wanted to move some code into a separate file so it reflected how other code work, The radeon ones fix some outstanding corruption issues on CAYMAN gpus, along with more

[RFC] Virtual CRTCs (proposal + experimental code)

2011-11-07 Thread Dave Airlie
> In general any device that can do something good with rendered pixels > can act as a CTD device, allowing a GPU to be an acceleration device > for a less capable display device or (the opposite) a frame-buffer-based > display device to be an expansion card for a GPU. Of course, for > each display

ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator

2011-11-07 Thread Konrad Rzeszutek Wilk
On Thu, Nov 03, 2011 at 07:39:04PM -0400, j.glisse at gmail.com wrote: > Hi, > > So updated patchset, only patch 5 seen change since last set. > Last 3 patch are from your patchset, modified on top of mine. Yup, and I've tested it on my radeon box. Going to test it on the nvidia and some of the 3

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42678 Alex Deucher changed: What|Removed |Added Attachment #53265|text/x-log |text/plain mime type|

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 Alex Deucher changed: What|Removed |Added Attachment #53265|text/x-log |text/plain mime type|

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #9 from Alex Deucher 2011-11-07 12:48:25 PST --- (In reply to comment #8) > According to this: > http://www.mesa3d.org/ > > I am already at the latest mesa release? > Yes, but there have been a lot of changes since 7.11 was release

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #8 from Filip 2011-11-07 12:45:14 PST --- According to this: http://www.mesa3d.org/ I am already at the latest mesa release? I will try the xrandr -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #7 from Alex Deucher 2011-11-07 12:36:05 PST --- (In reply to comment #6) > I think I am using 7.11-0ubuntu3 (if that makes sense) Can you try a newer version? I believe ubuntu provides testing PPAs. > > How do I turn on non-inter

Re: [PATCH 04/12] drm: remove unused save/restore fields from drm_connector & fix comments

2011-11-07 Thread Jesse Barnes
On Mon, 07 Nov 2011 20:26:59 + Chris Wilson wrote: > On Mon, 7 Nov 2011 12:03:15 -0800, Jesse Barnes > wrote: > > Also fix up the wrapping to 80 columns. > > > > Signed-off-by: Jesse Barnes > > --- > > include/drm/drm_crtc.h | 20 +++- > > 1 files changed, 7 insertions

[PATCH 04/12] drm: remove unused save/restore fields from drm_connector & fix comments

2011-11-07 Thread Jesse Barnes
uint32_t max_width, uint32_t max_height); > > keeps the logically more connected width&height together. > > What colour do you want your bikeshed today? /me burns down the bikeshed. -- Jesse Barnes, Intel Open Source Technology Center -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/2007/759f81ee/attachment.pgp>

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #6 from Filip 2011-11-07 12:32:59 PST --- I think I am using 7.11-0ubuntu3 (if that makes sense) How do I turn on non-interlaced mode? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are recei

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #5 from Alex Deucher 2011-11-07 12:30:39 PST --- What version of mesa are you using? Does a newer version help? Does using a non-interlaced mode fix the issue? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=e

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42678 Alex Deucher changed: What|Removed |Added Attachment #53266|application/octet-stream|text/plain mime type|

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42678 Alex Deucher changed: What|Removed |Added Attachment #53267|text/x-log |text/plain mime type|

Re: Misc. cleanups

2011-11-07 Thread Alex Deucher
On Mon, Nov 7, 2011 at 3:03 PM, Jesse Barnes wrote: > Just some cleanups for unused fields in drm_crtc.h and some comment > corrections.  I also removed a few DRM_ERRORs from drm_crtc.c (things > actually weren't as bad as I feared). > > Next step is to remove a whole slew of DRM_DEBUG calls unles

Re: [PATCH 04/12] drm: remove unused save/restore fields from drm_connector & fix comments

2011-11-07 Thread Chris Wilson
On Mon, 7 Nov 2011 12:03:15 -0800, Jesse Barnes wrote: > Also fix up the wrapping to 80 columns. > > Signed-off-by: Jesse Barnes > --- > include/drm/drm_crtc.h | 20 +++- > 1 files changed, 7 insertions(+), 13 deletions(-) > > diff --git a/include/drm/drm_crtc.h b/include/d

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #3 from Filip 2011-11-07 12:26:27 PST --- Created attachment 53267 --> https://bugs.freedesktop.org/attachment.cgi?id=53267 Xorg log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiv

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #2 from Filip 2011-11-07 12:25:56 PST --- Created attachment 53266 --> https://bugs.freedesktop.org/attachment.cgi?id=53266 dmesg output -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are re

Re: [PATCH 1/4] drm: try to restore previous CRTC config if mode set fails

2011-11-07 Thread Alex Deucher
On Mon, Nov 7, 2011 at 1:39 PM, Jesse Barnes wrote: > We restore the CRTC, encoder, and connector configurations, but if the > mode set failed, the attached display may have been turned off, so we > need to try set_config again to restore things to the way they were. > > Signed-off-by: Jesse Barne

[Bug 42678] Dual Screen Monitor Gnome-shell 3 hard lock ups - ATI open source Radeon

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42678 --- Comment #1 from Alex Deucher 2011-11-07 12:20:47 PST --- Please attach your xorg log and dmesg output. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are t

Re: [PATCH 08/11] drm/ttm: introduce callback for ttm_tt populate & unpopulate

2011-11-07 Thread Alex Deucher
On Mon, Nov 7, 2011 at 12:35 PM, Rob Clark wrote: > On Thu, Nov 3, 2011 at 6:39 PM,   wrote: >> From: Jerome Glisse >> >> Move the page allocation and freeing to driver callback and >> provide ttm code helper function for those. > > btw, having page allocation/freeing in driver callback would sol

[PATCH 12/12] drm: remove some potentially dangerous DRM_ERRORs

2011-11-07 Thread Jesse Barnes
Each of these error messages can be caused by a broken or malicious userspace wanting to spam the dmesg with useless info. They're really not worthy of DRM_DEBUG statements either; those are generally only useful during bringup of new hardware or versions, and ought to be removed before going upst

[PATCH 11/12] drm: document the drm_mode_config structure

2011-11-07 Thread Jesse Barnes
Including a comment about what the locks are for. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 003cba2..58e6a996 100644 --- a/include/dr

[PATCH 10/12] drm: document the drm_mode_group structure

2011-11-07 Thread Jesse Barnes
This is actually a core structure with a big future ahead of it. Make it a little less mysterious. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index a

[PATCH 09/12] drm: document and cleanup drm_mode_config_funcs

2011-11-07 Thread Jesse Barnes
Just fix the wrapping mostly. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index b33713b..a0c7dc6 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm

[PATCH 07/12] drm: remove unused fields in drm_connector and document the rest

2011-11-07 Thread Jesse Barnes
We never used initial_x/y or the force_encoder_id, so drop those fields and proide a basic description of the others. Really, the ELD bits belong in drm_display_info rather than directly in the connector, but that's a separate cleanup. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h |

[PATCH 08/12] drm: document drm_mode_set structure

2011-11-07 Thread Jesse Barnes
This is a core mode setting structure that deserves a little verbiage. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index e9f486d..b33713b 100644 --- a/incl

[PATCH 05/12] drm: add comments for drm_encoder_funcs

2011-11-07 Thread Jesse Barnes
Just basic verbiage. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 6ab20f8..a1583d8 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -4

[PATCH 06/12] drm: add drm_encoder comments

2011-11-07 Thread Jesse Barnes
Just some basic comments about the place and function of the structure and fields. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index a1583d8..a98433a 10

[PATCH 04/12] drm: remove unused save/restore fields from drm_connector & fix comments

2011-11-07 Thread Jesse Barnes
Also fix up the wrapping to 80 columns. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h | 20 +++- 1 files changed, 7 insertions(+), 13 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index ad2a605..6ab20f8 100644 --- a/include/drm/drm_crtc.h +

[PATCH 03/12] drm: fix comments for drm_crtc struct

2011-11-07 Thread Jesse Barnes
Remove stale entries and update with the latest stuff. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index a960020..ad2a605 100644 --- a/include/drm/drm_cr

[PATCH 02/12] drm: remove unused save/restore functions from drm_crtc_funcs & fix comments

2011-11-07 Thread Jesse Barnes
Remove two unused fields from this struct and cleanup/correct the comments. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h | 18 -- 1 files changed, 4 insertions(+), 14 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index b0df23a..a960020 100

[PATCH 01/12] drm: remove unused connector_count field from drm_display_mode

2011-11-07 Thread Jesse Barnes
Doesn't really belong here anyway. Signed-off-by: Jesse Barnes --- include/drm/drm_crtc.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 8020798..b0df23a 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc

Misc. cleanups

2011-11-07 Thread Jesse Barnes
Just some cleanups for unused fields in drm_crtc.h and some comment corrections. I also removed a few DRM_ERRORs from drm_crtc.c (things actually weren't as bad as I feared). Next step is to remove a whole slew of DRM_DEBUG calls unless people are really attached to them. I find them to just get

  1   2   >