diff options
| author | Eric Anholt <[email protected]> | 2016-07-19 18:32:44 +0000 |
|---|---|---|
| committer | Eric Anholt <[email protected]> | 2016-08-20 02:16:40 +0000 |
| commit | ece7267dccf0e9e08cb6e8dc6b7ad2be9c4eb444 (patch) | |
| tree | 62578e11c87a125a6a11c96a10e3b6df7db74f13 /drivers/gpu/drm/vc4/vc4_validate_shaders.c | |
| parent | drm/vc4: Use drm_free_large() on handles to match its allocation. (diff) | |
| download | kernel-ece7267dccf0e9e08cb6e8dc6b7ad2be9c4eb444.tar.gz kernel-ece7267dccf0e9e08cb6e8dc6b7ad2be9c4eb444.zip | |
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 <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_validate_shaders.c')
0 files changed, 0 insertions, 0 deletions
