#define NUM_LAYERS 4
#define NUM_BUFFERS 3
-#define NUM_UI_LAYERS 2
+#define NUM_UI_LAYERS 1
-#define ZPOS_MAX 3
+#define ZPOS_MAX 1
#define ZPOS_CURSOR 2
#define ZPOS_1 1
#define ZPOS_0 0
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) -- {%s} on TARGET WINDOW", hwc_window_data,
+ TDM_INFO(" 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,
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) -- {%s}", hwc_window_data,
+ TDM_INFO(" 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,
/* for debug */
for (lzpos = NUM_LAYERS -1 ; lzpos >= 0; lzpos--) {
if (use_layers_zpos[lzpos])
- TDM_DBG(" lzpos(%d) : %s", lzpos, use_layers_zpos[lzpos] ? "SET" : "UNSET");
+ TDM_INFO(" lzpos(%d) : %s", lzpos, use_layers_zpos[lzpos] ? "SET" : "UNSET");
}
return TDM_ERROR_NONE;
int device_count = 0;
int video_count = 0;
int cursor_count = 0;
- int ui_lzpos_top = ZPOS_1;
+ int ui_lzpos_top = ZPOS_0;
int ui_lzpos_bottom = ZPOS_0;
int num_ui_layers = NUM_UI_LAYERS;
int set_clients_below = 0;
LIST_ADDTAIL(&hwc_window_data->link, &hwc_data->hwc_window_list);
- TDM_DBG("hwc_window(%p) create", hwc_window_data);
+ TDM_INFO("hwc_window(%p) create", hwc_window_data);
if (error)
*error = TDM_ERROR_NONE;
RETURN_VAL_IF_FAIL(hwc_data != NULL, TDM_ERROR_INVALID_PARAMETER);
RETURN_VAL_IF_FAIL(hwc_data->output_data != NULL, TDM_ERROR_INVALID_PARAMETER);
- TDM_DBG(" ==============Accept Changes Done=================================");
+ TDM_INFO(" ==============Accept Changes Done=================================");
ret = _drm_hwc_prepare_commit(hwc_data);
RETURN_VAL_IF_FAIL(ret == TDM_ERROR_NONE, ret);