]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Introduce ARM specific modules needed by drm
authorNicolas Chauvet <kwizart@gmail.com>
Mon, 4 Aug 2014 20:04:39 +0000 (22:04 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Aug 2014 10:35:01 +0000 (12:35 +0200)
modules.d/50drm/module-setup.sh

index 9a48aaf1142458d5e837c1aab3bef1dbff738bfc..a42bcba3f21cb38dd07b5c2621ff9ab0472fb912 100755 (executable)
@@ -51,6 +51,17 @@ installkernel() {
         return 0
     }
 
+    if [[ "$(uname -p)" == arm* ]]; then
+        # arm specific modules needed by drm
+        instmods \
+            "=drivers/gpu/drm/i2c" \
+            "=drivers/gpu/drm/panel" \
+            "=drivers/pwm" \
+            "=drivers/video/backlight" \
+            "=drivers/video/fbdev/omap2/displays-new" \
+            ${NULL}
+    fi
+
     for _modname in $(find_kernel_modules_by_path drivers/gpu/drm \
         | drm_module_filter) ; do
         # if the hardware is present, include module even if it is not currently loaded,