• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


コミットメタ情報

リビジョン787f578b952771205b94fb914b9a950005b961a6 (tree)
日時2016-07-14 14:33:34
作者Chih-Wei Huang <cwhuang@linu...>
コミッター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.

変更サマリ

差分

--- a/init.sh
+++ b/init.sh
@@ -103,24 +103,15 @@ function set_drm_mode()
103103 function init_uvesafb()
104104 {
105105 case "$PRODUCT" in
106- *Q550)
107- UVESA_MODE=${UVESA_MODE:-1280x800}
108- ;;
109106 ET2002*)
110107 UVESA_MODE=${UVESA_MODE:-1600x900}
111108 ;;
112- T91*)
113- UVESA_MODE=${UVESA_MODE:-1024x600}
114- ;;
115- VirtualBox*|Bochs*)
116- UVESA_MODE=${UVESA_MODE:-1024x768}
117- ;;
118109 *)
119110 ;;
120111 esac
121112
122113 [ "$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}
124115 }
125116
126117 function init_hal_gralloc()
@@ -137,8 +128,6 @@ function init_hal_gralloc()
137128 init_uvesafb
138129 ;&
139130 0*)
140- # FIXME: software rendering failed to pass the SetupWizard
141- set_property ro.setupwizard.mode DISABLED
142131 ;;
143132 esac
144133