OSDN Git Service

Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 19 Sep 2018 02:32:21 +0000 (10:32 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 19 Sep 2018 02:32:21 +0000 (10:32 +0800)
1  2 
init.sh

diff --combined init.sh
+++ b/init.sh
@@@ -118,10 -118,8 +118,8 @@@ function set_drm_mode(
                ET1602*)
                        drm_mode=1366x768
                        ;;
-               VMware*)
-                       [ -n "$video" ] && drm_mode=$video
-                       ;;
                *)
+                       [ -n "$video" ] && drm_mode=$video
                        ;;
        esac
  
@@@ -148,6 -146,7 +146,7 @@@ function init_hal_gralloc(
                        if [ "$HWACCEL" != "0" ]; then
                                set_property ro.hardware.hwcomposer drm
                                set_property ro.hardware.gralloc gbm
+                               set_property debug.drm.mode.force ${video:-1280x800}
                        fi
                        set_prop_if_empty sleep.state none
                        ;;
@@@ -420,9 -419,6 +419,9 @@@ function do_bootcomplete(
                        setkeycodes 0x66 172
                        setkeycodes 0x6b 127
                        ;;
 +              VMware*)
 +                      pm disable com.android.bluetooth
 +                      ;;
                *)
                        ;;
        esac