OSDN Git Service

enable iris, i915drmfb and nouveaudrmfb support
[android-x86/device-generic-common.git] / init.sh
diff --git a/init.sh b/init.sh
index b689341..a807b70 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -185,7 +185,7 @@ function init_hal_gralloc()
                                set_property debug.drm.mode.force ${video:-1280x800}
                        fi
                        ;;
-               0*inteldrmfb|0*radeondrmfb|0*nouveaufb|0*svgadrmfb|0*amdgpudrmfb)
+               0*i915drmfb|0*inteldrmfb|0*radeondrmfb|0*nouveau*|0*svgadrmfb|0*amdgpudrmfb)
                        if [ "$HWACCEL" != "0" ]; then
                                set_property ro.hardware.gralloc ${GRALLOC:-drm}
                                set_drm_mode
@@ -210,7 +210,7 @@ function init_hal_hwcomposer()
 function init_hal_vulkan()
 {
        case "$(cat /proc/fb | head -1)" in
-               0*inteldrmfb)
+               0*i915drmfb|0*inteldrmfb)
                        set_property ro.hardware.vulkan android-x86
                        ;;
                0*amdgpudrmfb)