• Home
Name Date Size #Lines LOC

..--

common/12-May-2024-24,71114,891

include/linux/mali/12-May-2024-2,2311,303

linux/12-May-2024-17,85512,476

platform/12-May-2024-1,8511,231

regs/12-May-2024-305207

timestamp-arm11-cc/12-May-2024-6326

timestamp-default/12-May-2024-4113

.gitignoreD12-May-202423 21

KbuildD12-May-20249 KiB255218

KconfigD12-May-20243.5 KiB120102

MakefileD12-May-20245.6 KiB207147

readme.txtD12-May-20241.1 KiB2921

readme.txt

1Building the Mali Device Driver for Linux
2-----------------------------------------
3
4Build the Mali Device Driver for Linux by running the following make command:
5
6KDIR=<kdir_path> USING_UMP=<ump_option> BUILD=<build_option> make
7
8where
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
19The result will be a mali.ko file, which can be loaded into the Linux kernel
20by using the insmod command.
21
22Use of UMP is not recommended. The dma-buf API in the Linux kernel has
23replaced UMP. The Mali Device Driver will be built with dma-buf support if the
24kernel config includes enabled dma-buf.
25
26The kernel needs to be provided with a platform_device struct for the Mali GPU
27device. See the mali_utgard.h header file for how to set up the Mali GPU
28resources.
29