device/generic/common
リビジョン | c327ac90273ddf565fbb2243475e43375d511bb6 (tree) |
---|---|
日時 | 2020-01-08 11:15:40 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
Merge remote-tracking branch 'x86/pie-x86' into q-x86
@@ -71,7 +71,7 @@ SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser | ||
71 | 71 | BOARD_WPA_SUPPLICANT_DRIVER ?= NL80211 |
72 | 72 | WPA_SUPPLICANT_VERSION ?= VER_2_1_DEVEL |
73 | 73 | |
74 | -BOARD_GPU_DRIVERS ?= i915 i965 nouveau r300g r600g radeonsi virgl vmwgfx | |
74 | +BOARD_GPU_DRIVERS ?= i915 i965 iris nouveau r300g r600g radeonsi virgl vmwgfx | |
75 | 75 | ifneq ($(strip $(BOARD_GPU_DRIVERS)),) |
76 | 76 | TARGET_HARDWARE_3D := true |
77 | 77 | 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 |
@@ -211,7 +212,7 @@ function init_hal_hwcomposer() | ||
211 | 212 | function init_hal_vulkan() |
212 | 213 | { |
213 | 214 | case "$(cat /proc/fb | head -1)" in |
214 | - 0*inteldrmfb) | |
215 | + 0*i915drmfb|0*inteldrmfb) | |
215 | 216 | set_property ro.hardware.vulkan android-x86 |
216 | 217 | ;; |
217 | 218 | 0*amdgpudrmfb) |