3D Command Sequence Examples
Rolf Wöhrmann
rolf.woehrmann at t-online.de
Tue May 23 17:04:06 UTC 2017
Hi
I’m currently using the cmd data from empty_screen_cmd.h Goal is to get something simple working and then
move from there. So, I shall be fine with it unless you would say the cmd seq there is outdated or even wrong.
Guess that’s one of the most simple 3D cmd sequences you could use. The GPU is running through these sequences
going through all stalls and idle flags are fine afterwards. But color/depth/framebuffer etc. memory is not written although
I see the counters VIVS_HI_PROFILE_READ_BYTES8 & VIVS_HI_PROFILE_WRITE_BYTES8 increasing with 160k
writes per frame.
I’m using only coherent physical memory not using the MMU at all. That was working fine with the GC320 including
reading textures.
But do I need to set-up for 3D kind of dummy page tables?
It’s a GC2000 with v1 MMU. All base addr & page table are zero.
Again, 2D GPU runs fine, so basic cmd streaming & frame buffer set-up etc couldn’t be too wrong.
Anyway, will continue tomorrow looking more into the debug field & profiling data if I could see something.
Any ideas where to look into are welcome.
Thanks
Rolf
> On 23. May 2017, at 15:34, Wladimir J. van der Laan <laanwj at gmail.com> wrote:
>
> On Mon, May 22, 2017 at 10:01:12PM +0200, Rolf Wöhrmann wrote:
>> Hi
>>
>> after I got the 2D GPU nicely running in my iMX6Q bare-matel environment, I’m
>> looking into the 3D GPU and corresponding command sequence examples. I found
>> some in etna_viv/attic/replay like the cube_etna2.c which I’m working on.
>
> I have a few intercepted command streams (for GC2000 and GC3000, I don't think
> I still have older files around) in FDR format, these can be dumped with
> tools/dump_cmdstream.py
>
> Is that what you're interested in?
>
> Regards,
> Wladimir
> _______________________________________________
> etnaviv mailing list
> etnaviv at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/etnaviv
More information about the etnaviv
mailing list