disp: msm: sde: check all dirty properties during plane update

Previously when updating a plane's dirty features, if the
dirty all flag was set, the optimization was to break early.
This optimization left out color property updates for that plane.
This fix removes the mutex locks in the msm_prop function so
the break optimization is no longer needed. Function callers will
now need to acquire the lock and unlock the property lock when done.
Now the plane will iterate through all dirty properties.

Change-Id: I3114ac44d62ac0f0633897d757b6fd9a5b1f5d2e
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
Samantha Tran
2019-10-25 14:27:04 -07:00
committed by Gerrit - the friendly Code Review server
parent d236dbd5e0
commit 4de15bb6ef
4 changed files with 9 additions and 6 deletions

View File

@@ -162,7 +162,9 @@ bool msm_property_get_is_active(struct msm_property_info *info)
/**
* msm_property_pop_dirty - determine next dirty property and clear
* its dirty flag
* its dirty flag. Caller needs to acquire property
* lock before calling this function and release
* the lock when finished.
* @info: Pointer to property info container struct
* @property_state: Pointer to property state container struct
* Returns: Valid msm property index on success,