Re: [PATCH] drm/nouveau: fix command submission to use vmalloc for big allocations

2013-09-04 Thread Maarten Lankhorst
Op 04-09-13 05:31, Ben Skeggs schreef: > On Tue, Sep 3, 2013 at 12:31 AM, Maarten Lankhorst > wrote: >> 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

Re: [PATCH] drm/nouveau: fix command submission to use vmalloc for big allocations

2013-09-03 Thread Ben Skeggs
On Tue, Sep 3, 2013 at 12:31 AM, Maarten Lankhorst wrote: > 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. I've picked up this patch with a minor modification

[PATCH] drm/nouveau: fix command submission to use vmalloc for big allocations

2013-09-02 Thread Maarten Lankhorst
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. Also limit size more aggressively to 256 KiB. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/nouveau/nouvea