• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
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

Revisión03da3d9178b40d29fd20d818791dd681242d681b (tree)
Tiempo2020-01-08 11:08:23
AutorMauro Rossi <issor.oruam@gmai...>
CommiterChih-Wei Huang

Log Message

init.sh: add support for HWC kernel cmdline for all GPUs

Allows to select hardware composers using the values {drm,drm_minigbm,intel}
in conjuction with respective GRALLOC {gbm,minigbm,intel}

The default is hwcomposer disabled, with ro.hardware.hwcomposer not set,
based on the assumption that hwcomposer. module does not exist

Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>

Cambiar Resumen

Diferencia incremental

--- a/init.sh
+++ b/init.sh
@@ -187,6 +187,7 @@ function init_hal_gralloc()
187187 ;;
188188 0*i915drmfb|0*inteldrmfb|0*radeondrmfb|0*nouveau*|0*svgadrmfb|0*amdgpudrmfb)
189189 if [ "$HWACCEL" != "0" ]; then
190+ set_property ro.hardware.hwcomposer ${HWC:-}
190191 set_property ro.hardware.gralloc ${GRALLOC:-drm}
191192 set_drm_mode
192193 fi