projects
/
platform
/
adaptation
/
broadcom
/
libtdm-vc4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c49992
)
hwc: remove unnecessary checking of buffer width
98/252298/1
author
Changyeon Lee
<cyeon.lee@samsung.com>
Tue, 26 Jan 2021 08:46:20 +0000
(17:46 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Tue, 26 Jan 2021 08:47:30 +0000
(17:47 +0900)
vc4 support all width
Change-Id: Ied98bdc527f14e35754fe3cf4249365f9c190da5
src/tdm_vc4_hwc.c
patch
|
blob
|
history
diff --git
a/src/tdm_vc4_hwc.c
b/src/tdm_vc4_hwc.c
index
bb87a22
..
53cc255
100644
(file)
--- a/
src/tdm_vc4_hwc.c
+++ b/
src/tdm_vc4_hwc.c
@@
-6,8
+6,6
@@
#include <pixman.h>
#include "tdm_vc4.h"
-#define MIN_WIDTH 32
-
#define NUM_LAYERS 4
#define NUM_BUFFERS 3
@@
-374,9
+372,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;
}