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

Skip to content
Commit 0db0fa1d authored by Jeff Tinker's avatar Jeff Tinker
Browse files

Unmap shared memory when no longer used

CryptoHal in mediadrmserver was not releasing the
shared memory allocated remotely in the drm HAL
module until the HAL was closed, which could cause
shared memory allocation failures in situations
where multiple memory regions get mapped during
playback. This change releases the shared mapping
in the HAL when it is no longer needed.

bug:80104026

test:
 1. manual tests with logging to ensure
   shared memory is released
 2. gts media tests on walleye

Change-Id: Ie2f306bce6aec697ae584da3f55b3cf72edaa07b
parent 6f8f2c88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment