Blame 0027-Introduce-ARM-specific-modules-needed-by-drm.patch
|
Harald Hoyer |
89f6fa |
From 49fe860b22afd355b67f5f3f2ee30d5a3f0d3f5f Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
89f6fa |
From: Nicolas Chauvet <kwizart@gmail.com>
|
|
Harald Hoyer |
89f6fa |
Date: Mon, 4 Aug 2014 22:04:39 +0200
|
|
Harald Hoyer |
89f6fa |
Subject: [PATCH] Introduce ARM specific modules needed by drm
|
|
Harald Hoyer |
89f6fa |
|
|
Harald Hoyer |
89f6fa |
---
|
|
Harald Hoyer |
89f6fa |
modules.d/50drm/module-setup.sh | 11 +++++++++++
|
|
Harald Hoyer |
89f6fa |
1 file changed, 11 insertions(+)
|
|
Harald Hoyer |
89f6fa |
|
|
Harald Hoyer |
89f6fa |
diff --git a/modules.d/50drm/module-setup.sh b/modules.d/50drm/module-setup.sh
|
|
Harald Hoyer |
89f6fa |
index 9a48aaf..a42bcba 100755
|
|
Harald Hoyer |
89f6fa |
--- a/modules.d/50drm/module-setup.sh
|
|
Harald Hoyer |
89f6fa |
+++ b/modules.d/50drm/module-setup.sh
|
|
Harald Hoyer |
89f6fa |
@@ -51,6 +51,17 @@ installkernel() {
|
|
Harald Hoyer |
89f6fa |
return 0
|
|
Harald Hoyer |
89f6fa |
}
|
|
Harald Hoyer |
89f6fa |
|
|
Harald Hoyer |
89f6fa |
+ if [[ "$(uname -p)" == arm* ]]; then
|
|
Harald Hoyer |
89f6fa |
+ # arm specific modules needed by drm
|
|
Harald Hoyer |
89f6fa |
+ instmods \
|
|
Harald Hoyer |
89f6fa |
+ "=drivers/gpu/drm/i2c" \
|
|
Harald Hoyer |
89f6fa |
+ "=drivers/gpu/drm/panel" \
|
|
Harald Hoyer |
89f6fa |
+ "=drivers/pwm" \
|
|
Harald Hoyer |
89f6fa |
+ "=drivers/video/backlight" \
|
|
Harald Hoyer |
89f6fa |
+ "=drivers/video/fbdev/omap2/displays-new" \
|
|
Harald Hoyer |
89f6fa |
+ ${NULL}
|
|
Harald Hoyer |
89f6fa |
+ fi
|
|
Harald Hoyer |
89f6fa |
+
|
|
Harald Hoyer |
89f6fa |
for _modname in $(find_kernel_modules_by_path drivers/gpu/drm \
|
|
Harald Hoyer |
89f6fa |
| drm_module_filter) ; do
|
|
Harald Hoyer |
89f6fa |
# if the hardware is present, include module even if it is not currently loaded,
|