[lkml]   [2007]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[RFC] [PATCH] DRM TTM Memory Manager patch

    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..

    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
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-04-26 09:03    [W:0.028 / U:12.992 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site