Skip to content
Snippets Groups Projects
Verified Commit 3f6b2f60 authored by Matt Coster's avatar Matt Coster
Browse files

drm/imagination: Free pvr_vm_gpuva after unlink


This caused a measurable memory leak. Although the individual
allocations are small, the leaks occurs in a high-usage codepath
(remapping or unmapping device memory) so they add up quickly.

Fixes: ff5f643d ("drm/imagination: Add GEM and VM related code")
Cc: stable@vger.kernel.org
Reviewed-by: default avatarFrank Binns <frank.binns@imgtec.com>
Link: https://patchwork.freedesktop.org/patch/msgid/35867394-d8ce-4698-a8fd-919a018f1583@imgtec.com


Signed-off-by: default avatarMatt Coster <matt.coster@imgtec.com>
parent f33b9ab0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment