drm/nouveau/instmem/gk20a: move memory allocation to instmem
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 20 Feb 2015 09:23:00 +0000 (18:23 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 14 Apr 2015 07:00:42 +0000 (17:00 +1000)
commita6ff85d386368da8180828e5948ec38b39f4a226
tree77233ae77f8e9022f801d20520040b8af08073e5
parenteaecf0326f096faaba462eae48a3b30bcb1f7009
drm/nouveau/instmem/gk20a: move memory allocation to instmem

GK20A does not have dedicated RAM, thus having a RAM device for it does
not make sense. Move the contiguous physical memory allocation to
instmem.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h
drivers/gpu/drm/nouveau/nvkm/engine/device/gk104.c
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk20a.c
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c [new file with mode: 0644]