OSDN Git Service

init.sh: disable hwcomposer of the virgl gpu
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 3 Jun 2016 04:29:29 +0000 (12:29 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 3 Jun 2016 04:29:29 +0000 (12:29 +0800)
Currently it only work with the tested virgl branch.

init.sh

diff --git a/init.sh b/init.sh
index 9ed35ab..4e6f30c 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -117,7 +117,7 @@ function init_hal_gralloc()
 {
        case "$(cat /proc/fb | head -1)" in
                *virtiodrmfb)
 {
        case "$(cat /proc/fb | head -1)" in
                *virtiodrmfb)
-                       set_property ro.hardware.hwcomposer drm
+#                      set_property ro.hardware.hwcomposer drm
                        ;&
                0*inteldrmfb|0*radeondrmfb|0*nouveaufb|0*svgadrmfb)
                        set_property ro.hardware.gralloc drm
                        ;&
                0*inteldrmfb|0*radeondrmfb|0*nouveaufb|0*svgadrmfb)
                        set_property ro.hardware.gralloc drm