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

Skip to content
Commit 694195c6 authored by Adrian Salido-Moreno's avatar Adrian Salido-Moreno Committed by Jayant Shekhar
Browse files

msm: mdss: isolate cleanup of pipes within kickoff



During display commit cycle, we need to iterate through pipes that have
been marked for cleanup and destroy these. However in the middle of the
function we may block for sometime to wait for display to be ready, when
this happens we are releasing ov_lock which controls access to this
cleanup list. If there is any cleanup done in this period, then there
could be some pipes incorrectly cleaned up after this.

To fix this race condition, add a local variable to keep track of pipes
that should be cleaned up.

Change-Id: Ib80cf91e10d66e318754c327fd71a489b8c42676
Signed-off-by: default avatarAdrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 6fa3bc32
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