All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] RFC: allow driver to plugin alternative to drm_mm
@ 2010-08-05 13:09 Ben Skeggs
  2010-08-05 13:09 ` [PATCH 1/2] drm/ttm: introduce utility function to free an allocated memory node Ben Skeggs
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ben Skeggs @ 2010-08-05 13:09 UTC (permalink / raw)
  To: dri-devel; +Cc: Ben Skeggs

From: Ben Skeggs <bskeggs@redhat.com>

In order to properly deal with GPU reordering of blocks in physical VRAM,
Nouveau needs to be able to have better control over VRAM allocations.

Currently nouveau is extremely wasteful and forces massive amounts of
padding/alignment to avoid buffer corruption issues.

radeon/vmwgfx haven't been tested, but nouveau works as well as it did
previously.

Ben Skeggs (2):
  drm/ttm: introduce utility function to free an allocated memory node
  drm/ttm: restructure to allow driver to plug in alternate memory
    manager

 drivers/gpu/drm/nouveau/nouveau_bo.c       |   26 ++---
 drivers/gpu/drm/nouveau/nouveau_channel.c  |    6 +-
 drivers/gpu/drm/nouveau/nouveau_notifier.c |    2 +-
 drivers/gpu/drm/nouveau/nouveau_sgdma.c    |    4 +-
 drivers/gpu/drm/nouveau/nv50_crtc.c        |    3 +-
 drivers/gpu/drm/nouveau/nv50_display.c     |    2 +-
 drivers/gpu/drm/nouveau/nv50_instmem.c     |    2 +-
 drivers/gpu/drm/radeon/radeon_object.c     |    6 +-
 drivers/gpu/drm/radeon/radeon_ttm.c        |   34 ++-----
 drivers/gpu/drm/ttm/Makefile               |    3 +-
 drivers/gpu/drm/ttm/ttm_agp_backend.c      |    3 +-
 drivers/gpu/drm/ttm/ttm_bo.c               |  104 +++++---------------
 drivers/gpu/drm/ttm/ttm_bo_manager.c       |  148 ++++++++++++++++++++++++++++
 drivers/gpu/drm/ttm/ttm_bo_util.c          |   12 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c     |    3 +-
 include/drm/ttm/ttm_bo_api.h               |    3 +-
 include/drm/ttm/ttm_bo_driver.h            |   25 +++++-
 17 files changed, 238 insertions(+), 148 deletions(-)
 create mode 100644 drivers/gpu/drm/ttm/ttm_bo_manager.c

-- 
1.7.2

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-18  2:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-05 13:09 [PATCH 0/2] RFC: allow driver to plugin alternative to drm_mm Ben Skeggs
2010-08-05 13:09 ` [PATCH 1/2] drm/ttm: introduce utility function to free an allocated memory node Ben Skeggs
2010-08-09 19:24   ` Jerome Glisse
2010-08-05 13:09 ` [PATCH 2/2] drm/ttm: restructure to allow driver to plug in alternate memory manager Ben Skeggs
2010-08-09 19:24   ` Jerome Glisse
2010-08-18  2:48   ` [PATCHv2] " Ben Skeggs
2010-08-09 22:17 ` [PATCH 0/2] RFC: allow driver to plugin alternative to drm_mm Thomas Hellstrom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.