From e5f2bc38294eb7f22481af7473cf45fe22c98813 Mon Sep 17 00:00:00 2001 From: Boram Park Date: Mon, 27 Nov 2017 17:44:18 +0900 Subject: [PATCH] output: add debug log Change-Id: I36f24f5c2e53f56c8568888bd6e305a62dd6eb1b --- src/tdm_output.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tdm_output.c b/src/tdm_output.c index f0a777f..af2b40a 100644 --- a/src/tdm_output.c +++ b/src/tdm_output.c @@ -1019,8 +1019,11 @@ tdm_output_set_mode(tdm_output *output, const tdm_output_mode *mode) } ret = func_output->output_set_mode(private_output->output_backend, mode); - if (ret == TDM_ERROR_NONE) + if (ret == TDM_ERROR_NONE) { private_output->current_mode = mode; + TDM_INFO("mode: %dx%d %dhz", mode->hdisplay, mode->vdisplay, mode->vrefresh); + } + _pthread_mutex_unlock(&private_display->lock); return ret; -- 2.7.4