You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 85d53f2ef7
[kernel] 71e9e2a5e9: Merge tag 'android-14.0-mid-rkr5'
1 year ago
..
common Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
include/linux/mali Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
linux [kernel] 71e9e2a5e9: Merge tag 'android-14.0-mid-rkr5' 1 year ago
platform Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
regs Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
timestamp-arm11-cc Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
timestamp-default Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
.gitignore Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
Kbuild Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
Kconfig Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
Makefile Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
readme.txt Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago

readme.txt

Building the Mali Device Driver for Linux
-----------------------------------------

Build the Mali Device Driver for Linux by running the following make command:

KDIR=<kdir_path> USING_UMP=<ump_option> BUILD=<build_option> make

where
    kdir_path: Path to your Linux Kernel directory
    ump_option: 1 = Enable UMP support(*)
                0 = disable UMP support
    build_option: debug = debug build of driver
                  release = release build of driver

(*)  For newer Linux Kernels, the Module.symvers file for the UMP device driver
     must be available. The UMP_SYMVERS_FILE variable in the Makefile should
     point to this file. This file is generated when the UMP driver is built.

The result will be a mali.ko file, which can be loaded into the Linux kernel
by using the insmod command.

Use of UMP is not recommended. The dma-buf API in the Linux kernel has
replaced UMP. The Mali Device Driver will be built with dma-buf support if the
kernel config includes enabled dma-buf.

The kernel needs to be provided with a platform_device struct for the Mali GPU
device. See the mali_utgard.h header file for how to set up the Mali GPU
resources.