From 18 Jan, 2021 0:00 UTC: All services will be temporary unavailable for maintenance
  • R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

device/generic/common


Commit MetaInfo

Revision68f33e90104fb3ddfef9e558edfab0a0762d0dd4 (tree)
Time2020-06-04 20:35:12
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Merge remote-tracking branch 'mauro/pie-x86_hwc_drmfb' into pie-x86

Change Summary

Incremental Difference

--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -91,3 +91,10 @@ BOARD_SEPOLICY_DIRS += device/generic/common/sepolicy/nonplat \
9191 system/bt/vendor_libs/linux/sepolicy \
9292
9393 BOARD_PLAT_PRIVATE_SEPOLICY_DIR := device/generic/common/sepolicy/plat_private
94+
95+BOARD_USES_MINIGBM := true
96+BOARD_USES_MINIGBM_INTEL := true
97+BOARD_USES_GRALLOC1 := true
98+BOARD_USES_IA_HWCOMPOSER := true
99+TARGET_USES_HWC2 ?= true
100+#BOARD_USES_VULKAN := true
--- a/gpu/gpu_mesa.mk
+++ b/gpu/gpu_mesa.mk
@@ -9,9 +9,9 @@
99 #
1010
1111 PRODUCT_PACKAGES := \
12- hwcomposer.drm \
12+ hwcomposer.drm hwcomposer.drm_minigbm hwcomposer.intel \
1313 gralloc.drm \
14- gralloc.gbm \
14+ gralloc.gbm gralloc.minigbm gralloc.intel \
1515 libGLES_mesa \
1616 libtxc_dxtn \
1717
--- a/init.sh
+++ b/init.sh
@@ -207,6 +207,7 @@ function init_hal_gralloc()
207207 function init_hal_hwcomposer()
208208 {
209209 # TODO
210+ [ "$HWC" = "drmfb" ] && start vendor.hwcomposer-2-1.drmfb
210211 return
211212 }
212213
--- a/treble.mk
+++ b/treble.mk
@@ -5,7 +5,8 @@ PRODUCT_PACKAGES += \
55
66 # HWComposer HAL
77 PRODUCT_PACKAGES += \
8- android.hardware.graphics.composer@2.1-impl
8+ android.hardware.graphics.composer@2.1-impl \
9+ android.hardware.graphics.composer@2.1-service.drmfb
910
1011 # Audio HAL
1112 PRODUCT_PACKAGES += \