etnaviv: command buffer outside valid memory window

Johannes Pointner h4nn35.work at gmail.com
Wed Apr 8 08:40:53 UTC 2020


Hello,

I'm trying to get etnaviv on an i.MX6Q (2 GB DDR RAM) device running
with kernel 5.6.2 but it is failing to setup the GPU with the
following error:

[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 256 MiB at 0x7f400000
[    0.000000] On node 0 totalpages: 524288
[    0.000000]   Normal zone: 4608 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 524288 pages, LIFO batch:63
...
[    0.000000] Memory: 1803240K/2097152K available (6144K kernel code,
247K rwdata, 2284K rodata, 1024K init, 375K bss, 31768K reserved,
262144K cma-reserved, 0K highmem)
...
[    0.529924] etnaviv etnaviv: bound 130000.gpu (ops gpu_ops)
[    0.530153] etnaviv etnaviv: bound 134000.gpu (ops gpu_ops)
[    0.530408] etnaviv etnaviv: bound 2204000.gpu (ops gpu_ops)
[    0.530427] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[    0.530748] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[    0.530833] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[    0.530853] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
...
[    5.374046] etnaviv etnaviv: command buffer outside valid memory window
[    5.389451] etnaviv etnaviv: command buffer outside valid memory window
[    5.406062] etnaviv etnaviv: command buffer outside valid memory window
[    5.421381] etnaviv etnaviv: command buffer outside valid memory window

I have a similar setup with a i.MX6DL (1GB DDR RAM) and this works w/o an error.

I found this patch  https://lkml.org/lkml/2019/6/19/809 which
describes a similar issue.

Is there something I'm missing or I have misconfigured?

Any hint would be highly appreciated.

Thx,
Hannes


More information about the dri-devel mailing list