X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=init.sh;h=706ddfb9b29c4b9f3dd2223970e7c2c075a97158;hb=8bd90bd3d0ac9a3a66e2f8f97bda6c186f8c380e;hp=37827a224ac77549ab763f838a0699d28c58ea7e;hpb=4130f32c89af4ff52ea61cbfc436cf8e212bef1f;p=android-x86%2Fdevice-generic-common.git diff --git a/init.sh b/init.sh index 37827a2..706ddfb 100644 --- a/init.sh +++ b/init.sh @@ -179,12 +179,10 @@ function init_hal_gralloc() case "$(cat /proc/fb | head -1)" in *virtiodrmfb|*DRM*emulated) - if [ "$HWACCEL" != "0" ]; then - set_property ro.hardware.hwcomposer ${HWC:-drm} - set_property ro.hardware.gralloc ${GRALLOC:-gbm} - set_property debug.drm.mode.force ${video:-1280x800} - fi - ;; + HWC=${HWC:-drm} + GRALLOC=${GRALLOC:-gbm} + video=${video:-1280x768} + ;& 0*i915drmfb|0*inteldrmfb|0*radeondrmfb|0*nouveau*|0*svgadrmfb|0*amdgpudrmfb) if [ "$HWACCEL" != "0" ]; then set_property ro.hardware.hwcomposer ${HWC:-}