From: Chih-Wei Huang Date: Thu, 27 Jul 2017 07:30:31 +0000 (+0800) Subject: init.sh: allow setting VMware solution via cmdline X-Git-Tag: android-x86-7.1-r1~19 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=commitdiff_plain;h=2181825646c97548e02498cb614a90177233e30b init.sh: allow setting VMware solution via cmdline The VMware vmwgfx driver doesn't honor the standard video= cmdline. Force to set the resolution via the debug.drm.mode.force property. --- diff --git a/init.sh b/init.sh index cf6b1a1..8ca4e3b 100644 --- a/init.sh +++ b/init.sh @@ -107,6 +107,9 @@ function set_drm_mode() ET1602*) drm_mode=1366x768 ;; + VMware*) + [ -n "$video" ] && drm_mode=$video + ;; *) ;; esac