I am using yocto zeus with kernel version 4.4.194.
I want to enable MALI GPU and test it on the board.
I am using rk3328 based board.
I have enabled CONFIG_MALI400 in kernel.
Below are the dmesg logs for your reference :
root@rockpi-e-rk3328:~# dmesg | grep -i mali
[ 1.573050] I : [File] : /home/siliconsignals/g1-setup/yocto/poky/build/tmp/work-shared/rockpi-e-rk3328/kernel-source/drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 413; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '11:34:11', on 'Jan 30 2024'.
[ 1.573312] mali-utgard ff300000.gpu: mali_platform_device->num_resources = 9
[ 1.573320] mali-utgard ff300000.gpu: resource[0].start = 0x0x00000000ff300000
[ 1.573324] mali-utgard ff300000.gpu: resource[1].start = 0x0x00000000ff300000
[ 1.573329] mali-utgard ff300000.gpu: resource[2].start = 0x0x0000000000000012
[ 1.573333] mali-utgard ff300000.gpu: resource[3].start = 0x0x0000000000000013
[ 1.573339] mali-utgard ff300000.gpu: resource[4].start = 0x0x0000000000000014
[ 1.573343] mali-utgard ff300000.gpu: resource[5].start = 0x0x0000000000000015
[ 1.573348] mali-utgard ff300000.gpu: resource[6].start = 0x0x0000000000000016
[ 1.573353] mali-utgard ff300000.gpu: resource[7].start = 0x0x0000000000000017
[ 1.573357] mali-utgard ff300000.gpu: resource[8].start = 0x0x0000000000000018
[ 1.573364] D : [File] : /home/siliconsignals/g1-setup/yocto/poky/build/tmp/work-shared/rockpi-e-rk3328/kernel-source/drivers/gpu/arm/mali400/mali/platform/rk/rk.c; [Line] : 623; [Func] : mali_platform_device_init(); to add platform_specific_data to platform_device_of_mali.
[ 1.573417] mali-utgard ff300000.gpu: Looking up mali-supply from device tree
[ 1.573652] mali-utgard ff300000.gpu: leakage=12
[ 1.573662] mali-utgard ff300000.gpu: leakage-volt-sel=1
[ 1.573741] mali-utgard ff300000.gpu: Looking up mali-supply from device tree
[ 1.573800] mali-utgard ff300000.gpu: Failed to get pvtm
[ 1.574209] mali-utgard ff300000.gpu: avs=0
[ 1.574455] mali-utgard ff300000.gpu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0
[ 1.576762] Mali: Mali device driver loaded
How can I confirm that the GPU MALI is enabled successfully?
Is there any application to test?
Any help or suggestion will be appreciated.
Thanks in advance!!