bootable/newinstaller
Revision | 1d74e3f0588282a369ff7fdb98bd3de6ecc1276b (tree) |
---|---|
Time | 2013-07-01 17:05:42 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
0-auto-detect: fix hardware acceleration disabled issue
The bug may occur in a device with multiple framebuffer drivers.
@@ -25,7 +25,7 @@ load_uvesafb() | ||
25 | 25 | [ -x /sbin/v86d ] || ln -s ../android/sbin/v86d /sbin |
26 | 26 | [ -c /dev/fb0 ] || modprobe uvesafb mode_option=${UVESA_MODE:-800x600}-16 ${UVESA_OPTION:-mtrr=3 scroll=redraw} |
27 | 27 | if [ -z "$HWACCEL" ]; then |
28 | - case "`cat /proc/fb`" in | |
28 | + case "`cat /proc/fb | head -1`" in | |
29 | 29 | *inteldrmfb|*radeondrmfb) |
30 | 30 | ;; |
31 | 31 | *) |