From 2b1c6b21b5e6c82ebb55d7fb7df90e60e88cbb14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Sat, 10 Sep 2016 14:54:26 +0200 Subject: brcm2708: update linux 4.4 patches to latest version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Also adds support for Raspberry Pi Compute Module 3 (untested). Signed-off-by: Álvaro Fernández Rojas --- ...i-Allow-to-build-drm-mipi-dsi-as-a-module.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 target/linux/brcm2708/patches-4.4/0439-drm-mipi-dsi-Allow-to-build-drm-mipi-dsi-as-a-module.patch (limited to 'target/linux/brcm2708/patches-4.4/0439-drm-mipi-dsi-Allow-to-build-drm-mipi-dsi-as-a-module.patch') diff --git a/target/linux/brcm2708/patches-4.4/0439-drm-mipi-dsi-Allow-to-build-drm-mipi-dsi-as-a-module.patch b/target/linux/brcm2708/patches-4.4/0439-drm-mipi-dsi-Allow-to-build-drm-mipi-dsi-as-a-module.patch new file mode 100644 index 0000000000..7d21e2a226 --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0439-drm-mipi-dsi-Allow-to-build-drm-mipi-dsi-as-a-module.patch @@ -0,0 +1,32 @@ +From cee1a8a6610e7184a9df7975c67d7e64bb80ee27 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Tue, 2 Aug 2016 14:16:43 +0200 +Subject: [PATCH] drm/mipi-dsi: Allow to build drm-mipi-dsi as a module + +The drm-mipi-dsi driver has been only built-in although this isn't +strictly required to be so. Since it's referred by lots of DRM +drivers nowadays, most of distro kernels include the driver as +built-in as a result, even though many systems don't need it at all. + +This patch fixes Kconfig to allow drm-mipi-dsi driver built as a +module, so that we can save footprint on systems without such DRM +drivers. The probe order is managed by the module dependency, and +postcore_initcall() works just fine as a module init call. + +Signed-off-by: Takashi Iwai +Signed-off-by: Eric Anholt +--- + drivers/gpu/drm/Kconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/gpu/drm/Kconfig ++++ b/drivers/gpu/drm/Kconfig +@@ -22,7 +22,7 @@ menuconfig DRM + (/dev/agpgart) support if it is available for your platform. + + config DRM_MIPI_DSI +- bool ++ tristate + depends on DRM + + config DRM_KMS_HELPER -- cgit v1.2.3