OSDN Git Service

init.sh: fix virgl support in kernel 5.x
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 10 Apr 2020 12:50:34 +0000 (20:50 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 10 Apr 2020 12:50:34 +0000 (20:50 +0800)
init.sh

diff --git a/init.sh b/init.sh
index 706ddfb..ee306eb 100644 (file)
--- 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|*DRM*emulated)
+               *virtio*drmfb|*DRM*emulated)
                        HWC=${HWC:-drm}
                        GRALLOC=${GRALLOC:-gbm}
                        video=${video:-1280x768}