commit | ece7267dccf0e9e08cb6e8dc6b7ad2be9c4eb444 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Tue Jul 19 11:32:44 2016 -0700 |
committer | Eric Anholt <eric@anholt.net> | Fri Aug 19 19:16:40 2016 -0700 |
tree | 62578e11c87a125a6a11c96a10e3b6df7db74f13 | |
parent | d5fb46e0e3b7e49ee83ba92efc3ab4e1a545ecc1 [diff] |
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>