device/generic/common
修订版 | 6d50976748ebc61030a91582a885b38283a2e2d2 (tree) |
---|---|
时间 | 2019-10-24 19:14:36 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init.sh: fix virgl support of newer kernel
@@ -178,7 +178,7 @@ function init_hal_gralloc() | ||
178 | 178 | [ "$VULKAN" = "1" ] && GRALLOC=gbm |
179 | 179 | |
180 | 180 | case "$(cat /proc/fb | head -1)" in |
181 | - *virtiodrmfb) | |
181 | + *virtiodrmfb|*DRM*emulated) | |
182 | 182 | if [ "$HWACCEL" != "0" ]; then |
183 | 183 | set_property ro.hardware.hwcomposer ${HWC:-drm} |
184 | 184 | set_property ro.hardware.gralloc ${GRALLOC:-gbm} |