8 maj=$(awk "\$2==\"${DRIVER}\" { print \$1; }" /proc/devices)
12 mknod /dev/${DRIVER} c $maj 0
13 chmod 600 /dev/${DRIVER}
17 echo "mali: starting driver"
19 BITSPERPIXEL="$(fbset | awk '/geom/ {print $6}')"
20 YRES="$(fbset | awk '/geom/ {print $3}')"
21 # Set RGBA ordering to something the drivers like
22 if [ "$BITSPERPIXEL" = "32" ] ; then
23 fbset -rgba 8/16,8/8,8/0,8/24
25 # Try to enable triple buffering when there's enough VRAM
26 fbset -vyres $(( YRES*3 ))
33 echo "mali: stopping driver"
51 echo "mali: Please use start, stop, or restart."