drm/nouveau/core/mm: replace region list with next pointer
authorBen Skeggs <bskeggs@redhat.com>
Sat, 3 Oct 2015 07:34:25 +0000 (17:34 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:15:01 +0000 (15:15 +1000)
commit134fdc1a704f0042465ea993c33540aaec7e1d2e
tree57be6d4e191f68f4cf89d07c8c0c8bfdb9eb872b
parent04b8867758a4e1fca9d349f4a279fff8855db58c
drm/nouveau/core/mm: replace region list with next pointer

We never have any need for a double-linked list here, and as there's
generally a large number of these objects, replace it with a single-
linked list in order to save some memory.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/core/mm.h
drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nvkm/core/mm.c
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c