Change-Id: I4023b0556400d090de8e3eb7db2dd5bb9f4492a3
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
_is_device_to_client_transition_finished(&output_data->hwc_window_list);
if (device_to_client_transition_finished) {
- LIST_FOR_EACH_ENTRY(hw, &output_data->hwc_window_list, link) {
- if (hw->client_type == TDM_COMPOSITION_NONE)
- continue;
-
- if (hw->is_device_to_client_transition)
- hw->surface = NULL; /* to unset layers */
- }
-
TDM_INFO("the device to client transition has finished, need_target_wnd:%d",
output_data->need_target_window);
RETURN_VAL_IF_FAIL(exynos_output != NULL, err);
RETURN_VAL_IF_FAIL(exynos_data != NULL, err);
- /* we can't allow a hwc_wnd within 'device to client transition' state
- * to be updated, 'cause it may lead to incorrect order of shown buffers */
- if (exynos_hwc_window->is_device_to_client_transition)
- return TDM_ERROR_BUSY;
-
if (exynos_hwc_window->surface == surface)
return TDM_ERROR_NONE;