Power-up/reset code for Mali-T820 in Amlogic S912

Jian-Hong Pan jian-hong at endlessm.com
Wed Jul 1 04:29:53 EDT 2020


Neil Armstrong <narmstrong at baylibre.com> wrote:
>
> Hi,
>
> You can find the code I adapted to panfrost at [1].
>
> I'm not sure it's the right code at all since we are awaiting for a reply from
> Amlogic to help us fixup the power-up.
>
> Is suspect the internal mali-t820 power management HW to be broken, so the
> internal soft reset doesn't work. But Amlogic did other tricks in their kbase
> I was unable to port on panfrost.
>
> [1] https://gitlab.freedesktop.org/tomeu/linux/-/commit/7ddb208352d4a8387e14e0744dbb48ed8ee48d0c

Thanks for quick response!

I just tried to take the only one commit [1] and applied it upon
kernel 5.8-rc2.  However, the issue [2] still persists.

[1] https://gitlab.freedesktop.org/tomeu/linux/-/commit/7ddb208352d4a8387e14e0744dbb48ed8ee48d0c
[2] https://gitlab.freedesktop.org/mesa/mesa/-/issues/3143

Jain-Hong Pan

> On 01/07/2020 09:28, Jian-Hong Pan wrote:
> > Hi Neil,
> >
> > Thanks for your information on IRC #Panfrost for Mali-T820 [1]
> > mentioned in the ticket [2]
> > If I understand correctly, that means there is still no power-up/reset
> > code for Mali-T820 in mainline kernel yet, right?
> > Is there any patch worked in progress for it?  If there is the patch,
> > we are willing to help to test!
> >
> > [1]: https://freenode.irclog.whitequark.org/panfrost/2020-06-29#27374880
> > [2]: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3143
> >
> > Thanks,
> > Jian-Hong Pan
> >
>



More information about the linux-amlogic mailing list