drm/nouveau: kick vram functions out into an "engine"
authorBen Skeggs <bskeggs@redhat.com>
Mon, 6 Dec 2010 05:28:54 +0000 (15:28 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 8 Dec 2010 03:48:20 +0000 (13:48 +1000)
commit60d2a88ae896ae51c76f8b15c2f4b762d5b00864
treee136aee905d35f8936036fd01af1ca29526fcc67
parent34cf01bc4b8021cef62cbd79224577c13d01b106
drm/nouveau: kick vram functions out into an "engine"

NVC0 will be able to share some of nv50's paths this way.  This also makes
it the card-specific vram code responsible for deciding if a given set
of tile_flags is valid, rather than duplicating the allowed types in
nv50_vram.c and nouveau_gem.c

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_gem.c
drivers/gpu/drm/nouveau/nouveau_mem.c
drivers/gpu/drm/nouveau/nouveau_mm.h
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/nouveau/nv50_instmem.c
drivers/gpu/drm/nouveau/nv50_vram.c