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>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
d236dbd5e0
当前提交
4de15bb6ef
@@ -77,7 +77,8 @@ int msm_property_pop_dirty(struct msm_property_info *info,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
mutex_lock(&info->property_lock);
|
||||
WARN_ON(!mutex_is_locked(&info->property_lock));
|
||||
|
||||
if (list_empty(&property_state->dirty_list)) {
|
||||
rc = -EAGAIN;
|
||||
} else {
|
||||
@@ -87,7 +88,6 @@ int msm_property_pop_dirty(struct msm_property_info *info,
|
||||
- property_state->values;
|
||||
DRM_DEBUG_KMS("property %d dirty\n", rc);
|
||||
}
|
||||
mutex_unlock(&info->property_lock);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
在新工单中引用
屏蔽一个用户