device/generic/common
Revisión | 03da3d9178b40d29fd20d818791dd681242d681b (tree) |
---|---|
Tiempo | 2020-01-08 11:08:23 |
Autor | Mauro Rossi <issor.oruam@gmai...> |
Commiter | Chih-Wei Huang |
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>
@@ -187,6 +187,7 @@ function init_hal_gralloc() | ||
187 | 187 | ;; |
188 | 188 | 0*i915drmfb|0*inteldrmfb|0*radeondrmfb|0*nouveau*|0*svgadrmfb|0*amdgpudrmfb) |
189 | 189 | if [ "$HWACCEL" != "0" ]; then |
190 | + set_property ro.hardware.hwcomposer ${HWC:-} | |
190 | 191 | set_property ro.hardware.gralloc ${GRALLOC:-drm} |
191 | 192 | set_drm_mode |
192 | 193 | fi |