|
@@ -701,6 +701,7 @@ static int _sde_connector_update_dirty_properties(
|
|
c_conn = to_sde_connector(connector);
|
|
c_conn = to_sde_connector(connector);
|
|
c_state = to_sde_connector_state(connector->state);
|
|
c_state = to_sde_connector_state(connector->state);
|
|
|
|
|
|
|
|
+ mutex_lock(&c_conn->property_info.property_lock);
|
|
while ((idx = msm_property_pop_dirty(&c_conn->property_info,
|
|
while ((idx = msm_property_pop_dirty(&c_conn->property_info,
|
|
&c_state->property_state)) >= 0) {
|
|
&c_state->property_state)) >= 0) {
|
|
switch (idx) {
|
|
switch (idx) {
|
|
@@ -723,6 +724,7 @@ static int _sde_connector_update_dirty_properties(
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ mutex_unlock(&c_conn->property_info.property_lock);
|
|
|
|
|
|
/* if colorspace needs to be updated do it first */
|
|
/* if colorspace needs to be updated do it first */
|
|
if (c_conn->colorspace_updated) {
|
|
if (c_conn->colorspace_updated) {
|