From: Chih-Wei Huang Date: Thu, 24 Oct 2019 10:14:36 +0000 (+0800) Subject: init.sh: fix virgl support of newer kernel X-Git-Tag: android-x86-8.1-r3 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=commitdiff_plain;h=6d50976748ebc61030a91582a885b38283a2e2d2 init.sh: fix virgl support of newer kernel --- diff --git a/init.sh b/init.sh index 8293126..f759a1c 100644 --- a/init.sh +++ b/init.sh @@ -178,7 +178,7 @@ function init_hal_gralloc() [ "$VULKAN" = "1" ] && GRALLOC=gbm case "$(cat /proc/fb | head -1)" in - *virtiodrmfb) + *virtiodrmfb|*DRM*emulated) if [ "$HWACCEL" != "0" ]; then set_property ro.hardware.hwcomposer ${HWC:-drm} set_property ro.hardware.gralloc ${GRALLOC:-gbm}