hwc: change the log 31/201731/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 19 Mar 2019 04:58:21 +0000 (13:58 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 19 Mar 2019 04:58:21 +0000 (13:58 +0900)
Change-Id: Ie7653e16a3e1e7e8a601e464eeef7322ff9e1a35

src/tdm_sprd_hwc.c

index 8a78b39..9920749 100644 (file)
@@ -2,6 +2,7 @@
 #include "config.h"
 #endif
 
+#include <tdm_helper.h>
 #include "tdm_sprd.h"
 
 #define MIN_WIDTH   32
@@ -45,19 +46,21 @@ _print_validate_result(tdm_sprd_hwc_data *hwc_data, tdm_hwc_window **composited_
                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;