OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dadd0ec
)
init.sh: allow setting VMware solution via cmdline
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 27 Jul 2017 07:30:31 +0000
(15:30 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 27 Jul 2017 07:55:24 +0000
(15:55 +0800)
The VMware vmwgfx driver doesn't honor the standard video= cmdline.
Force to set the resolution via the debug.drm.mode.force property.
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
cf6b1a1
..
8ca4e3b
100644
(file)
--- 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