hwc: change the log 14/201714/2
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 19 Mar 2019 04:57:56 +0000 (13:57 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 19 Mar 2019 06:58:39 +0000 (06:58 +0000)
Change-Id: I63563ad5b5d84621a92cd40c60ab04dfd9796853

src/tdm_vc4_hwc.c

index 7857b24..364a356 100644 (file)
@@ -49,19 +49,21 @@ _print_validate_result(tdm_vc4_hwc_data *hwc_data, tdm_hwc_window **composited_w
                hwc_window_data = composited_wnds[i];
                switch (hwc_window_data->validated_type) {
                case TDM_HWC_WIN_COMPOSITION_CLIENT:
-                       TDM_DBG(" window(%p) %s -> %s : lzpos(%d) on TARGET WINDOW", hwc_window_data,
+                       TDM_DBG(" window(%p) %s -> %s : lzpos(%d) -- {%s} on TARGET WINDOW", hwc_window_data,
                                        _comp_to_str(hwc_window_data->client_type),
                                        _comp_to_str(hwc_window_data->validated_type),
-                                       hwc_data->target_hwc_window->lzpos);
+                                       hwc_data->target_hwc_window->lzpos,
+                                       hwc_window_data->name ? hwc_window_data->name : "NONE");
                        break;
                case TDM_HWC_WIN_COMPOSITION_DEVICE:
                case TDM_HWC_WIN_COMPOSITION_VIDEO:
                case TDM_HWC_WIN_COMPOSITION_CURSOR:
                case TDM_HWC_WIN_COMPOSITION_NONE:
-                       TDM_DBG(" window(%p) %s -> %s : lzpos(%d)", hwc_window_data,
+                       TDM_DBG(" window(%p) %s -> %s : lzpos(%d) -- {%s}", hwc_window_data,
                                        _comp_to_str(hwc_window_data->client_type),
                                        _comp_to_str(hwc_window_data->validated_type),
-                                       hwc_window_data->lzpos);
+                                       hwc_window_data->lzpos,
+                                       hwc_window_data->name ? hwc_window_data->name : "NONE");
                        break;
                default:
                        break;
@@ -616,4 +618,4 @@ vc4_hwc_initailize_target_window(tdm_vc4_hwc_data *hwc_data, int width, int heig
        hwc_data->need_set_crtc = 1;
 
        return TDM_ERROR_NONE;
-}
\ No newline at end of file
+}