device/generic/common
Revision | 2b82b219e6218445ba2eabcad3192a11e5fd57fb (tree) |
---|---|
Time | 2017-07-18 18:14:07 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Enable gralloc.gbm + hwcomposer.drm for virgl
@@ -9,7 +9,9 @@ | ||
9 | 9 | # |
10 | 10 | |
11 | 11 | PRODUCT_PACKAGES := \ |
12 | + hwcomposer.drm \ | |
12 | 13 | gralloc.drm \ |
14 | + gralloc.gbm \ | |
13 | 15 | libGLES_mesa \ |
14 | 16 | libtxc_dxtn \ |
15 | 17 |
@@ -132,8 +132,9 @@ function init_hal_gralloc() | ||
132 | 132 | { |
133 | 133 | case "$(cat /proc/fb | head -1)" in |
134 | 134 | *virtiodrmfb) |
135 | -# set_property ro.hardware.hwcomposer drm | |
136 | - ;& | |
135 | + set_property ro.hardware.hwcomposer drm | |
136 | + set_property ro.hardware.gralloc gbm | |
137 | + ;; | |
137 | 138 | 0*inteldrmfb|0*radeondrmfb|0*nouveaufb|0*svgadrmfb|0*amdgpudrmfb) |
138 | 139 | set_property ro.hardware.gralloc drm |
139 | 140 | set_drm_mode |