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

Commit aeb892b9 authored by Prabhanjan Kandula's avatar Prabhanjan Kandula
Browse files

msm: mdss: fix cwb output buffer memory leak



Currently, cwb buffers are allocated and mapped during
commit but not unmapped, leaving the kernel refcounts
intact which would eventually cause memory issues. Fix it
by adding the buffer to a cleanup queue after mapping and
unmap/free the buffer in the work queue after cwb intr done.

Change-Id: I2bb41a4fadc58ecedb1fafacf6821ce6376b1b4d
Signed-off-by: default avatarPrabhanjan Kandula <pkandula@codeaurora.org>
parent 3bf774ff
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