Mali & UMP memory allocation

Mali GPU和UMP设备驱动位于driver/gpu目录下。Mali是平台设备,UMP是字符设备。两者都能配置从专用内存或共享内核内存中分配内存。配置选项如CONFIG_MALI_MEMORY_SIZE和CONFIG_UMP_MEMORY_SIZE分别设置了Mali和UMP的内存大小。日志显示UMP使用了64MB内核内存,并预留了27MB的专用内存。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

The MALI & UMP device drivers reside in driver/gpu directory:

Mali driver: gpu/mali/mali/linux/mali_kernel_linux.c.

                     It is a platform device, the driver name is "mali-utgard". (ls /sys/bus/platform/drivers),

                     the device name is "mali-utgard.0" (ls /sys/bus/platform/devices)

UMP driver: gpu/mali/ump/linux/ump_kernel_linux.c

                      It is a char device, the driver name is "ump", (ls sys/module/ump)

                      the device name is "ump", (ls /sys/devices/virtual)


Them mali $ UMP drivers both can be configured to allocate memory from

A. Dedicated memory

or

B. Share the Kernel memory


Below are related items in config, SparkPos project.

CONFIG_MALI_GPU

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值