etnaviv-gpu 134000.gpu: MMU fault status 0x00000002 on i.XM6 Quad Plus
Fabio Estevam
festevam at gmail.com
Fri Aug 25 20:12:03 UTC 2017
Hi Luís,
On Fri, Aug 25, 2017 at 4:24 PM, Luís Mendes <luis.p.mendes at gmail.com> wrote:
> 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.
When you run 4.12 do you also rebuild the dtb? The pre and prg nodes
have been added in 4.12, so please make sure you are also rebuilding
the dtb.
More information about the etnaviv
mailing list