[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <21d7e9970704252355m4765b65fyb547b9ba2763b103@mail.gmail.com>
Date: Thu, 26 Apr 2007 16:55:14 +1000
From: "Dave Airlie" <airlied@...il.com>
To: "Linux Kernel" <linux-kernel@...r.kernel.org>
Cc: "Thomas Hellström" <thomas@...gstengraphics.com>,
"Jesse Barnes" <jbarnes@...tuousgeek.org>,
"Eric Anholt" <eric@...olt.net>
Subject: [RFC] [PATCH] DRM TTM Memory Manager patch
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(-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists