output: add debug log 51/161751/2
authorBoram Park <boram1288.park@samsung.com>
Mon, 27 Nov 2017 08:44:18 +0000 (17:44 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 27 Nov 2017 11:21:16 +0000 (11:21 +0000)
Change-Id: I36f24f5c2e53f56c8568888bd6e305a62dd6eb1b

src/tdm_output.c

index 855c352..7449637 100644 (file)
@@ -1073,8 +1073,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;