Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 738bd294 authored by Laura Abbott's avatar Laura Abbott
Browse files

gpu: ion: Loop on the handle count when destroying



When destroying a handle, all kernel mappings to that handle
should be destroyed. Other handles may still have references
and valid mappings to the buffer underneath which should not
be destroyed. Loop on the handle reference count, not the buffer
reference count to get rid of all kernel mappings for the handle.

Change-Id: I7dc5d6a86513fc5fa4e21110ceab434714ea2493
CRs-Fixed: 543700
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 4bb26321
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment