device/generic/common
Revision | 2181825646c97548e02498cb614a90177233e30b (tree) |
---|---|
Time | 2017-07-27 16:55:24 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
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.
@@ -107,6 +107,9 @@ function set_drm_mode() | ||
107 | 107 | ET1602*) |
108 | 108 | drm_mode=1366x768 |
109 | 109 | ;; |
110 | + VMware*) | |
111 | + [ -n "$video" ] && drm_mode=$video | |
112 | + ;; | |
110 | 113 | *) |
111 | 114 | ;; |
112 | 115 | esac |