]> 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)
commit67a9a6f95e9fa2238d08729d1da35bcbcedba065
tree1bebcf449ab043da0fd5a90ee466131bc0f6ee47
parentd6578c54eb8ec4e16cb182989149da58be7cdd15
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