return TDM_ERROR_NONE;
}
+/* LCOV_EXCL_START */
INTERN tdm_error
tdm_output_commit_internal(tdm_output *output, int sync, tdm_output_commit_handler func, void *user_data)
{
func_output = &private_module->func_output;
if (!func_output->output_commit) {
- /* LCOV_EXCL_START */
TDM_WRN("not implemented!!");
return TDM_ERROR_NOT_IMPLEMENTED;
- /* LCOV_EXCL_STOP */
}
ret = tdm_output_get_dpms_internal(output, &dpms_value);
output_commit_handler = calloc(1, sizeof(tdm_private_output_commit_handler));
if (!output_commit_handler) {
- /* LCOV_EXCL_START */
TDM_ERR("failed: alloc memory");
return TDM_ERROR_OUT_OF_MEMORY;
- /* LCOV_EXCL_STOP */
}
if (private_module == private_display->virtual_module) {
return ret;
commit_failed:
- /* LCOV_EXCL_START */
if (output_commit_handler) {
tdm_thread_cb_remove(private_output, TDM_THREAD_CB_OUTPUT_COMMIT, output_commit_handler, _tdm_output_thread_cb_commit, NULL);
LIST_DEL(&output_commit_handler->link);
}
return ret;
- /* LCOV_EXCL_STOP */
}
EXTERN tdm_error
return ret;
}
+/* LCOV_EXCL_STOP */
EXTERN tdm_error
tdm_output_set_mode(tdm_output *output, const tdm_output_mode *mode)