• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

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

device/generic/common


Commit MetaInfo

修订版6d50976748ebc61030a91582a885b38283a2e2d2 (tree)
时间2019-10-24 19:14:36
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init.sh: fix virgl support of newer kernel

更改概述

差异

--- a/init.sh
+++ b/init.sh
@@ -178,7 +178,7 @@ function init_hal_gralloc()
178178 [ "$VULKAN" = "1" ] && GRALLOC=gbm
179179
180180 case "$(cat /proc/fb | head -1)" in
181- *virtiodrmfb)
181+ *virtiodrmfb|*DRM*emulated)
182182 if [ "$HWACCEL" != "0" ]; then
183183 set_property ro.hardware.hwcomposer ${HWC:-drm}
184184 set_property ro.hardware.gralloc ${GRALLOC:-gbm}