On Wed, 23 Sep 2015 11:50:28 +0300
"Dmitriy B." <[email protected]> wrote:

> 2015-09-23 7:04 GMT+03:00 Siarhei Siamashka <[email protected]>:
> >
> >
> > 2. Somebody needs to adapt the Mali kernel driver to sunxi
> >    hardware. It is not too difficult and I can do this myself
> >    or provide some assistance. But I don't feel very motivated
> >    at the moment :-)
> > 4. Everyone needs to understand that a patched kernel would
> >    be required (to add the Mali driver and also update the
> >    dts/dtsi files with the description of Mali hardware).

You have skipped 1 and 3, which are also important :-)

> example of patched mali sources for DT support and mainline is here
> 
> https://github.com/tobiasjakobi/linux-odroid/commits/odroid-4.0.y/drivers/gpu/arm/mali
> https://github.com/tobiasjakobi/linux-odroid/blob/odroid-4.0.y/arch/arm/boot/dts/exynos4412-odroid-common.dtsi#L673

Thanks for the links, they provide some valuable hints. And yes,
it is not very difficult to do.

I just wanted to ensure that people know what's going on and
have realistic expectations. The point 4 is mostly targeted at
the mainline purists. Some of them probably might have expected
to take the unmodified kernel from kernel.org and somehow make
the proprietary Mali drivers work with it. Or in other words,
"have their cake and eat it" :-)

I've been told by Rob Clark that the partial Mali support (for
example, just the Mali clock handling for the start) is not
going to be accepted in the mainline kernel. So it will have
to be brewing in its own git repository for a while, until we
have feature complete Mali support in libdrm and Mesa. The
work-in progress Mesa code also needs to be brewing in its
own repository until it is ready.

-- 
Best regards,
Siarhei Siamashka

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to