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

Skip to content
Commit 09bb7f53 authored by Rebecca Schultz Zavin's avatar Rebecca Schultz Zavin Committed by Mitchel Humpherys
Browse files

gpu: ion: Clarify variable names and comments around heap ids v types



There is some confusion between when to use the heap type and when
the id.  This patch clarifies this by using clearer variable names
and describing the intention in the comments.  Also fixes the client
debug code to print heaps by id instead of type.

Change-Id: Ie8b3dadded52e18590fcb2ca94001f6ed46ef07d
Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>
Git-commit: dbb80960
Git-repo: https://android.googlesource.com/kernel/common/


[mitchelh@codeaurora.org: Had to skip most of this patch since already
had most of it. Also had to apply to both ion.h files due to the UAPI
split. Also reverting 0b017a37 which renamed heap_id_mask to
heap_mask.]
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 9e91c0c5
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