]> git.karo-electronics.de Git - linux-beck.git/commit
drm/vc4: Use drm_malloc_ab to fix large rendering jobs.
authorEric Anholt <eric@anholt.net>
Tue, 19 Jul 2016 18:32:44 +0000 (11:32 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 20 Aug 2016 02:16:40 +0000 (19:16 -0700)
commitece7267dccf0e9e08cb6e8dc6b7ad2be9c4eb444
tree62578e11c87a125a6a11c96a10e3b6df7db74f13
parentd5fb46e0e3b7e49ee83ba92efc3ab4e1a545ecc1
drm/vc4: Use drm_malloc_ab to fix large rendering jobs.

If you exceeded the size that kmalloc would return, you'd get a dmesg
warning and a return from the job submit.  We can handle much
allocations with vmalloc, and drm_malloc_ab makes that decision.

Fixes failure in piglit's scissor-many.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_gem.c