import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / gpu / mt8127 / mali / mali / readme.txt
1 Building the Mali Device Driver for Linux
2 -----------------------------------------
3
4 Build the Mali Device Driver for Linux by running the following make command:
5
6 KDIR=<kdir_path> USING_UMP=<ump_option> BUILD=<build_option> make
7
8 where
9 kdir_path: Path to your Linux Kernel directory
10 ump_option: 1 = Enable UMP support(*)
11 0 = disable UMP support
12 build_option: debug = debug build of driver
13 release = release build of driver
14
15 (*) For newer Linux Kernels, the Module.symvers file for the UMP device driver
16 must be available. The UMP_SYMVERS_FILE variable in the Makefile should
17 point to this file. This file is generated when the UMP driver is built.
18
19 The result will be a mali.ko file, which can be loaded into the Linux kernel
20 by using the insmod command.
21
22 The kernel needs to be provided with a platform_device struct for the Mali GPU
23 device. See the mali_utgard.h header file for how to set up the Mali GPU
24 resources.