Amlogic-no Discussion

Thx, i tried many version where was first success booting on am6plus with newer kernel 5.15.137 (from 20241231). So in all cases was bad hw acceleration of late identificated problematic video formats at CE22NO. HW acceleration for am6plus with all supported video formats (also streams) is good only on older kernel 5.15.119 (to 20241220) at CE22NO. Maybe kernel 5.15.137 need compatible/newer/better driver from Mali Mali Drivers | Mali GPU User-Space Binary Drivers – Arm Developer . Easy solution is maybe using identical mali drivers in 5.15.137 from 5.15.119 (for confirmation of reason of current issues, if was used now different version).

Libreelec have too old driver r16 with fix for kernel 5.5, 5.8, 5.9 and 5.11: GitHub - cdu13a/mali-bifrost: ARM Mali kernel drivers used with Bifrost GPU's in LibreELEC or r23: GitHub - chewitt/mali-bifrost at BX301A01B-SW-99002-r23p0-01rel0-amlogic Last opensource kernel driver is from august 2024 as r51: Mali Drivers | Open Source Bifrost Mali 3rd Gen GPU Architecture Kernel Drivers – Arm Developer

There is supporting to kernel 6.7.

Also for 5.15 are changes in last drivers mali according to file version_compat_defs.h:
#if (KERNEL_VERSION(5, 15, 0) > LINUX_VERSION_CODE)
uint uint_val;
int ret;

if (!val)
	return -EINVAL;

ret = kstrtouint(val, 0, &uint_val);

if (ret == 0) {
	if (uint_val < min || uint_val > max)
		return -EINVAL;

	*((uint *)kp->arg) = uint_val;
}

return ret;

#else
return param_set_uint_minmax(val, kp, min, max);
#endif

1 Like