diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/Makefile | 3 | ||||
-rw-r--r-- | drivers/gpu/mali/Kconfig | 7 | ||||
-rw-r--r-- | drivers/gpu/mali/Makefile | 3 | ||||
l--------- | drivers/gpu/mali/src | 1 |
4 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/Makefile b/drivers/gpu/Makefile index 30879df3dae..22100fc9b47 100644 --- a/drivers/gpu/Makefile +++ b/drivers/gpu/Makefile @@ -1 +1,4 @@ obj-y += drm/ vga/ +ifeq ($(CONFIG_GPU_MALI),$(filter $(CONFIG_GPU_MALI),y m)) + obj-$(CONFIG_GPU_MALI) += mali/ +endif 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..b246233c7db --- /dev/null +++ b/drivers/gpu/mali/Makefile @@ -0,0 +1,3 @@ +ifeq ($(shell [ -f src/Makefile ] && echo "OK"), OK) +obj-$(CONFIG_GPU_MALI) += src/ +endif 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 |