]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit130af6ea533a1d4acacc432d3792f87a223593f8
tree57be6d4e191f68f4cf89d07c8c0c8bfdb9eb872b
parent238073a09fc0d29d2194c1a03f740685672c07bd
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