projects
/
GitHub
/
LineageOS
/
android_hardware_samsung_slsi_exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1595d47
)
hwc: Fix Decon codepaths
author
Christopher N. Hesse
<raymanfx@gmail.com>
Sat, 11 Nov 2017 12:21:28 +0000
(13:21 +0100)
committer
Jan Altensen
<info@stricted.net>
Sun, 5 Apr 2020 01:02:43 +0000
(
03:02
+0200)
Change-Id: I8d3f912ae0a21365068bc3414bf65aae04849973
libhwc/ExynosHWC.h
patch
|
blob
|
blame
|
history
diff --git
a/libhwc/ExynosHWC.h
b/libhwc/ExynosHWC.h
index f9ff2a945991cad5b27e457ba5d1bc7a5d0dd9bf..a56a90d63793ae248fcf8ea3b87f37b0d00b0cd7 100644
(file)
--- a/
libhwc/ExynosHWC.h
+++ b/
libhwc/ExynosHWC.h
@@
-152,8
+152,12
@@
const size_t NUM_HW_WIN_FB_PHY = 5;
*/
const size_t NUM_HW_WINDOWS = NUM_AVAILABLE_HW_WINDOWS;
#else
+#ifdef USES_VPP
+const size_t NUM_HW_WINDOWS = MAX_DECON_WIN;
+#else
const size_t NUM_HW_WINDOWS = S3C_FB_MAX_WIN;
#endif
+#endif
#ifndef HWC_VERSION
#define HWC_VERSION HWC_DEVICE_API_VERSION_1_3
@@
-167,6
+171,7
@@
const size_t NO_FB_NEEDED = NUM_HW_WINDOWS + 1;
#ifndef FIMD_BW_OVERLAP_CHECK
const size_t MAX_NUM_FIMD_DMA_CH = 2;
+#else
const int FIMD_DMA_CH_IDX[S3C_FB_MAX_WIN] = {0, 1, 1, 1, 0};
#endif