diff options
author | Changyeon Lee <cyeon.lee@samsung.com> | 2021-01-26 17:46:20 +0900 |
---|---|---|
committer | Changyeon Lee <cyeon.lee@samsung.com> | 2021-02-18 15:31:59 +0900 |
commit | 32a169e66813862f1a402e81d8d32a94b58ef7fa (patch) | |
tree | 29dc0b5016741a27df1005744824efbdb11d81d3 | |
parent | 0037a5b3970de66e07db1d43eaae086e78fd6b2e (diff) | |
download | libtdm-vc4-32a169e66813862f1a402e81d8d32a94b58ef7fa.tar.gz libtdm-vc4-32a169e66813862f1a402e81d8d32a94b58ef7fa.tar.bz2 libtdm-vc4-32a169e66813862f1a402e81d8d32a94b58ef7fa.zip |
hwc: remove unnecessary checking of buffer width
vc4 support all width
Change-Id: Ied98bdc527f14e35754fe3cf4249365f9c190da5
-rw-r--r-- | src/tdm_vc4_hwc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tdm_vc4_hwc.c b/src/tdm_vc4_hwc.c index b753c8c..8db4267 100644 --- a/src/tdm_vc4_hwc.c +++ b/src/tdm_vc4_hwc.c @@ -5,8 +5,6 @@ #include <tdm_helper.h> #include "tdm_vc4.h" -#define MIN_WIDTH 32 - #define NUM_LAYERS 4 #define NUM_BUFFERS 3 @@ -196,9 +194,6 @@ _vc4_hwc_window_can_set_on_hw_layer(tdm_vc4_hwc_window_data *hwc_window_data) hwc_window_data->info.dst_pos.y > hwc_window_data->hwc_data->output_data->current_mode->vdisplay) return 0; - if (hwc_window_data->info.src_config.pos.w < MIN_WIDTH || hwc_window_data->info.src_config.pos.w % 2) - return 0; - return 1; } |