ChanServ changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard + Bifrost + Valhall - Logs https://oftc.irclog.whitequark.org/panfrost - I don't know anything about WSI. That's my story and I'm sticking to it.
jolan has joined #panfrost
alyssa has joined #panfrost
<alyssa>
yeet
<alyssa>
merry christmas I hope you enjoy your mesa coding style compliant panfrost
<alyssa>
and yeeted
<CounterPillow>
you too!
<alyssa>
italove: rebased your open MRs
<alyssa>
and rebased mine
<alyssa>
and also rebased my old opencl branch but apparently all of the good stuff I already landed and all that's left are some hacks we never figured out
q4a1 has quit []
q4a has joined #panfrost
<q4a>
alyssa: What panfrost task will you do next?
<alyssa>
after "chill the heck out", you mean? :-)
* alyssa
has a todo list somewhere here
<q4a>
yes
<alyssa>
v10 gles3.1 support
<alyssa>
immediate next task is finishing up the pandecode side and getting those patches out
<alyssa>
that's pretty close I just keep getting distracted with shiny things like running Dolphin on my other driver, hehe ^.^
<alyssa>
The challenge with CSF is 100% on the kernel side
<alyssa>
Given that we have conformatn gles3.1 on v9, the Mesa side for v10 is... well, it's not trivial but there's nothing really novel happening
<alyssa>
Way more cache coherency snafu than any Mali I've seen so far, though, so that's really fun (-:
<alyssa>
I am suspicious that the rk3588 board I have might have been from a bad early batch of the SoC ... fresh one is on the way from a different manufacturer, hopefully that works out better
<q4a>
Thanks for your work. I have v10 and I'm ready to help with simple things or test when needed
<alyssa>
thanks :)
<alyssa>
I have a few month months of uni to finish up
<alyssa>
after that, the sky's the limit :-)
<alyssa>
q4a: If you're interested in learning about compilers, there's a lot of "low hanging" tasks in the Valhall compiler you could work on
<alyssa>
instruction selection optimizations and such
<q4a>
Yes. I'm interested
<alyssa>
stuff that probably doesn't actually help fps in real workloads, so I can't justify spending time on anymore, but are lots of funs and good learning experiences
<alyssa>
Okie
<alyssa>
I can write up some issues on gitlab about ideas to work on
<q4a>
it will be great!
<alyssa>
:D
<q4a>
I need specific kernel for that tasks?
<alyssa>
Mmh, that's tricky
<alyssa>
What Mali hardware do you have other than v10?
<q4a>
rk3288
<alyssa>
right. different compiler then.
<alyssa>
Mmh, most of what I have in mind you would be writing unit tests for
<alyssa>
so it actually shouldn't matter what hw you have
<alyssa>
once your unit tests pass, obviously i would run it through deqp on v9
<alyssa>
which reminds me we really need to get v9 in CI
* alyssa
mumbles
<alyssa>
q4a: So, for environment, I recommend setting up drm-shim
<alyssa>
with the commands there you can then run panfrost's compilers for any target GPU you like on a shader you craft, or on a big pile of shaders as you choose
<alyssa>
readme for shader-db helps
<alyssa>
`python3 report.py before.txt after.txt` will generate some nice stats
<alyssa>
or, would. I think you need a patch I forgot to upstream
<q4a>
All this should work on rk3288?
<alyssa>
sure
<alyssa>
or an x86 machine or whatever
<alyssa>
only requirement is that you're running Linux (or maybe BSD)
<alyssa>
`src/panfrost/bifrost/valhall/va_lower_constants.c` is responsible for lowering constants
<alyssa>
read that pass, you'll see there's a todo for using uniforms
<alyssa>
`src/panfrost/bifrost/valhall/test/test-lower-constants.cpp` tests that pass. you'll want to write unit tests for the optimization you're trying to write first, and then you can run them from your mesa/build with `meson test --suite=panfrost`
<alyssa>
also read `bi_opt_push_ubo.c` and the push data structure
<alyssa>
and the sysvals infrastructure
<alyssa>
you'll need to extend them somehow to push constants
<alyssa>
and then upload those constants in the driver
<q4a>
ok. I need some time to read, build and test this stuff