Why?

I thought these GPU were open source with mainline kernel support?

All the mainline kernel support is reverse-engineered. No help from Arm.

Thus there is a considerable lag for the support of newer Mali generations.

Some Linux distributions for various embedded computers with Arm-based CPUs and GPUs use closed-source GPU drivers from Arm, not the reverse-engineered Linux drivers, when the Mali versions are newer than supported by the kernel and Mesa.

The Arm GPUs do not have public technical documentation, not even at the level of NVIDIA, much less something comparable with AMD and Intel.

I think you are confusing Apple and Arm.

Mali drivers are contributed by Arm:

https://github.com/torvalds/linux/blob/master/MAINTAINERS

Most Mali drivers from the kernel are not contributed by Arm, but you are right that nowadays some contributors from Arm have appeared for the older reverse-engineered GPU drivers, like Panfrost and Panthor, and now there are also a few GPU-related drivers, like HDLCD and MALI-DP, which have indeed been contributed by Arm.

Besides the Mali generations that are supported in the mainline kernel, there are many other Mali generations for which Arm has not provided anything else except closed-source drivers for Android, in a few cases also closed-source drivers for Linux. However, there are many other reverse-engineered Mali drivers, besides those from the mainline kernel.

It is good that Arm has begun to contribute to the kernel DRM drivers, but these drivers do little else except providing the means to communicate with the GPUs. The complex work is done in the user-space GPU drivers from Mesa.

The Mesa Lima driver, for older generations of Mali, does not have any contribution from Arm.

In the past, Mesa Panfrost was also completely reverse-engineered. Seeing that now Arm has begun to contribute to the kernel Panfrost DRM, I do not know whether they have started to contribute also to the Mesa Panfrost.

In any case, while some contributions to the previously reverse-engineered drivers are much better than nothing, what would have been much better is to publish the technical documentation of the Mali GPUs, in which case it would not have mattered whether Arm contributes something or not, as anyone could have written the drivers.

I liked it better when electronic components which didn't have very thorough detailed documentation were instantly recognizable as completely unsuitable for a production BOM. :\

>All the mainline kernel support is reverse-engineered. No help from Arm.

That's not true. Arm has been supporting the open source driver effort for the last couple years, but it's still behind the closed source one in terms of performance, features, and HW support.