Commit f68983ea authored by Laura Abbott's avatar Laura Abbott
Browse files

gpu: ion: Reference count protect/unprotect calls



Reference count the calls to ion_{un}secure_heap. The secure SCM
call will only be made when the count goes from 0 -> 1 and the
unsecure call will only be made when the count goes from 1 -> 0.

Change-Id: Ia221b79782c9223d9853ef00c2848e1ab7a73091
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent d0c83de6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment