alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
warpme_ has quit [Quit: Connection closed for inactivity]
stikonas has quit [Ping timeout: 252 seconds]
NeuroScr has quit [Quit: NeuroScr]
NeuroScr has joined #panfrost
megi has quit [Ping timeout: 250 seconds]
marcodiego has joined #panfrost
NeuroScr has quit [Ping timeout: 268 seconds]
kaspter has quit [Ping timeout: 250 seconds]
kaspter has joined #panfrost
nerdboy has quit [Ping timeout: 265 seconds]
Lyude has quit [Read error: Connection reset by peer]
Lyude has joined #panfrost
davidlt has joined #panfrost
marcodiego has quit [Quit: Leaving]
NeuroScr has joined #panfrost
nerdboy has joined #panfrost
cowsay has joined #panfrost
cowsay_ has quit [Ping timeout: 245 seconds]
guillaume_g has joined #panfrost
yann|work has quit [Ping timeout: 276 seconds]
warpme_ has joined #panfrost
camus has joined #panfrost
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
stikonas has joined #panfrost
EmilKarlson has quit [Read error: Connection reset by peer]
TheCycoONE2 has quit [Write error: Connection reset by peer]
flacks has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
eballetbo[m] has quit [Remote host closed the connection]
<tomeu> alyssa: looks awesome!
yann|work has joined #panfrost
ckeepax has quit [Quit: WeeChat 2.2]
megi has joined #panfrost
ckeepax has joined #panfrost
chewitt has quit [Quit: Zzz..]
flacks has joined #panfrost
eballetbo[m] has joined #panfrost
thefloweringash has joined #panfrost
EmilKarlson has joined #panfrost
TheCycoONE1 has joined #panfrost
raster has joined #panfrost
maccraft123 has joined #panfrost
maccraft has joined #panfrost
maccraft123 has quit [Ping timeout: 268 seconds]
chewitt has joined #panfrost
chewitt has quit [Quit: Zzz..]
chewitt has joined #panfrost
chewitt has quit [Quit: Zzz..]
chewitt has joined #panfrost
<alyssa> tomeu: ...and let's give it a swing.
<tomeu> alyssa: a few surprising faults in this job: https://lava.collabora.co.uk/scheduler/job/2071800
<alyssa> tomeu: Surprising how?
<alyssa> Very often tests that fail are tests that fault
<alyssa> e.g. the FBO tests
chewitt has quit [Quit: Zzz..]
chewitt has joined #panfrost
<tomeu> alyssa: when I enabled kernel messages the other day, no faults were visible
<tomeu> and I think an earlier run today showed just one gpu timeout
<alyssa> tomeu: We're running new tests because of the skip list, no..?
<tomeu> but I should have been running with the same skip list already
<alyssa> :|
<bbrezillon> robher: I think we have a problem with the gem_close() logic
<bbrezillon> userspace might close GEMs that are still referenced by the GPU
<bbrezillon> (because the job has been queued but not yet executed or is being executed)
<bbrezillon> in the panfrost_gem_close() function, we tear down the MMU mapping and release the mm_node
<bbrezillon> which leads to pagefaults
<bbrezillon> 2nd problem we have is with the GEM shrinker
<alyssa> tomeu: the good news is I have some code for you to debug ;)
<alyssa> lava-ci-small-tiling
<alyssa> It's rather crude but it should implement all the cases I know of.
<alyssa> No heuristic but should bring to parity with T860 tiler code.
<bbrezillon> AFAICT, drm_gem_shmem_is_purgeable() does not take the fact that the BO might still be used by the GPU, even though userspace marked it as purgeable
<tomeu> alyssa: nice! will integrate
<tomeu> alyssa: if we run tests that cause faults, then we should rerun failed tests individually at the end, otherwise random tests will randomly fail at random
<tomeu> because in the skips file we don't only have flip-flops, but more importantly tests that cause otherwise stable tests to flip-flop
<tomeu> with the number of failures that we have atm, rerunning tests should cost us only a couple of seconds
<tomeu> when we start running on gles3 it will be a different matter, but maybe we'll want to start with a massice skips file there
<alyssa> Meep.
<alyssa> tomeu: lmk if that branch, like, breaks everything
<alyssa> it is 100% untested as far as t720 goes ;p
<tomeu> alyssa: regarding "...We really need a quirks framework...", I thought we would be going with something ala MIDGARD_ADVANCED_TILING_UNIT for 720, 820 and 830
<alyssa> but I trust you'll figure out how to debug it :)
<tomeu> alyssa: want me to take the skips and tiling branches into my next MR?
<tomeu> as it's all interdependent
NeuroScr has quit [Ping timeout: 276 seconds]
fysa has joined #panfrost
fysa has quit [Remote host closed the connection]
<robmur01> bbrezillon: yeah, raster and I have been noticing that too - one thought was that the job might need to hold a reference on the AS, to prevent that being pulled out from underneath still-referenced BOs
<bbrezillon> robmur01: AFAICT you'd need more than that
<alyssa> tomeu: Sure
<alyssa> tomeu: Besides those, is there any upstreaming left?
<alyssa> (and CI?)
<tomeu> alyssa: I think that's all
<tomeu> alyssa: want me to add a MIDGARD_ADVANCED_TILING_UNIT quirk?
<tomeu> alyssa: looks like I should start debugging the tiling patch :)
<alyssa> tomeu: :)
<alyssa> If you want to add a screen->quirks field more broadly that covers both tiling and SFBD and eventually errata that could be done
<alyssa> Or if we want features/issue testing separately like the kernel
* alyssa shrugs
<tomeu> alyssa: I thought our quirks thing would cover all of that
<alyssa> tomeu: Sounds good
<tomeu> ack!
<alyssa> quack!
guillaume_g has quit [Quit: Konversation terminated!]
guillaume_g has joined #panfrost
chewitt has quit [Quit: Zzz..]
<tomeu> alyssa: is it expected that the polygon list size for 0x41 is just 0x200? the blob uses 0xff200
NeuroScr has joined #panfrost
<tomeu> hmm, maybe it was:
<tomeu> - unsigned raw = pan_tile_count(width, height, tw * 2, th * 2);
<tomeu> + unsigned raw = pan_tile_count(width, height, tw * 2, th * 2) * k;
<tomeu> this particular test works now, though we're using a size of 0x8200 instead of 0xff200
<tomeu> oops, not yet
<tomeu> we start getting this after a good while:
<tomeu> [ 148.068695] panfrost 1800000.gpu: js fault, js=1, status=OUT_OF_MEMORY, head=0x4860f80, tail=0x4860f80
<tomeu> maybe a too small polygon list? will continue tomorrow
maccraft123 has joined #panfrost
maccraft has quit [Ping timeout: 268 seconds]
maccraft123 has quit [Ping timeout: 250 seconds]
maccraft123 has joined #panfrost
guillaume_g has quit [Quit: Konversation terminated!]
maccraft123 has quit [Quit: WeeChat 2.6]
maccraft123 has joined #panfrost
fysa has joined #panfrost
ph5 has joined #panfrost
chewitt has joined #panfrost
raster has quit [Ping timeout: 250 seconds]
raster has joined #panfrost
maccraft123 has quit [Ping timeout: 250 seconds]
maccraft123 has joined #panfrost
fysa has quit [Remote host closed the connection]
BenG83 has joined #panfrost
anarsoul has quit [Ping timeout: 246 seconds]
BenG83 has quit [Remote host closed the connection]
kherbst is now known as karolherbst
BenG83 has joined #panfrost
anarsoul has joined #panfrost
phh has quit [*.net *.split]
davidlt has quit [Ping timeout: 246 seconds]
phh has joined #panfrost
ph5 has quit [Ping timeout: 265 seconds]
ph5 has joined #panfrost
BenG83 has quit [Remote host closed the connection]
<alyssa> tomeu: Let's see
<alyssa> tomeu: Ah yes, that was supposed to have a *k, typo! :(
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
raster has quit [Remote host closed the connection]
raster has joined #panfrost
raster has quit [Remote host closed the connection]
maccraft123 has quit [Quit: WeeChat 2.6]
<alyssa> tomeu: Definitely could be too small, yes
<alyssa> At 1920x1080, with 0x41, we expect 0xff200
<alyssa> (0x200 * ceil(1920 / (16 * 2)) * ceil(1080 / (16 * 2))) + 0x200 = 0xff200
<alyssa> If we're not calculating that it's a bug in pan_tiler.c
<alyssa> let's take a peak
<alyssa> With the *k fix we're generating 0xff200?
<alyssa> I feel much less confident about the body_offset formulas, though.
<alyssa> More data could be useful there.
maccraft123 has joined #panfrost
maccraft has joined #panfrost
maccraft123 has quit [Ping timeout: 268 seconds]
ph5 has quit [Quit: -_-]
cowsay has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
megi has quit [Ping timeout: 252 seconds]
megi has joined #panfrost
avaf has joined #panfrost