]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/vc4: Use drm_free_large() on handles to match its allocation.
authorEric Anholt <eric@anholt.net>
Tue, 26 Jul 2016 20:47:10 +0000 (13:47 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 20 Aug 2016 02:15:19 +0000 (19:15 -0700)
commitd5fb46e0e3b7e49ee83ba92efc3ab4e1a545ecc1
tree83516ac13ea75e3c8d6ddb983df930c9011bada8
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
drm/vc4: Use drm_free_large() on handles to match its allocation.

If you managed to exceed the limit to switch to vmalloc, we'd use the
wrong free.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: d5b1a78a772f ("drm/vc4: Add support for drawing 3D frames.")
Cc: stable@vger.kernel.org
drivers/gpu/drm/vc4/vc4_gem.c