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

Commit 4f63e81d authored by Adrian Salido-Moreno's avatar Adrian Salido-Moreno Committed by Gerrit - the friendly Code Review server
Browse files

mdss: rotator: increase rotator commit count before scheduling work



The commit count keeps track of pending commits in rotator to create
proper sync fences. If a rotator work is currently pending when a new
rotator buffer is being queued, the release fence returned could still
be with regards to previous frame. This can cause corruption by since
the new fence timeline wouldn't account for the pending rotator work
items. Fix this by increasing commit count as soon as work is scheduled.

Change-Id: I1cb6af54a4c83a265139f2243b70726eea989512
Signed-off-by: default avatarAdrian Salido-Moreno <adrianm@codeaurora.org>
parent 2a7967de
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