<div dir="ltr"><div><div><div><div><div><div>Hi Fabio,<br><br></div>I've found the root kernel change responsible for the complete image corruption on i.MX6 Quad Plus.<br>It happened between kernel 4.11.x and kernel 4.12.0-rc1, it is the commit:<br> <a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.12-rc1&id=2f34c1231bfc9f2550f934acb268ac7315fb3837">https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.12-rc1&id=2f34c1231bfc9f2550f934acb268ac7315fb3837</a><br><br> imx-drm:
- Prefetch Resolve Engine/Gasket on i.MX6QP
<br> - Deferred plane disabling
<br> - Separate alpha support<br><br></div>I've removed the files <b>ipu-pre.c</b> and <b>ipu-prg.c</b> from drivers/gpu/ipu-v3/<b>Makefile</b> and all references to it from drivers/gpu/ipu-v3/<b>ipu-common.c</b> and from drivers/gpu/drm/imx/<b>ipuv3-crtc.c</b> and drivers/gpu/drm/imx/<b>ipuv3-plane.c</b>.<br><br></div>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.<br><br></div>There's something that is still missing with the IPU-V3 pre(fetch) and prg code. <br><br></div>Regards,<br></div>Luís<br><div><div><div><div><b></b><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 23, 2017 at 3:41 PM, Luís Mendes <span dir="ltr"><<a href="mailto:luis.p.mendes@gmail.com" target="_blank">luis.p.mendes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Hi Fabio,<br><br></div>Yes, the problem does also happen at least with Vanilla kernels 4.12.5, 4.12.8 and 4.13-rc6.<br></div>I've just compiled and tested with those kernels.<br></div><div><br></div><div>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.</div><div>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.<br></div><div><br></div><div>Please see attached PDF with screenshots detailing the observed image corruptions.<br></div><div>All these reported problems only happen on i.MX6 Quad Plus.</div><div><br></div><div>Regards,</div><div>Luís<br></div></div><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 23, 2017 at 1:20 AM, Fabio Estevam <span dir="ltr"><<a href="mailto:festevam@gmail.com" target="_blank">festevam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Luís,<br>
<span><br>
On Mon, Aug 21, 2017 at 9:05 AM, Luís Mendes <<a href="mailto:luis.p.mendes@gmail.com" target="_blank">luis.p.mendes@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm a software and hardware engineer and I would like to help fix this<br>
> issue. I'm however not acquainted with Open GL nor with Vivante GPUs, thus<br>
> some guidelines would be welcome.<br>
><br>
> Problem details:<br>
> This issue appears when I login into Ubuntu Mate 17.04. I'm using kernel<br>
> 4.11.12 with Etnaviv drivers, libdrm 2.4.82 and mesa 17.2.0 RC4.<br>
<br>
</span>Do you also get the errors if you use kernel 4.12.8 or 4.13-rc6?<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div></div></div></div></div></div></div>