[PATCH] drm/mm: add ability to dump mm lists via debugfs (v3)

2009-08-25 Thread Dave Airlie
From: Dave Airlie airl...@linux.ie This adds code to the drm_mm to talk to debugfs, and adds support to radeon to add the VRAM and GTT mm lists to debugfs. I tested with spinlock debugging and it doesn't give out. changes since v2: use proper locking. Signed-off-by: Dave Airlie

Re: [PATCH] drm/mm: add ability to dump mm lists via debugfs (v2)

2009-08-21 Thread Thomas Hellström
Dave Airlie wrote: From: Dave Airlie airl...@linux.ie This adds code to the drm_mm to talk to debugfs, and adds support to radeon to add the VRAM and GTT mm lists to debugfs. changes since v1: don't bother with free list just add used/free to main list add totals in pages Signed-off-by:

Re: [PATCH] drm/mm: add ability to dump mm lists via debugfs (v2)

2009-08-21 Thread Dave Airlie
2009/8/21 Thomas Hellström tho...@shipmail.org: Dave Airlie wrote: From: Dave Airlie airl...@linux.ie This adds code to the drm_mm to talk to debugfs, and adds support to radeon to add the VRAM and GTT mm lists to debugfs. changes since v1: don't bother with free list just add used/free

Re: [PATCH] drm/mm: add ability to dump mm lists via debugfs (v2)

2009-08-21 Thread Thomas Hellström
Dave Airlie wrote: 2009/8/21 Thomas Hellström tho...@shipmail.org: Dave Airlie wrote: From: Dave Airlie airl...@linux.ie This adds code to the drm_mm to talk to debugfs, and adds support to radeon to add the VRAM and GTT mm lists to debugfs. changes since v1: don't bother with

[PATCH] drm/mm: add ability to dump mm lists via debugfs (v2)

2009-08-20 Thread Dave Airlie
From: Dave Airlie airl...@linux.ie This adds code to the drm_mm to talk to debugfs, and adds support to radeon to add the VRAM and GTT mm lists to debugfs. changes since v1: don't bother with free list just add used/free to main list add totals in pages Signed-off-by: Dave Airlie

[PATCH] drm/mm: add ability to dump mm lists via debugfs.

2009-08-20 Thread Dave Airlie
From: Dave Airlie airl...@linux.ie This adds code to the drm_mm to talk to debugfs, and adds support to radeon to add the VRAM and GTT mm lists to debugfs. It allows you to see the used and free lists. Signed-off-by: Dave Airlie airl...@redhat.com --- drivers/gpu/drm/drm_mm.c| 23