hwc: support destination transform on hw layer 81/298781/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 13 Sep 2023 07:04:15 +0000 (16:04 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Wed, 13 Sep 2023 10:30:34 +0000 (19:30 +0900)
Change-Id: I6ba085aec35e83aa130a893b287b5f044b66604d

src/tdm_vc4_hwc.c

index e2d3476..fb77552 100644 (file)
@@ -398,12 +398,6 @@ _vc4_hwc_window_can_set_on_hw_layer(tdm_vc4_hwc_window *hwc_window_data)
        if (hwc_window_data->info.transform != HAL_TDM_TRANSFORM_NORMAL)
                return 0;
 
-       if (hwc_window_data->info.src_config.pos.w != hwc_window_data->info.dst_pos.w)
-               return 0;
-
-       if (hwc_window_data->info.src_config.pos.h != hwc_window_data->info.dst_pos.h)
-               return 0;
-
        if (!IS_RGB(hwc_window_data->info.src_config.format))
                return 0;