return TDM_ERROR_BAD_REQUEST;
}
- if (private_output->current_dpms_value == dpms_value) {
- _pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
- }
-
/** Use timer to call the output change callback of the sub-thread.
* The output change callback of tdm_server and tdm_vblank was called
* in the main thread. And it made the multi thread issue. If we use
return TDM_ERROR_BAD_REQUEST;
}
- if (private_output->current_dpms_value == dpms_value) {
- _pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
- }
-
func_output = &private_display->func_output;
if (!func_output->output_set_dpms_handler) {
TDM_ERR("not implemented: output_set_dpms_handler");