Problem importing buffer allocated by etnaviv to imx-drm
Chris Healy
cphealy at gmail.com
Mon Nov 20 15:31:00 UTC 2017
Hi Martin,
Have you looked at the work Robert Foss at Collabora did for Android
on the i.MX6q and i.MX6qp?
https://www.collabora.com/news-and-blog/blog/2017/07/24/android-nxp-i.mx6-on-etnaviv-update/
Some of the work needed to support Android with etnaviv on the i.MX6
has landed upstream but I don't believe it all has.
Robert, do you know what for sure has not landed upstream that would
be needed for someone to run AOSP with etnaviv on the i.MX6?
Regards,
Chris
On Mon, Nov 20, 2017 at 2:36 AM, Martin Fuzzey <mfuzzey at parkeon.com> wrote:
> Hi,
>
> I'm trying to run etnaviv on i.MX6 / Android.
>
> Using kernel 4.14 and mesa 17.3-rc2 with the latest drm_hwcomposer and
> gbm_gralloc
>
> The problem I have is that when HWC tries to import the first client buffers
> (from bootanimation) there are errors like:
>
> 01-01 17:27:02.282 443 443 E hwc-platform-drm-generic: failed to import
> prime fd 25 ret=-1
>
> This is because the imx-drm kernel driver wants physically contiguous
> buffers for import (it uses drm_gem_cma_prime_import_sg_table()) but the
> buffer allocated by drm etnaviv isn't contiguous...
>
> Any ideas on this?
>
>
> Regards,
>
> Martin
>
> _______________________________________________
> etnaviv mailing list
> etnaviv at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/etnaviv
More information about the etnaviv
mailing list