public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] [PATCH] DRM TTM Memory Manager patch
@ 2007-04-26  6:55 Dave Airlie
  2007-04-27 16:39 ` Greg KH
  2007-05-02 20:21 ` Eric Anholt
  0 siblings, 2 replies; 22+ messages in thread
From: Dave Airlie @ 2007-04-26  6:55 UTC (permalink / raw)
  To: Linux Kernel; +Cc: Thomas Hellström, Jesse Barnes, Eric Anholt

Hi,

The patch is too big to fit on the list and I've no idea how we could
break it down further, it just happens to be a lot of new code..

http://people.freedesktop.org/~airlied/ttm/0001-drm-Implement-TTM-Memory-manager-core-functionality.txt

The patch header and diffstat are below,

This isn't for integration yet but we'd like an initial review by
anyone with the spare time and inclination, there is a lot stuff
relying on getting this code bet into shape and into the kernel but
any cleanups people can suggest now especially to the user interfaces
would be appreciated as once we set that stuff in stone it'll be a
pain to change... also it doesn't have any driver side code, this is
just the generic pieces. I'll post the intel 915 side code later but
there isn't that much to it..

It applies on top of my drm-2.6 git tree drm-mm branch....

-----------------------------------------------------------------------------------------------------

This patch brings in the TTM (Translation Table Maps) memory management
system from Thomas Hellstrom at Tungsten Graphics.

This patch only covers the core functionality and changes to the drm core.

The TTM memory manager enables dynamic mapping of memory objects in and
out of the graphic card accessible memory (e.g. AGP), this implements
the AGP backend for TTM to be used by the i915 driver.


 drivers/char/drm/Makefile         |    3 +-
 drivers/char/drm/drm.h            |  238 ++++-
 drivers/char/drm/drmP.h           |  153 +++-
 drivers/char/drm/drm_agpsupport.c |  160 +++
 drivers/char/drm/drm_bo.c         | 2329 ++++++++++++++++++++++++++++++++++++
 drivers/char/drm/drm_bo_move.c    |  395 +++++++
 drivers/char/drm/drm_bufs.c       |    2 +
 drivers/char/drm/drm_drv.c        |   46 +-
 drivers/char/drm/drm_fence.c      |  661 +++++++++++
 drivers/char/drm/drm_fops.c       |   75 ++-
 drivers/char/drm/drm_memory.c     |   69 ++
 drivers/char/drm/drm_mm.c         |   13 +-
 drivers/char/drm/drm_object.c     |  293 +++++
 drivers/char/drm/drm_objects.h    |  464 ++++++++
 drivers/char/drm/drm_proc.c       |   90 ++
 drivers/char/drm/drm_stub.c       |   24 +-
 drivers/char/drm/drm_ttm.c        |  337 ++++++
 drivers/char/drm/drm_vm.c         |  193 +++-
 18 files changed, 5503 insertions(+), 42 deletions(-)

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

end of thread, other threads:[~2007-05-04 16:26 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26  6:55 [RFC] [PATCH] DRM TTM Memory Manager patch Dave Airlie
2007-04-27 16:39 ` Greg KH
2007-04-30 23:10   ` Dave Airlie
2007-04-30 23:50     ` Dave Jones
2007-05-01  0:10     ` Thomas Hellström
2007-05-01 22:36     ` Ingo Oeser
2007-05-02  3:59       ` Greg KH
2007-05-02 20:21 ` Eric Anholt
2007-05-02 23:01   ` Thomas Hellström
2007-05-04  4:07     ` Keith Packard
2007-05-04  8:07       ` Thomas Hellström
2007-05-04  8:49         ` Jerome Glisse
2007-05-04  9:40           ` Jerome Glisse
2007-05-04 15:28             ` Keith Packard
2007-05-04 11:03           ` Thomas Hellström
2007-05-04 11:57             ` Jerome Glisse
2007-05-04 12:32               ` Thomas Hellström
2007-05-04 12:52                 ` Jerome Glisse
2007-05-04 15:32                 ` Keith Packard
2007-05-04 15:15         ` Keith Packard
2007-05-04 15:57           ` Keith Whitwell
2007-05-04 16:26             ` Keith Packard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox