summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMagnus Wendt <magnus.wendt@stericsson.com>2011-02-09 12:40:30 +0100
committerRobert Marklund <robert.marklund@stericsson.com>2011-10-05 12:55:06 +0200
commit7a362f40195528001f33f897c6ed54a39fbfd369 (patch)
treedada17ae24da178fdb5dfc9e22f788141103307e /drivers/gpu
parent177945c364a3b71231a0d7904282502d9360d46c (diff)
drivers/gpu: Include mali through a symlink
The mali device driver is maintained in its own git and has been built as a kernel module in the past. This commit adds a symlink in drivers/gpu to the mali400ko git and modifies the Makefile and Kconfig to include the mali driver in the kernel. ST-Ericsson ID: CR283174 Change-Id: I7a35ee5c4463ac68f13dc2e45aa77ad18f8e5dc6 Signed-off-by: Magnus Wendt <magnus.wendt@stericsson.com> Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29943 Reviewed-by: Robert FEKETE <robert.fekete@stericsson.com> Tested-by: Robert FEKETE <robert.fekete@stericsson.com> Reviewed-by: Ushit KUMAR <ushit.kumar@stericsson.com> Tested-by: Ushit KUMAR <ushit.kumar@stericsson.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/Makefile7
-rw-r--r--drivers/gpu/mali/Kconfig7
-rw-r--r--drivers/gpu/mali/Makefile1
l---------drivers/gpu/mali/src1
4 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/Makefile b/drivers/gpu/Makefile
index cc9277885dd..4c2544fc920 100644
--- a/drivers/gpu/Makefile
+++ b/drivers/gpu/Makefile
@@ -1 +1,8 @@
+<<<<<<< HEAD
obj-y += drm/ vga/ stub/
+=======
+obj-y += drm/ vga/ stub/ ion/
+ifeq ($(CONFIG_GPU_MALI), y)
+ obj-$(CONFIG_GPU_MALI) += mali/
+endif
+>>>>>>> drivers/gpu: Include mali through a symlink
diff --git a/drivers/gpu/mali/Kconfig b/drivers/gpu/mali/Kconfig
new file mode 100644
index 00000000000..978355d696f
--- /dev/null
+++ b/drivers/gpu/mali/Kconfig
@@ -0,0 +1,7 @@
+config GPU_MALI
+ tristate "ARM Mali 200/300/400 support"
+ depends on ARM
+ ---help---
+ This enables support for the ARM Mali 200/300/400 family of GPUs.
+ Platform specific configuration is made in configuration files in the
+ drivers/gpu/mali/src folder
diff --git a/drivers/gpu/mali/Makefile b/drivers/gpu/mali/Makefile
new file mode 100644
index 00000000000..79cfc8a5da2
--- /dev/null
+++ b/drivers/gpu/mali/Makefile
@@ -0,0 +1 @@
+obj-$(CONFIG_GPU_MALI) += src/
diff --git a/drivers/gpu/mali/src b/drivers/gpu/mali/src
new file mode 120000
index 00000000000..bd5157f132d
--- /dev/null
+++ b/drivers/gpu/mali/src
@@ -0,0 +1 @@
+../../../../vendor/st-ericsson/multimedia/linux/mali400ko/driver/src/devicedrv/mali/ \ No newline at end of file