]> git.baikalelectronics.ru Git - kernel.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)
commitc9cac0cac0c2f3901853b8b8d9dc4ab6cf4befdb
tree1bebcf449ab043da0fd5a90ee466131bc0f6ee47
parent51c47a01ece63db41297c7e4821f96b5e6213d22
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