]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Add aarch64 to drm modules along side ARM
authorPeter Robinson <pbrobinson@gmail.com>
Thu, 23 Mar 2017 14:51:48 +0000 (14:51 +0000)
committerPeter Robinson <pbrobinson@gmail.com>
Thu, 23 Mar 2017 14:51:48 +0000 (14:51 +0000)
Add aarch64 to modules, also update the drivers checked for latest
kernel changes.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
modules.d/50drm/module-setup.sh

index 6106d8c6118d34f92193042e9efaf11bb6451163..42a5e7bc5ac328a7b03f98793f13862cc73fc302 100755 (executable)
@@ -15,14 +15,14 @@ installkernel() {
     local _modname
     # Include KMS capable drm drivers
 
-    if [[ "$(uname -p)" == arm* ]]; then
-        # arm specific modules needed by drm
+    if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then
+        # arm/aarch64 specific modules needed by drm
         instmods \
             "=drivers/gpu/drm/i2c" \
             "=drivers/gpu/drm/panel" \
+            "=drivers/gpu/drm/bridge" \
             "=drivers/pwm" \
             "=drivers/video/backlight" \
-            "=drivers/video/fbdev/omap2/displays-new" \
             ${NULL}
     fi