Problem importing buffer allocated by etnaviv to imx-drm
Martin Fuzzey
mfuzzey at parkeon.com
Mon Nov 20 10:36:48 UTC 2017
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
More information about the etnaviv
mailing list