[PATCH] drm/ttm: callback move_notify any time bo placement change v2

2011-11-18 Thread Thomas Hellstrom
On 11/18/2011 06:32 PM, j.glisse at gmail.com wrote: > From: Jerome Glisse > > Previously we were calling back move_notify in error path when the > bo is returned to it's original position or when destroy the bo. > When destroying the bo set the new mem placement as NULL when calling > back in the

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Thomas Hellstrom
On 11/18/2011 06:26 PM, Ben Skeggs wrote: > On Fri, 2011-11-18 at 15:30 +0100, Thomas Hellstrom wrote: > >> On 11/18/2011 02:15 PM, Ben Skeggs wrote: >> >>> On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: >>> >>> Jerome, I don't like this change for the f

[Intel-gfx] [PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-18 Thread Kenneth Graunke
On 11/18/2011 10:41 PM, Keith Packard wrote: > RC6 should always work on IVB, and should work on SNB whenever IO > remapping is disabled. Make the default value for the parameter turn > it on in these cases. Setting the value to either 0 or 1 will force > the specified behavior. > > Signed-off-by:

Re: [Intel-gfx] [PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-18 Thread Kenneth Graunke
On 11/18/2011 10:41 PM, Keith Packard wrote: > RC6 should always work on IVB, and should work on SNB whenever IO > remapping is disabled. Make the default value for the parameter turn > it on in these cases. Setting the value to either 0 or 1 will force > the specified behavior. > > Signed-off-by:

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Ben Skeggs
On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: > Jerome, > > I don't like this change for the following reasons -snip- > > > > One can take advantage of move notify callback but, there are > > corner case where bind/unbind might be call without move notify > > being call (in error pat

[PULL] drm-intel-fixes

2011-11-18 Thread Keith Packard
Hey Dave: Here's a pile of fixes to the intel driver. This pull includes the three patches you already merged in, but it merges cleanly so I didn't rebase around them. The following changes since commit 37be944a0270402f9cda291a930b0286f6dc92f5: Merge branch 'drm-core-next' of git://people.fre

DRM KMS Modesetting

2011-11-18 Thread David Herrmann
On Fri, Nov 18, 2011 at 10:41 PM, Jesse Barnes wrote: > On Fri, 18 Nov 2011 22:35:13 +0100 > David Herrmann wrote: > >> 2011/11/15 Kristian H?gsberg : >> > 2011/11/15 David Herrmann : >> >> 2011/11/15 Kristian H?gsberg : >> >>> On Mon, Nov 14, 2011 at 5:54 PM, Jesse Barnes > >>> virtuousgeek.org

[PULL] drm-intel-fixes

2011-11-18 Thread Keith Packard
/pgp-signature Size: 827 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/2018/4e3efcd7/attachment-0001.pgp>

[PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-18 Thread Keith Packard
RC6 should always work on IVB, and should work on SNB whenever IO remapping is disabled. Make the default value for the parameter turn it on in these cases. Setting the value to either 0 or 1 will force the specified behavior. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/i915_drv.c

[PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-18 Thread Keith Packard
RC6 should always work on IVB, and should work on SNB whenever IO remapping is disabled. Make the default value for the parameter turn it on in these cases. Setting the value to either 0 or 1 will force the specified behavior. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/i915_drv.c

DRM KMS Modesetting

2011-11-18 Thread David Herrmann
2011/11/15 Kristian H?gsberg : > 2011/11/15 David Herrmann : >> 2011/11/15 Kristian H?gsberg : >>> On Mon, Nov 14, 2011 at 5:54 PM, Jesse Barnes >>> wrote: On Mon, 14 Nov 2011 21:47:09 +0100 David Herrmann wrote: > > I had to modify the resolution the test was searching for > >

[Bug 43073] Trine not working on Radeon HD6520G

2011-11-18 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43073 Sven Arvidsson changed: What|Removed |Added CC||sa at whiz.se --- Comment #3 from Sven

[PATCH] drm: Fix missed parenthesis

2011-11-18 Thread Joonyoung Shim
This adds a missed parenthesis in drm_mode.h header file. Signed-off-by: Joonyoung Shim --- include/drm/drm_mode.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index 094da8a..27d7faf 100644 --- a/include/drm/drm_mode.h

ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator V7

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 08:04:47PM -0500, j.glisse at gmail.com wrote: > Important fix to patch 14, fix accounting of ghost bo. When creating a > ghost bo we don't account it, so set its acc_size to 0 so that when > ghost is release we don't overfree. > > I wonder how i didn't run into this before

[PATCH 14/14] drm/ttm: simplify memory accounting for ttm user v2

2011-11-18 Thread j.gli...@gmail.com
From: Jerome Glisse Provide helper function to compute the kernel memory size needed for each buffer object. Move all the accounting inside ttm, simplifying driver and avoiding code duplication accross them. v2 fix accounting of ghost object, one would have thought that i would have run into

[PATCH 13/14] drm/ttm: isolate dma data from ttm_tt V4

2011-11-18 Thread j.gli...@gmail.com
From: Jerome Glisse Move dma data to a superset ttm_dma_tt structure which herit from ttm_tt. This allow driver that don't use dma functionalities to not have to waste memory for it. V2 Rebase on top of no memory account changes (where/when is my delorean when i need it ?) V3 Make sure page l

[PATCH 12/14] drm/nouveau: enable the ttm dma pool when swiotlb is active V3

2011-11-18 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. V2 use pci_set_consistent_dma_mask V

[PATCH 11/14] drm/radeon/kms: enable the ttm dma pool if swiotlb is on V4

2011-11-18 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. V2 force dma32 if we fail to set bigger dma mask V3 Rebase on top of no memory account changes (where

[PATCH 10/14] drm/ttm: provide dma aware ttm page pool code V9

2011-11-18 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 09/14] drm/ttm: introduce callback for ttm_tt populate & unpopulate V4

2011-11-18 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. V2 Rebase on top of memory a

[PATCH 08/14] drm/ttm: merge ttm_backend and ttm_tt V5

2011-11-18 Thread j.gli...@gmail.com
From: Jerome Glisse ttm_backend will only exist with a ttm_tt, and ttm_tt will only be of interest when bound to a backend. Merge them to avoid code and data duplication. V2 Rebase on top of memory accounting overhaul V3 Rebase on top of more memory accounting changes V4 Rebase on top of no memo

[PATCH 07/14] drm/ttm: page allocation use page array instead of list

2011-11-18 Thread j.gli...@gmail.com
From: Jerome Glisse Use the ttm_tt pages array for pages allocations, move the list unwinding into the page allocation functions. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 85 +- drivers/gpu/drm/ttm/ttm_tt.c | 36 +++

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

2011-11-18 Thread j.gli...@gmail.com
From: Jerome Glisse Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk Reviewed-by: Thomas Hellstrom --- 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 90527a

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

2011-11-18 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 Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_tt.c |5 - 1 fi

[PATCH 04/14] drm/ttm: remove unused backend flags field

2011-11-18 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 Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/radeon/radeon_ttm.c |1 - include/drm/ttm/ttm_bo_driver.h |2 -- 2 files changed, 0 inser

[PATCH 03/14] drm/ttm: remove split btw highmen and lowmem page

2011-11-18 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 02/14] drm/ttm: remove userspace backed ttm object support

2011-11-18 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 Reviewed-by: Thoma

[PATCH 01/14] swiotlb: Expose swiotlb_nr_tlb function to modules

2011-11-18 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

ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator V7

2011-11-18 Thread j.gli...@gmail.com
Important fix to patch 14, fix accounting of ghost bo. When creating a ghost bo we don't account it, so set its acc_size to 0 so that when ghost is release we don't overfree. I wonder how i didn't run into this before. Patch are also at http://people.freedesktop.org/~glisse/ttmdma/ Cheers, Jero

[Bug 43073] Trine not working on Radeon HD6520G

2011-11-18 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43073 --- Comment #2 from Sandeep 2011-11-18 11:27:49 PST --- Created attachment 53674 --> https://bugs.freedesktop.org/attachment.cgi?id=53674 Output from glxinfo -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[Bug 43073] Trine not working on Radeon HD6520G

2011-11-18 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43073 --- Comment #1 from Sandeep 2011-11-18 11:26:57 PST --- Created attachment 53673 --> https://bugs.freedesktop.org/attachment.cgi?id=53673 trine log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are re

[Bug 43073] New: Trine not working on Radeon HD6520G

2011-11-18 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43073 Bug #: 43073 Summary: Trine not working on Radeon HD6520G Classification: Unclassified Product: DRI Version: XOrg CVS Platform: x86-64 (AMD64) OS/Version: Linux (All)

[PATCH] drm/ttm: callback move_notify any time bo placement change v3

2011-11-18 Thread j.gli...@gmail.com
From: Jerome Glisse Previously we were calling back move_notify in error path when the bo is returned to it's original position or when destroy the bo. When destroying the bo set the new mem placement as NULL when calling back in the driver. Updating nouveau to deal with NULL placement properly.

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 6:25 PM, Jerome Glisse wrote: > On Fri, Nov 18, 2011 at 06:14:02PM -0500, Jerome Glisse wrote: >> On Fri, Nov 18, 2011 at 11:48:58PM +0100, Thomas Hellstrom wrote: >> > On 11/18/2011 06:26 PM, Ben Skeggs wrote: >> > >On Fri, 2011-11-18 at 15:30 +0100, Thomas Hellstrom wrote

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 06:14:02PM -0500, Jerome Glisse wrote: > On Fri, Nov 18, 2011 at 11:48:58PM +0100, Thomas Hellstrom wrote: > > On 11/18/2011 06:26 PM, Ben Skeggs wrote: > > >On Fri, 2011-11-18 at 15:30 +0100, Thomas Hellstrom wrote: > > >>On 11/18/2011 02:15 PM, Ben Skeggs wrote: > > >>>On

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 11:48:58PM +0100, Thomas Hellstrom wrote: > On 11/18/2011 06:26 PM, Ben Skeggs wrote: > >On Fri, 2011-11-18 at 15:30 +0100, Thomas Hellstrom wrote: > >>On 11/18/2011 02:15 PM, Ben Skeggs wrote: > >>>On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: > >>> > Jerom

Re: [PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-18 Thread Wu Fengguang
On Sat, Nov 19, 2011 at 01:46:44AM +0800, Keith Packard wrote: > On Fri, 18 Nov 2011 17:37:40 +0800, Wu Fengguang > wrote: > > > However when in X, ->mode_set won't be called at all. Only > > ->get_modes and ->detect are called... > > The desktop software will call mode_set when it configures

[PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-18 Thread Wu Fengguang
Update: Just tested DP and its working! However, it's found that hot plug under X won't work... The previous hot plug tests are done in KMS console which are all fine: on re-inserting the monitor, ->mode_set will be called and HDMI/DP audio will be re-enabled and ELD be transfered. However when

Re: ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator V7

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 08:04:47PM -0500, j.gli...@gmail.com wrote: > Important fix to patch 14, fix accounting of ghost bo. When creating a > ghost bo we don't account it, so set its acc_size to 0 so that when > ghost is release we don't overfree. > > I wonder how i didn't run into this before. >

[PATCH 14/14] drm/ttm: simplify memory accounting for ttm user v2

2011-11-18 Thread j . glisse
From: Jerome Glisse Provide helper function to compute the kernel memory size needed for each buffer object. Move all the accounting inside ttm, simplifying driver and avoiding code duplication accross them. v2 fix accounting of ghost object, one would have thought that i would have run into

[PATCH 13/14] drm/ttm: isolate dma data from ttm_tt V4

2011-11-18 Thread j . glisse
From: Jerome Glisse Move dma data to a superset ttm_dma_tt structure which herit from ttm_tt. This allow driver that don't use dma functionalities to not have to waste memory for it. V2 Rebase on top of no memory account changes (where/when is my delorean when i need it ?) V3 Make sure page l

[PATCH 12/14] drm/nouveau: enable the ttm dma pool when swiotlb is active V3

2011-11-18 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. V2 use pci_set_consistent_dma_mask V

[PATCH 11/14] drm/radeon/kms: enable the ttm dma pool if swiotlb is on V4

2011-11-18 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. V2 force dma32 if we fail to set bigger dma mask V3 Rebase on top of no memory account changes (where

[PATCH 10/14] drm/ttm: provide dma aware ttm page pool code V9

2011-11-18 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 09/14] drm/ttm: introduce callback for ttm_tt populate & unpopulate V4

2011-11-18 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. V2 Rebase on top of memory a

[PATCH 08/14] drm/ttm: merge ttm_backend and ttm_tt V5

2011-11-18 Thread j . glisse
From: Jerome Glisse ttm_backend will only exist with a ttm_tt, and ttm_tt will only be of interest when bound to a backend. Merge them to avoid code and data duplication. V2 Rebase on top of memory accounting overhaul V3 Rebase on top of more memory accounting changes V4 Rebase on top of no memo

[PATCH 07/14] drm/ttm: page allocation use page array instead of list

2011-11-18 Thread j . glisse
From: Jerome Glisse Use the ttm_tt pages array for pages allocations, move the list unwinding into the page allocation functions. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 85 +- drivers/gpu/drm/ttm/ttm_tt.c | 36 +++

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

2011-11-18 Thread j . glisse
From: Jerome Glisse Signed-off-by: Jerome Glisse Reviewed-by: Konrad Rzeszutek Wilk Reviewed-by: Thomas Hellstrom --- 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 90527a

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

2011-11-18 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 Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_tt.c |5 - 1 fi

[PATCH 04/14] drm/ttm: remove unused backend flags field

2011-11-18 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 Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/radeon/radeon_ttm.c |1 - include/drm/ttm/ttm_bo_driver.h |2 -- 2 files changed, 0 inser

[PATCH 03/14] drm/ttm: remove split btw highmen and lowmem page

2011-11-18 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 02/14] drm/ttm: remove userspace backed ttm object support

2011-11-18 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 Reviewed-by: Thoma

[PATCH 01/14] swiotlb: Expose swiotlb_nr_tlb function to modules

2011-11-18 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

ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator V7

2011-11-18 Thread j . glisse
Important fix to patch 14, fix accounting of ghost bo. When creating a ghost bo we don't account it, so set its acc_size to 0 so that when ghost is release we don't overfree. I wonder how i didn't run into this before. Patch are also at http://people.freedesktop.org/~glisse/ttmdma/ Cheers, Jero

Re: [PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Ben Skeggs
On Fri, 2011-11-18 at 23:48 +0100, Thomas Hellstrom wrote: > On 11/18/2011 06:26 PM, Ben Skeggs wrote: > > On Fri, 2011-11-18 at 15:30 +0100, Thomas Hellstrom wrote: > > > >> On 11/18/2011 02:15 PM, Ben Skeggs wrote: > >> > >>> On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: >

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Thomas Hellstrom
On 11/18/2011 03:56 PM, Jerome Glisse wrote: > On Fri, Nov 18, 2011 at 03:30:03PM +0100, Thomas Hellstrom wrote: > >> On 11/18/2011 02:15 PM, Ben Skeggs wrote: >> >>> On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: >>> Jerome, I don't like this change for

[Bug 43000] huge performance regression in ut2004 since 7.11

2011-11-18 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43000 --- Comment #7 from almos 2011-11-18 07:51:26 PST --- (In reply to comment #6) > (In reply to comment #5) > > 7.12-dev git-08b288b: nvidia logo 60fps (capped at refresh rate??) > > If so, the environment variable vblank_mode=0 should disable it.

[Bug 40935] radeon lockup on resume

2011-11-18 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=40935 --- Comment #5 from Michal Suchanek 2011-11-18 07:36:11 PST --- hmm, I it looks like the driver resets the card quite a few times over some hours until it locks up permanently (or at least long enough for the next reset to fail) or the driver g

Re: [PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 6:25 PM, Jerome Glisse wrote: > On Fri, Nov 18, 2011 at 06:14:02PM -0500, Jerome Glisse wrote: >> On Fri, Nov 18, 2011 at 11:48:58PM +0100, Thomas Hellstrom wrote: >> > On 11/18/2011 06:26 PM, Ben Skeggs wrote: >> > >On Fri, 2011-11-18 at 15:30 +0100, Thomas Hellstrom wrote

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Thomas Hellstrom
On 11/18/2011 02:15 PM, Ben Skeggs wrote: > On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: > >> Jerome, >> >> I don't like this change for the following reasons >> > -snip- > > >>> One can take advantage of move notify callback but, there are >>> corner case where bind/unb

[PATCH] drm/ttm: callback move_notify any time bo placement change v3

2011-11-18 Thread j . glisse
From: Jerome Glisse Previously we were calling back move_notify in error path when the bo is returned to it's original position or when destroy the bo. When destroying the bo set the new mem placement as NULL when calling back in the driver. Updating nouveau to deal with NULL placement properly.

[Bug 43000] huge performance regression in ut2004 since 7.11

2011-11-18 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43000 --- Comment #6 from Michel D?nzer 2011-11-18 07:25:27 PST --- (In reply to comment #5) > 7.12-dev git-08b288b: nvidia logo 60fps (capped at refresh rate??) If so, the environment variable vblank_mode=0 should disable it. -- Configure bugmail:

Re: [PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 06:14:02PM -0500, Jerome Glisse wrote: > On Fri, Nov 18, 2011 at 11:48:58PM +0100, Thomas Hellstrom wrote: > > On 11/18/2011 06:26 PM, Ben Skeggs wrote: > > >On Fri, 2011-11-18 at 15:30 +0100, Thomas Hellstrom wrote: > > >>On 11/18/2011 02:15 PM, Ben Skeggs wrote: > > >>>On

Re: [PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 11:48:58PM +0100, Thomas Hellstrom wrote: > On 11/18/2011 06:26 PM, Ben Skeggs wrote: > >On Fri, 2011-11-18 at 15:30 +0100, Thomas Hellstrom wrote: > >>On 11/18/2011 02:15 PM, Ben Skeggs wrote: > >>>On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: > >>> > Jerom

Re: [PATCH] drm/ttm: callback move_notify any time bo placement change v2

2011-11-18 Thread Thomas Hellstrom
On 11/18/2011 06:32 PM, j.gli...@gmail.com wrote: From: Jerome Glisse Previously we were calling back move_notify in error path when the bo is returned to it's original position or when destroy the bo. When destroying the bo set the new mem placement as NULL when calling back in the driver. Upd

[Bug 43000] huge performance regression in ut2004 since 7.11

2011-11-18 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43000 --- Comment #5 from almos 2011-11-18 07:00:34 PST --- Now I compiled a 32bit r600g from mesa git on a 32 bit machine. The ad hoc benchmark results now with swapbufferwait disabled: 7.11: nvidia logo 200-300fps, menu 70-200fps, ons-torlan looking

Re: [PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Thomas Hellstrom
On 11/18/2011 06:26 PM, Ben Skeggs wrote: On Fri, 2011-11-18 at 15:30 +0100, Thomas Hellstrom wrote: On 11/18/2011 02:15 PM, Ben Skeggs wrote: On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: Jerome, I don't like this change for the following reasons -

[PATCH 2/2] drm: add an fb creation ioctl that takes a pixel format v5

2011-11-18 Thread Seung-Woo Kim
s offset[0] and UV as > + * offeset[1]. Note that offset[0] will generally > + * be 0. > + */ > + __u32 handles[4]; > + __u32 pitches[4]; /* pitch for each plane */ > + __u32 offsets[4]; /* offset of each plane */ > +}; Regards, - Seung-Woo Kim -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/2018/377b831f/attachment.html>

Re: DRM KMS Modesetting

2011-11-18 Thread David Herrmann
On Fri, Nov 18, 2011 at 10:41 PM, Jesse Barnes wrote: > On Fri, 18 Nov 2011 22:35:13 +0100 > David Herrmann wrote: > >> 2011/11/15 Kristian Høgsberg : >> > 2011/11/15 David Herrmann : >> >> 2011/11/15 Kristian Høgsberg : >> >>> On Mon, Nov 14, 2011 at 5:54 PM, Jesse Barnes >> >>> wrote: >>

DRM KMS Modesetting

2011-11-18 Thread Jesse Barnes
he > bug anymore. I cannot tell what fixed it as I recompiled with other > configure options. Previously I used --disable-glx-tls and > --enable-gallium-drivers=i915. Now I use --enable-glx-tls and no i915 > in gallium but only --with-dri-drivers=i915. > My laptop takes about 30min to compile mesa so I haven't tracked it down, yet. Ah it's probably gallium vs classic then. We don't support the gallium driver at all, so I'm not sure what state it's in. -- 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/2018/f588290f/attachment.pgp>

Re: DRM KMS Modesetting

2011-11-18 Thread Jesse Barnes
On Fri, 18 Nov 2011 22:35:13 +0100 David Herrmann wrote: > 2011/11/15 Kristian Høgsberg : > > 2011/11/15 David Herrmann : > >> 2011/11/15 Kristian Høgsberg : > >>> On Mon, Nov 14, 2011 at 5:54 PM, Jesse Barnes > >>> wrote: > On Mon, 14 Nov 2011 21:47:09 +0100 > David Herrmann wrote:

Re: DRM KMS Modesetting

2011-11-18 Thread David Herrmann
2011/11/15 Kristian Høgsberg : > 2011/11/15 David Herrmann : >> 2011/11/15 Kristian Høgsberg : >>> On Mon, Nov 14, 2011 at 5:54 PM, Jesse Barnes >>> wrote: On Mon, 14 Nov 2011 21:47:09 +0100 David Herrmann wrote: > > I had to modify the resolution the test was searching for > >

[Bug 43073] Trine not working on Radeon HD6520G

2011-11-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43073 Sven Arvidsson changed: What|Removed |Added CC||s...@whiz.se --- Comment #3 from Sven A

[Bug 43000] huge performance regression in ut2004 since 7.11

2011-11-18 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43000 --- Comment #4 from almos 2011-11-18 05:25:58 PST --- OK, now I found out the reason: I still haven't got used to my new 64bit system. ut2004 is 32 bit, and when I set LIBGL_DRIVERS_PATH libGL.so reverts to indirect rendering. Ouch. What's worse

RFC: Radeon multi ring support branch

2011-11-18 Thread Christian König
On 17.11.2011 17:58, Jerome Glisse wrote: > 2011/11/17 Christian K?nig: >> On 16.11.2011 01:24, Jerome Glisse wrote: >>> Well as we don't specify on which value semaphore should wait on, i am >>> prety sure the first ring to increment the semaphore will unblock all >>> waiter. So if you have ring1

[PATCH] drm/ttm: callback move_notify any time bo placement change v2

2011-11-18 Thread j.gli...@gmail.com
From: Jerome Glisse Previously we were calling back move_notify in error path when the bo is returned to it's original position or when destroy the bo. When destroying the bo set the new mem placement as NULL when calling back in the driver. Updating nouveau to deal with NULL placement properly.

[Intel-gfx] [PATCH] drm/i915: Hook up Ivybridge eDP

2011-11-18 Thread Adam Jackson
On 11/17/11 9:13 PM, Keith Packard wrote: > On Thu, 17 Nov 2011 17:45:40 -0500, Adam Jackson wrote: > >> Your silicon people worry me. > > In any case, the changes are mostly to move bits around so that there > are two bits for pipe select Yeah, the patch looks like it could be correct, just shak

[PATCH] drm/ttm: callback move_notify any time bo placement change

2011-11-18 Thread j.gli...@gmail.com
From: Jerome Glisse Previously we were calling back move_notify in error path when the bo is returned to it's original position or when destroy the bo. When destroying the bo set the new mem placement as NULL when calling back in the driver. Updating nouveau to deal with NULL placement properly.

RFC: Radeon multi ring support branch

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 07:44:19AM -0500, Alex Deucher wrote: > 2011/11/17 Alex Deucher : > > 2011/11/17 Christian K?nig : > >> On 16.11.2011 01:24, Jerome Glisse wrote: > >>> > >>> Well as we don't specify on which value semaphore should wait on, i am > >>> prety sure the first ring to increment t

[Bug 43073] Trine not working on Radeon HD6520G

2011-11-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43073 --- Comment #2 from Sandeep 2011-11-18 11:27:49 PST --- Created attachment 53674 --> https://bugs.freedesktop.org/attachment.cgi?id=53674 Output from glxinfo -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- Y

[Bug 43073] Trine not working on Radeon HD6520G

2011-11-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43073 --- Comment #1 from Sandeep 2011-11-18 11:26:57 PST --- Created attachment 53673 --> https://bugs.freedesktop.org/attachment.cgi?id=53673 trine log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are rec

[Bug 43073] New: Trine not working on Radeon HD6520G

2011-11-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43073 Bug #: 43073 Summary: Trine not working on Radeon HD6520G Classification: Unclassified Product: DRI Version: XOrg CVS Platform: x86-64 (AMD64) OS/Version: Linux (All)

RFC: Radeon multi ring support branch

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 09:21:50AM -0500, Jerome Glisse wrote: > 2011/11/18 Christian K?nig : > > On 17.11.2011 17:58, Jerome Glisse wrote: > >> > >> 2011/11/17 Christian K?nig: > >>> > >>> On 16.11.2011 01:24, Jerome Glisse wrote: > > Well as we don't specify on which value semaphore sho

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 04:06:05PM +0100, Thomas Hellstrom wrote: > On 11/18/2011 03:56 PM, Jerome Glisse wrote: > >On Fri, Nov 18, 2011 at 03:30:03PM +0100, Thomas Hellstrom wrote: > >>On 11/18/2011 02:15 PM, Ben Skeggs wrote: > >>>On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: > J

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 03:30:03PM +0100, Thomas Hellstrom wrote: > On 11/18/2011 02:15 PM, Ben Skeggs wrote: > >On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: > >>Jerome, > >> > >>I don't like this change for the following reasons > >-snip- > > > >>>One can take advantage of move notif

Re: [PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-18 Thread Keith Packard
On Fri, 18 Nov 2011 17:37:40 +0800, Wu Fengguang wrote: > However when in X, ->mode_set won't be called at all. Only > ->get_modes and ->detect are called... The desktop software will call mode_set when it configures the monitor. Otherwise, it's not being used (and so shouldn't have audio route

[PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-18 Thread Keith Packard
d so shouldn't have audio routed to it by default). -- keith.packard at intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 827 bytes Desc: not available URL: <http://lists.freedesktop.org/archiv

[PATCH] drm/ttm: callback move_notify any time bo placement change v2

2011-11-18 Thread j . glisse
From: Jerome Glisse Previously we were calling back move_notify in error path when the bo is returned to it's original position or when destroy the bo. When destroying the bo set the new mem placement as NULL when calling back in the driver. Updating nouveau to deal with NULL placement properly.

Re: [PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Ben Skeggs
On Fri, 2011-11-18 at 15:30 +0100, Thomas Hellstrom wrote: > On 11/18/2011 02:15 PM, Ben Skeggs wrote: > > On Fri, 2011-11-18 at 08:57 +0100, Thomas Hellstrom wrote: > > > >> Jerome, > >> > >> I don't like this change for the following reasons > >> > > -snip- > > > > > >>> One can tak

RFC: Radeon multi ring support branch

2011-11-18 Thread Jerome Glisse
2011/11/18 Christian K?nig : > On 17.11.2011 17:58, Jerome Glisse wrote: >> >> 2011/11/17 Christian K?nig: >>> >>> On 16.11.2011 01:24, Jerome Glisse wrote: Well as we don't specify on which value semaphore should wait on, i am prety sure the first ring to increment the semaphore wil

Re: [Intel-gfx] [PATCH] drm/i915: Hook up Ivybridge eDP

2011-11-18 Thread Adam Jackson
On 11/17/11 9:13 PM, Keith Packard wrote: On Thu, 17 Nov 2011 17:45:40 -0500, Adam Jackson wrote: Your silicon people worry me. In any case, the changes are mostly to move bits around so that there are two bits for pipe select Yeah, the patch looks like it could be correct, just shaking my

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-18 Thread Thomas Hellstrom
Jerome, I don't like this change for the following reasons 1) This is really a layer violation. It's like passing a state tracker object down to the pipe driver i Gallium, so that eventually the winsys can access it. 2) TTM, as you say, doesn't really care about GPU virtual maps. It cares abo

[PATCH] drm/ttm: callback move_notify any time bo placement change

2011-11-18 Thread j . glisse
From: Jerome Glisse Previously we were calling back move_notify in error path when the bo is returned to it's original position or when destroy the bo. When destroying the bo set the new mem placement as NULL when calling back in the driver. Updating nouveau to deal with NULL placement properly.

Re: RFC: Radeon multi ring support branch

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 07:44:19AM -0500, Alex Deucher wrote: > 2011/11/17 Alex Deucher : > > 2011/11/17 Christian König : > >> On 16.11.2011 01:24, Jerome Glisse wrote: > >>> > >>> Well as we don't specify on which value semaphore should wait on, i am > >>> prety sure the first ring to increment t

[Bug 43000] huge performance regression in ut2004 since 7.11

2011-11-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43000 --- Comment #7 from almos 2011-11-18 07:51:26 PST --- (In reply to comment #6) > (In reply to comment #5) > > 7.12-dev git-08b288b: nvidia logo 60fps (capped at refresh rate??) > > If so, the environment variable vblank_mode=0 should disable it.

RFC: Radeon multi ring support branch

2011-11-18 Thread Alex Deucher
2011/11/17 Alex Deucher : > 2011/11/17 Christian K?nig : >> On 16.11.2011 01:24, Jerome Glisse wrote: >>> >>> Well as we don't specify on which value semaphore should wait on, i am >>> prety sure the first ring to increment the semaphore will unblock all >>> waiter. So if you have ring1 that want t

Re: RFC: Radeon multi ring support branch

2011-11-18 Thread Jerome Glisse
On Fri, Nov 18, 2011 at 09:21:50AM -0500, Jerome Glisse wrote: > 2011/11/18 Christian König : > > On 17.11.2011 17:58, Jerome Glisse wrote: > >> > >> 2011/11/17 Christian König: > >>> > >>> On 16.11.2011 01:24, Jerome Glisse wrote: > > Well as we don't specify on which value semaphore sho

[Bug 40935] radeon lockup on resume

2011-11-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40935 --- Comment #5 from Michal Suchanek 2011-11-18 07:36:11 PST --- hmm, I it looks like the driver resets the card quite a few times over some hours until it locks up permanently (or at least long enough for the next reset to fail) or the driver g

[Bug 43016] DVI is wrongly detected as Display Port

2011-11-18 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43016 --- Comment #6 from samit vats 2011-11-17 23:26:03 PST --- (In reply to comment #3) > Please attach your dmesg output and a copy of your video bios. To get a copy > of the vbios: > > (as root) > (use lspci to get the bus id) > cd /sys/bus/pci/

[Bug 43000] huge performance regression in ut2004 since 7.11

2011-11-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43000 --- Comment #6 from Michel Dänzer 2011-11-18 07:25:27 PST --- (In reply to comment #5) > 7.12-dev git-08b288b: nvidia logo 60fps (capped at refresh rate??) If so, the environment variable vblank_mode=0 should disable it. -- Configure bugmail:

  1   2   >