All tdm_layer_set_xxx functions means that the display server is
using this layer.
Change-Id: Ia99c57b11fe275ae941b7108432f1c0e8bdfc869
func_layer = &private_display->func_layer;
func_layer = &private_display->func_layer;
+ if (private_layer->usable)
+ TDM_INFO("layer(%p) not usable", private_layer);
+
+ private_layer->usable = 0;
+
if (!func_layer->layer_set_property) {
_pthread_mutex_unlock(&private_display->lock);
TDM_ERR("not implemented!!");
if (!func_layer->layer_set_property) {
_pthread_mutex_unlock(&private_display->lock);
TDM_ERR("not implemented!!");