device/generic/common
Révision | b3c94a49ab3a7ea425fa9cf78aba44b0f9a82300 (tree) |
---|---|
l'heure | 2020-01-08 11:07:52 |
Auteur | Mauro Rossi <issor.oruam@gmai...> |
Commiter | Chih-Wei Huang |
enable iris, i915drmfb and nouveaudrmfb support
Changelog of updates to graphics stack:
- Enable iris in BOARD_GPU_DRIVERS
- Add support for 0*i915drmfb
- Use 0*nouveau* expression for new nouveaudrmfb and old nouveaufb
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
@@ -73,7 +73,7 @@ SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser | ||
73 | 73 | BOARD_WPA_SUPPLICANT_DRIVER ?= NL80211 |
74 | 74 | WPA_SUPPLICANT_VERSION ?= VER_2_1_DEVEL |
75 | 75 | |
76 | -BOARD_GPU_DRIVERS ?= i915 i965 nouveau r300g r600g radeonsi virgl vmwgfx | |
76 | +BOARD_GPU_DRIVERS ?= i915 i965 iris nouveau r300g r600g radeonsi virgl vmwgfx | |
77 | 77 | ifneq ($(strip $(BOARD_GPU_DRIVERS)),) |
78 | 78 | TARGET_HARDWARE_3D := true |
79 | 79 | endif |
@@ -185,7 +185,7 @@ function init_hal_gralloc() | ||
185 | 185 | set_property debug.drm.mode.force ${video:-1280x800} |
186 | 186 | fi |
187 | 187 | ;; |
188 | - 0*inteldrmfb|0*radeondrmfb|0*nouveaufb|0*svgadrmfb|0*amdgpudrmfb) | |
188 | + 0*i915drmfb|0*inteldrmfb|0*radeondrmfb|0*nouveau*|0*svgadrmfb|0*amdgpudrmfb) | |
189 | 189 | if [ "$HWACCEL" != "0" ]; then |
190 | 190 | set_property ro.hardware.gralloc ${GRALLOC:-drm} |
191 | 191 | set_drm_mode |
@@ -210,7 +210,7 @@ function init_hal_hwcomposer() | ||
210 | 210 | function init_hal_vulkan() |
211 | 211 | { |
212 | 212 | case "$(cat /proc/fb | head -1)" in |
213 | - 0*inteldrmfb) | |
213 | + 0*i915drmfb|0*inteldrmfb) | |
214 | 214 | set_property ro.hardware.vulkan android-x86 |
215 | 215 | ;; |
216 | 216 | 0*amdgpudrmfb) |