]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/nouveau: use vmalloc for pgt allocation
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Tue, 11 Jun 2013 08:50:30 +0000 (10:50 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 5 Jul 2013 03:48:41 +0000 (13:48 +1000)
commitd005f51eb93d71cd40ebd11dd377453fa8c8a42a
tree8bc9d8ad5fbde704d5d39d8fcd933fd0cd24e004
parent5c5ae7157d78e59e062dd35fbe9dec4de852bec2
drm/nouveau: use vmalloc for pgt allocation

Page tables on nv50 take 48kB, which can be hard to allocate in one piece.
Let's use vmalloc.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: stable@vger.kernel.org [3.7+]
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/vm/base.c