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

Commit 834d21de authored by Benjamin Chan's avatar Benjamin Chan
Browse files

msm: sde: Remove output fence object after user request completed



The fence object is allocated in the driver during the buffer queuing
time. When user requested the output buffer fence fd, driver should not
hold on to the fence object anymore because there is only a single
reference to the fence. When user destroy the fence by closing the fd,
the reference is cleared. Driver only needs to destroy the fence object
if the user does not request it.

CRs-Fixed: 2059181
Change-Id: Ic83d93fd3c7f404774007065df02b402adbf80af
Signed-off-by: default avatarBenjamin Chan <bkchan@codeaurora.org>
parent 8e822907
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