]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/nouveau: fix command submission to use vmalloc for big allocations
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Mon, 2 Sep 2013 14:31:31 +0000 (16:31 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 4 Sep 2013 03:48:56 +0000 (13:48 +1000)
commitc859074e7d804a254f318bb55ba1b39893247fc7
tree1bebcf449ab043da0fd5a90ee466131bc0f6ee47
parentc072470f4e9abdde7cdf1c850b8826f32f9e79e3
drm/nouveau: fix command submission to use vmalloc for big allocations

I was getting a order 4 allocation failure from kmalloc when testing some
game after a few days uptime with some suspend/resumes.

For big allocations vmalloc should be used instead.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_gem.c