OSDN Git Service

Support virgl GPU
[android-x86/device-generic-common.git] / init.sh
diff --git a/init.sh b/init.sh
index 96b1963..7fa0f72 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -117,6 +117,9 @@ function init_uvesafb()
 function init_hal_gralloc()
 {
        case "$(cat /proc/fb | head -1)" in
+               *virtiodrmfb)
+                       set_property ro.hardware.hwcomposer drm
+                       ;&
                0*inteldrmfb|0*radeondrmfb|0*nouveaufb|0*svgadrmfb)
                        set_property ro.hardware.gralloc drm
                        set_drm_mode