device/generic/common
リビジョン | e2af8123db2041fbf69844e176eec3a41e4c6ef5 (tree) |
---|---|
日時 | 2020-01-08 11:13:33 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86
@@ -73,7 +73,7 @@ SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser | ||
73 | 73 | BOARD_WPA_SUPPLICANT_DRIVER ?= NL80211 |
74 | 74 | WPA_SUPPLICANT_VERSION ?= VER_2_1_DEVEL |
75 | 75 | |
76 | -BOARD_GPU_DRIVERS ?= i915 i965 nouveau r300g r600g radeonsi virgl vmwgfx | |
76 | +BOARD_GPU_DRIVERS ?= i915 i965 iris nouveau r300g r600g radeonsi virgl vmwgfx | |
77 | 77 | ifneq ($(strip $(BOARD_GPU_DRIVERS)),) |
78 | 78 | TARGET_HARDWARE_3D := true |
79 | 79 | endif |
@@ -185,8 +185,9 @@ function init_hal_gralloc() | ||
185 | 185 | set_property debug.drm.mode.force ${video:-1280x800} |
186 | 186 | fi |
187 | 187 | ;; |
188 | - 0*inteldrmfb|0*radeondrmfb|0*nouveaufb|0*svgadrmfb|0*amdgpudrmfb) | |
188 | + 0*i915drmfb|0*inteldrmfb|0*radeondrmfb|0*nouveau*|0*svgadrmfb|0*amdgpudrmfb) | |
189 | 189 | if [ "$HWACCEL" != "0" ]; then |
190 | + set_property ro.hardware.hwcomposer ${HWC:-} | |
190 | 191 | set_property ro.hardware.gralloc ${GRALLOC:-drm} |
191 | 192 | set_drm_mode |
192 | 193 | fi |
@@ -210,7 +211,7 @@ function init_hal_hwcomposer() | ||
210 | 211 | function init_hal_vulkan() |
211 | 212 | { |
212 | 213 | case "$(cat /proc/fb | head -1)" in |
213 | - 0*inteldrmfb) | |
214 | + 0*i915drmfb|0*inteldrmfb) | |
214 | 215 | set_property ro.hardware.vulkan android-x86 |
215 | 216 | ;; |
216 | 217 | 0*amdgpudrmfb) |