drm/nouveau/mmu: add base for type-based memory allocation
authorBen Skeggs <bskeggs@redhat.com>
Tue, 31 Oct 2017 17:56:19 +0000 (03:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Nov 2017 03:32:31 +0000 (13:32 +1000)
commiteaf1a69110f4497746d5b6e35929dbdc860040d2
tree8770bd56529b244cc15fd5a543ae9912aa3c1e40
parent51645eb71485dd3d72d9fe2acd0298057afdf437
drm/nouveau/mmu: add base for type-based memory allocation

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvif/class.h
drivers/gpu/drm/nouveau/include/nvif/if000a.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h