return 0;
}
-static int
-_are_windows_with_client_candidate_type(struct list_head *hwc_wnds)
-{
- tdm_exynos_hwc_window_data *hw = NULL;
-
- LIST_FOR_EACH_ENTRY(hw, hwc_wnds, link) {
-
- if (hw->client_type == TDM_COMPOSITION_NONE)
- continue;
-
- if (hw->validated_type == TDM_COMPOSITION_CLIENT_CANDIDATE)
- return 1;
- }
-
- return 0;
-}
-
static tdm_exynos_hwc_window_data *
_find_maped_hwc_window_to_layer(struct list_head *hwc_wnds, int layer_zpos)
{
_set_hwc_window_buffer_to_layer(layer, output_data->video_hwc_window);
}
- if (_are_windows_with_client_candidate_type(&output_data->hwc_window_list))
- return TDM_ERROR_NONE;
-
LIST_FOR_EACH_ENTRY(layer, &output_data->layer_list, link) {
if (output_data->need_target_window && layer->zpos == primary_layer_zpos)
continue;