ChanServ changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://oftc.irclog.whitequark.org/panfrost - <macc24> i have been here before it was popular
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #panfrost
<sarbes> Thanks, that's good to know. It would be nice to shave off some few ms when uploading 1920x1080 textures. Such assets are already retrieved/decoded asynchronously, the animation system accounts for that. And it can easily wait a frame or two longer.
<sarbes> We are doing lord knows what in our main (rendering) thread. So a bit of relief is most welcome.
Daanct12 has joined #panfrost
Danct12 has quit [Read error: Connection reset by peer]
karolherbst has quit [Read error: Connection reset by peer]
karolherbst has joined #panfrost
<sarbes> Anyway, I'm out for the night. I would really appreciate some more input, I'll be reading the log. Thanks a bunch!
sarbes has quit [Quit: Leaving]
camus has quit [Ping timeout: 480 seconds]
camus has joined #panfrost
Danct12 has joined #panfrost
icecream95 has joined #panfrost
davidlt has joined #panfrost
Daaanct12 has joined #panfrost
Danct12 has quit [Read error: Connection reset by peer]
Daaanct12 has quit [Remote host closed the connection]
Daaanct12 has joined #panfrost
davidlt has quit [Ping timeout: 480 seconds]
Daanct12 is now known as Danct12
Daaanct12 is now known as Daanct12
pch has joined #panfrost
nlhowell has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #panfrost
erle has quit [Ping timeout: 480 seconds]
nlhowell has joined #panfrost
erle has joined #panfrost
pch has quit [Remote host closed the connection]
MajorBiscuit has joined #panfrost
rasterman has joined #panfrost
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #panfrost
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #panfrost
davidlt has joined #panfrost
Daanct12 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #panfrost
nlhowell has quit [Ping timeout: 480 seconds]
<tomeu> sarbes: btw, this is what panfrost does when preparing to copy a texture: https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/gallium/drivers/panfrost/pan_resource.c#L940
nlhowell has joined #panfrost
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #panfrost
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #panfrost
Jennifer_Garner has joined #panfrost
rkanwal has joined #panfrost
Jennifer_Garner has quit [Remote host closed the connection]
Daaanct12 has joined #panfrost
Daanct12 has quit [Ping timeout: 480 seconds]
Daaanct12 is now known as Daanct12
icecream95 has quit [Ping timeout: 480 seconds]
alarumbe has joined #panfrost
pch has joined #panfrost
jambalaya has quit [Remote host closed the connection]
jambalaya has joined #panfrost
erle has quit [Ping timeout: 480 seconds]
rkanwal has quit [Read error: Connection reset by peer]
rkanwal has joined #panfrost
Daanct12 has quit [Remote host closed the connection]
nlhowell has quit [Ping timeout: 480 seconds]
atler is now known as Guest4169
atler has joined #panfrost
Guest4169 has quit [Ping timeout: 480 seconds]
erle has joined #panfrost
jambalaya has quit [Remote host closed the connection]
jambalaya has joined #panfrost
falk689 has quit [Remote host closed the connection]
falk689 has joined #panfrost
camus has quit [Remote host closed the connection]
camus has joined #panfrost
Net147_ has joined #panfrost
Net147 has quit [Ping timeout: 480 seconds]
davidlt has quit [Remote host closed the connection]
davidlt has joined #panfrost
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #panfrost
sarbes has joined #panfrost
rkanwal has quit [Quit: rkanwal]
rkanwal has joined #panfrost
<sarbes> tomeu: Nothing wild as far as I can see. The AFBC path should be chosen most often, blitting the application supplied texture to a staging texture. When unmapping, the actual AFBC texture is created. I guess 1) won't be much slower than blitting. So far so good.
<sarbes> What I'm struggling with is to see how different glBufferData usage hints get through. One could assume that GL_STREAM_DRAW would use linear textures, GL_DYNAMIC_DRAW would use tiled textures and GL_STATIC_DRAW would use AFBC textures
<tomeu> panfrost doesn't seem to do much atm:
<tomeu> [tomeu@cizrna mesa]$ git grep PIPE_USAGE src/gallium/drivers/panfrost/
<tomeu> src/gallium/drivers/panfrost/pan_resource.c: if (pres->base.usage == PIPE_USAGE_STREAM)
<tomeu> src/gallium/drivers/panfrost/pan_resource.c: return can_tile && (pres->base.usage != PIPE_USAGE_STREAM);
<tomeu> you can check what other gallium drivers do
<sarbes> And that's fine. But for some reason, mutable buffers seem not able to use PIPE_USAGE_STREAM https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/mesa/main/bufferobj.c#L234. PIPE_USAGE_STAGING is used instead.
<sarbes> Of course, there could be a reason behind it. That's why I was asking 3) yesterday. The related PR talks a bit about a shortcut for radeonsi (https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1929?commit_id=7f6b9baee2dde4acecf38e77758d379fc249daf9).
alyssa has joined #panfrost
<alyssa> stepri01: Do we have a real use case for devfreq with multiple supplies?
<alyssa> AFAIK, that necessarily requires vendor-specific coupling code
<alyssa> historically that's been shoved in a kbase vendor folder (downstream of downstream...) but that's not necessarily a pattern for us to emulate
<alyssa> MediaTek needs multiply supplies (and carries a pile of kbase vendor code for devfreq)
<alyssa> A colleague of mine is working on an alternative approach, where soc/mediatek gains a special driver to couple the extra sram supply to the main mali supply, and then panfrost uses the regular 1-supply code without any special considerations
<alyssa> I don't know if that's better or worse, but it gets vendor code out of my subsystem ;-)
MajorBiscuit has quit [Ping timeout: 480 seconds]
guillaume_g has quit []
sarbes has quit [Remote host closed the connection]
dylanusdt[m] has quit [autokilled: Please do not spam on IRC. Email support@oftc.net with questions. (2022-07-04 17:54:24)]
nlhowell has joined #panfrost
rkanwal has quit [Ping timeout: 480 seconds]
nlhowell has quit [Ping timeout: 480 seconds]
davidlt has quit [Ping timeout: 480 seconds]
rkanwal has joined #panfrost
rkanwal has quit [Quit: rkanwal]
MajorBiscuit has joined #panfrost
MajorBiscuit has quit [Ping timeout: 480 seconds]
icecream95 has joined #panfrost
CME has quit []
CME has joined #panfrost
karolherbst has quit [Remote host closed the connection]
karolherbst has joined #panfrost
alyssa has quit [Quit: leaving]
rasterman has quit [Quit: Gettin' stinky!]