etnaviv-gpu 134000.gpu: MMU fault status 0x00000002 on i.XM6 Quad Plus
Luís Mendes
luis.p.mendes at gmail.com
Fri Aug 25 19:24:06 UTC 2017
Hi Fabio,
I've found the root kernel change responsible for the complete image
corruption on i.MX6 Quad Plus.
It happened between kernel 4.11.x and kernel 4.12.0-rc1, it is the commit:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.12-rc1&id=2f34c1231bfc9f2550f934acb268ac7315fb3837
imx-drm: - Prefetch Resolve Engine/Gasket on i.MX6QP
- Deferred plane disabling
- Separate alpha support
I've removed the files *ipu-pre.c* and *ipu-prg.c* from drivers/gpu/ipu-v3/
*Makefile* and all references to it from drivers/gpu/ipu-v3/*ipu-common.c*
and from drivers/gpu/drm/imx/*ipuv3-crtc.c* and drivers/gpu/drm/imx/
*ipuv3-plane.c*.
The recompiled kernel and modules after such code removal restores the
correct penguin logos images per each cpu core during Linux boot as well as
the X login screen after booting into Ubuntu MATE 17.04.
There's something that is still missing with the IPU-V3 pre(fetch) and prg
code.
Regards,
Luís
On Wed, Aug 23, 2017 at 3:41 PM, Luís Mendes <luis.p.mendes at gmail.com>
wrote:
> Hi Fabio,
>
> Yes, the problem does also happen at least with Vanilla kernels 4.12.5,
> 4.12.8 and 4.13-rc6.
> I've just compiled and tested with those kernels.
>
> These kernels also show an additional issue which results in complete
> image corruption right from kernel boot and before loading etnaviv kernel
> module, as well as after loading X and etnaviv module.
> Despite the complete image corruption, I was able to login into X by
> entering the user password. During the log in and X session start the
> system log also shows similar MMU errors.
>
> Please see attached PDF with screenshots detailing the observed image
> corruptions.
> All these reported problems only happen on i.MX6 Quad Plus.
>
> Regards,
> Luís
>
> On Wed, Aug 23, 2017 at 1:20 AM, Fabio Estevam <festevam at gmail.com> wrote:
>
>> Hi Luís,
>>
>> On Mon, Aug 21, 2017 at 9:05 AM, Luís Mendes <luis.p.mendes at gmail.com>
>> wrote:
>> > Hi,
>> >
>> > I'm a software and hardware engineer and I would like to help fix this
>> > issue. I'm however not acquainted with Open GL nor with Vivante GPUs,
>> thus
>> > some guidelines would be welcome.
>> >
>> > Problem details:
>> > This issue appears when I login into Ubuntu Mate 17.04. I'm using kernel
>> > 4.11.12 with Etnaviv drivers, libdrm 2.4.82 and mesa 17.2.0 RC4.
>>
>> Do you also get the errors if you use kernel 4.12.8 or 4.13-rc6?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/etnaviv/attachments/20170825/1c5534f3/attachment.html>
More information about the etnaviv
mailing list