Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-generic-common: Commit

device/generic/common


Commit MetaInfo

Revision03da3d9178b40d29fd20d818791dd681242d681b (tree)
Time2020-01-08 11:08:23
AuthorMauro 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>

Change Summary

Incremental Difference

--- 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
Show on old repository browser