OSDN Git Service

Support virgl GPU
[android-x86/device-generic-common.git] / init.sh
diff --git a/init.sh b/init.sh
index 4cc2354..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
@@ -243,6 +246,9 @@ function create_pointercal()
 function init_tscal()
 {
        case "$PRODUCT" in
+               ST70416-6*)
+                       modprobe gslx680_ts_acpi
+                       ;&
                T91|T101|ET2002|74499FU|945GSE-ITE8712|CF-19[CDYFGKLP]*)
                        create_pointercal
                        return