Android / Etnaviv / i.MX6 update

Shawn Guo shawnguo at kernel.org
Wed Aug 1 03:28:34 UTC 2018


On Tue, Jul 31, 2018 at 11:02:13AM +0200, Martin Fuzzey wrote:
> On 27/07/18 16:02, Shawn Guo wrote:
> >Hi Martin,
> >
> >I'm very interested in running i.MX6 Etnaviv with Android.  Can you
> >please share what you have done for getting it up running?  Thanks.
> >
> >Shawn
> 
> Hi Shawn,
> 
> sure, here is my complete stack for reference:

Wow, thanks much for such a great write-up.  It will be very helpful
for me, although my goal is to get it work against all master
branches - AOSP, mesa3d, libdrm, drm_hwcomposer and gbm_gralloc.  Yes,
for gbm_gralloc, Rob has merged handle-rework-v2 into master.  And
kernel is 4.14.

I haven't got it all work, but the first thing I see different from
your side report is that, display is /dev/dri/card0 while gpu is
/dev/dri/card1.

[    2.828929] imx-drm display-subsystem: parent device of /soc/aips-bus at 02000000/ldb/lvds-channel at 1 is not available
[    2.839516] imx-drm display-subsystem: parent device of /soc/aips-bus at 02000000/ldb/lvds-channel at 1 is not available
[    2.850108] imx-drm display-subsystem: parent device of /soc/aips-bus at 02000000/ldb/lvds-channel at 1 is not available
[    2.860681] imx-drm display-subsystem: parent device of /soc/aips-bus at 02000000/ldb/lvds-channel at 1 is not available
[    2.875823] panel-simple panel: panel supply power not found, using dummy regulator
[    2.889177] imx-ipuv3 2400000.ipu: IPUv3H probed
[    2.896891] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.903661] [drm] No driver support for vblank timestamp query.
[    2.910485] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops ipu_crtc_ops)
[    2.918297] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops ipu_crtc_ops)
[    2.926021] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops ipu_crtc_ops)
[    2.933794] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops ipu_crtc_ops)
[    2.942117] dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.30a with HDCP (DWC HDMI 3D TX PHY)
[    2.953519] imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops)
[    3.034254] imx-drm display-subsystem: fb0:  frame buffer device
[    3.042820] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0
[    3.050980] imx-ipuv3 2800000.ipu: IPUv3H probed
...
[    4.344257] imx-pgc-pd imx-pgc-power-domain.1: Linked as a consumer to 20dc000.gpc
[    4.355939] etnaviv gpu-subsystem: bound 134000.gpu (ops gpu_ops)
[    4.362339] etnaviv gpu-subsystem: bound 130000.gpu (ops gpu_ops)
[    4.368696] etnaviv gpu-subsystem: bound 2204000.gpu (ops gpu_ops)
[    4.374910] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[    4.448702] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[    4.513135] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[    4.519437] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[    4.531932] [drm] Initialized etnaviv 1.1.0 20151214 for gpu-subsystem on minor 1

Shawn


More information about the etnaviv mailing list