ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
pcercuei has quit [Quit: dodo]
pjakobsson has quit [Remote host closed the connection]
mvlad has joined #etnaviv
lynxeye has joined #etnaviv
<lynxeye> austriancoder: Did you hit the blitter recursion on GC2000? If so, the first patch from !19991 will probably fix it.
pcercuei has joined #etnaviv
JohnnyonF has joined #etnaviv
JohnnyonFlame has quit [Ping timeout: 480 seconds]
<austriancoder> lynxeye: it fixes the problem I have seen and started to look into - thanks
agx has quit []
<lynxeye> tomeu: Do you know if there is a specific feature bit for the NN cores being present, which is what makes a NPU a NPU instead of a GPGPU. IIRC the downstream driver just has a separate entry in the HWDB for the number of NN cores.
<tomeu> hmm, I think I saw something like that, let me check
<tomeu> else if (gckHARDWARE_IsFeatureAvailable(hardware, gcvFEATURE_NN_ENGINE)
<tomeu> || gckHARDWARE_IsFeatureAvailable(hardware, gcvFEATURE_TP_ENGINE)
<tomeu> )
<tomeu> {
<tomeu> hardware->type = gcvHARDWARE_VIP;
<tomeu> }
<tomeu> in the downstream driver I have, TP_ENGINE is used
<tomeu> which I think corresponds to:
<tomeu> drivers/gpu/drm/etnaviv/common.xml.h:#define chipMinorFeatures10_TP_ENGINE 0x00000800
<tomeu> I might need to add some new mechanism to figure out that a job finished executing, as with this HW the Idle register is almost never idle, and we don't get interrupts when a job finishes
<lynxeye> tomeu: thanks. I see NN_ENGINE is set when NNCoreCount > 0. NNCoreCount is not something we currently have in the etnaviv hwdb.
<lynxeye> tomeu: Huh? The FE should still be able to generate events. I would guess that we just need some way to sync the FE with the NN cores.
<tomeu> well, the downstream kernel also doesn't get interrupts on job finish
<tomeu> they commented out the warning when a job times out...
<tomeu> from what I saw, userspace relies on the kernel adding EVENT # opcodes, which then triggers an interrupt with that #
<lynxeye> wtf? I need to recheck this with the NPU on the 8MP, but iirc my NOP cmdstreams triggered the event/irq from the FE as expected.
<lynxeye> Do you get fault irqs when accessing a non mapped address with the compute engine?
<tomeu> hmm, I think I did
lynxeye has left #etnaviv [#etnaviv]
lynxeye has joined #etnaviv
<lynxeye> austriancoder: I'm a bit startled by https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/etnaviv/ci/etnaviv-gc2000-flakes.txt#L57 If readpix-sanity is really flaky then a lot of the other piglit tests would also be affected, as so many of the tests use readpix to check the result. I have never seen this test fail in any of my piglit runs.
<lynxeye> Do you know why it has been marked as flaky?
<austriancoder> lynxeye: I did about 20 run and it tend to be flaky. If your recent MRs landed I will update that list and the world might look better.
<lynxeye> I'm not sure if any of my recent changes do make a difference there. If this test is really flaky then this is a serious issue and we should investigate it. To be fair I'm only as surprised as I usually don't run piglit through the CI test, but doing piglit runs on my local systems and have never seen the test fail here.
<austriancoder> lynxeye: I got your point .. but as this process takes some time from my side I want to have at least 19958 landed
* austriancoder updated his ci-gc2000-love and does a manual triggered run .. lets see
Leopold has joined #etnaviv
<austriancoder> lynxeye: so for the moment I would ignore it and trust your local runs
Leopold has quit []
JohnnyonF has quit [Read error: Connection reset by peer]
lynxeye has quit [Quit: Leaving.]
JohnnyonFlame has joined #etnaviv
mvlad has quit [Remote host closed the connection]