device/generic/common
修订版 | 787f578b952771205b94fb914b9a950005b961a6 (tree) |
---|---|
时间 | 2016-07-14 14:33:34 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init.sh: change uvesafb default mode to 1024x768
Currently the software rendering works better with 1024x768.
Remove obsolete device specified modes because they are
supported by the native framebuffer driver.
Re-enable the Setup Wizard for the software rendering case.
@@ -103,24 +103,15 @@ function set_drm_mode() | ||
103 | 103 | function init_uvesafb() |
104 | 104 | { |
105 | 105 | case "$PRODUCT" in |
106 | - *Q550) | |
107 | - UVESA_MODE=${UVESA_MODE:-1280x800} | |
108 | - ;; | |
109 | 106 | ET2002*) |
110 | 107 | UVESA_MODE=${UVESA_MODE:-1600x900} |
111 | 108 | ;; |
112 | - T91*) | |
113 | - UVESA_MODE=${UVESA_MODE:-1024x600} | |
114 | - ;; | |
115 | - VirtualBox*|Bochs*) | |
116 | - UVESA_MODE=${UVESA_MODE:-1024x768} | |
117 | - ;; | |
118 | 109 | *) |
119 | 110 | ;; |
120 | 111 | esac |
121 | 112 | |
122 | 113 | [ "$HWACCEL" = "0" ] && bpp=16 || bpp=32 |
123 | - modprobe uvesafb mode_option=${UVESA_MODE:-800x600}-$bpp ${UVESA_OPTION:-mtrr=3 scroll=redraw} | |
114 | + modprobe uvesafb mode_option=${UVESA_MODE:-1024x768}-$bpp ${UVESA_OPTION:-mtrr=3 scroll=redraw} | |
124 | 115 | } |
125 | 116 | |
126 | 117 | function init_hal_gralloc() |
@@ -137,8 +128,6 @@ function init_hal_gralloc() | ||
137 | 128 | init_uvesafb |
138 | 129 | ;& |
139 | 130 | 0*) |
140 | - # FIXME: software rendering failed to pass the SetupWizard | |
141 | - set_property ro.setupwizard.mode DISABLED | |
142 | 131 | ;; |
143 | 132 | esac |
144 | 133 |