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
stikonas has quit [Remote host closed the connection]
NeuroScr has quit [Quit: NeuroScr]
wens has left #panfrost [#panfrost]
davidlt has joined #panfrost
megi has quit [Ping timeout: 240 seconds]
davidlt has quit [Ping timeout: 268 seconds]
davidlt has joined #panfrost
vstehle has quit [Read error: Connection reset by peer]
vstehle has joined #panfrost
NeuroScr has joined #panfrost
yann|work has quit [Ping timeout: 265 seconds]
Elpaulo1 has joined #panfrost
Elpaulo has quit [Ping timeout: 246 seconds]
Elpaulo1 is now known as Elpaulo
_whitelogger has joined #panfrost
pH5 has joined #panfrost
davidlt has quit [Ping timeout: 245 seconds]
davidlt has joined #panfrost
warpme_ has joined #panfrost
yann|work has joined #panfrost
milloni has left #panfrost ["http://quassel-irc.org - Chat comfortably. Anywhere."]
<warpme_> hi *
<warpme_> fyi: i give try for current master on t820 (s912) and there is progress+regression. progress: no playback screen flickering on mythtv. regression: picture looks like without luma. just fyi.
<warpme_> btw: should I test also on t720 (h6)?
davidlt has quit [Ping timeout: 240 seconds]
davidlt has joined #panfrost
adjtm has quit [Ping timeout: 276 seconds]
warpme_ has left #panfrost [#panfrost]
davidlt has quit [Ping timeout: 240 seconds]
davidlt has joined #panfrost
megi has joined #panfrost
<alyssa> narmstrong: I only know how to do 16x16 sparse, IIRC
<narmstrong> alyssa: better than nothing !
<alyssa> anarsoul: Congrats! What was the final method?
<alyssa> narmstrong: Heh, yeah! For RGB(A), it's what you want. For YUV there are probably more details I don't know.
<alyssa> At least it should be fine for rockchip
<narmstrong> alyssa: yep, amlogic uses SPLIT by default, what's the difference ?
<narmstrong> but HW should support !SPLIT
<alyssa> I dunno, but I don't know how to do SPLIT on midgard
<alyssa> Like... inevitably there is a magic bit for it.
<alyssa> I just don't know which bit that is :)
<narmstrong> :-p
<narmstrong> must be the one right next to SPARSE !
<alyssa> _These are not the bits you are looking for_
* alyssa waves
jolan has quit [Ping timeout: 245 seconds]
jolan has joined #panfrost
davidlt has quit [Ping timeout: 268 seconds]
zumbi has joined #panfrost
adjtm has joined #panfrost
davidlt has joined #panfrost
<anarsoul> alyssa: I noticed that we're setting one bit in texture descriptor for reload (texture descriptor dumped from blob) and we're not setting it for regular textures
<anarsoul> and at the same time varyings for reload have unnormalized coordinates
<enunes> I wonder if any of these fixes finally fixes ideas
<enunes> no access to board/display today
<enunes> oh, wrong channel :)
adjtm has quit [Ping timeout: 268 seconds]
adjtm has joined #panfrost
megi has quit [Ping timeout: 268 seconds]
ata2001 has joined #panfrost
pH5 has quit [Quit: bye]
pH5 has joined #panfrost
adjtm has quit [Ping timeout: 245 seconds]
megi has joined #panfrost
yann|work has quit [Ping timeout: 265 seconds]
pH5 has quit [Ping timeout: 240 seconds]
davidlt_ has joined #panfrost
davidlt has quit [Ping timeout: 240 seconds]
pH5 has joined #panfrost
raster has joined #panfrost
raster has quit [Remote host closed the connection]
stikonas has joined #panfrost
<alyssa> anarsoul: Aaaaa
<alyssa> That
<alyssa> 'll do it
<alyssa> ALso, same here on Midgard
<anarsoul> they also use rect textures for reload?
<anarsoul> oh, while you're here
<alyssa> Yeah
<anarsoul> I have a question about mipmap levels
<alyssa> Sure
<anarsoul> do you have stride setting somewhere in texture descriptor for all the mipmap levels?
<anarsoul> on Mali4x0 we have it only for level 0
<anarsoul> (and descriptor is pretty small, so I'm sure that there's no setting for other levels in it!)
<alyssa> anarsoul: Yes, on Midgard you have the texture descriptor header with all the config
<alyssa> And then a variable length payload
<anarsoul> basically for linear textures it means that stride = width * bpp
<alyssa> So if you enable manual stride setting, you pass the stride for each level
<alyssa> i.e.
<alyssa> [level 0] [stride 0] [level 1] [stride 1] ... in that order
<anarsoul> lucky you
<alyssa> Cubemaps form another layer around that too, multidimensional array
<anarsoul> we can't render in any levels but 0 for linear textures :(
<alyssa> What's rendering got to do with this?
<alyssa> I thought this was for sampling
<anarsoul> render target dimensions have to be aligned to 16 pixels
<alyssa> Well, yeah, that's unrelated to what I'm talking about
<anarsoul> alyssa: it's kind of is related
<anarsoul> let's say you use a texture with mipmaps for FBO and you try to render to level 1
<anarsoul> we can't do that without using shadow buffer
<anarsoul> I mean on Mali4x0
<alyssa> Because the dims aren't 16x16 aligned?
<anarsoul> yeah
<alyssa> If you want to render to level 1, can't you pretend that it's level 0 to the hardware, and set the width to align(floor(w/2), 16), align(floor(h/2), 16)
<alyssa> And then stride to floor(w/2) * bpp
<anarsoul> alyssa: I won't be able to sample this texture later
<alyssa> Why not?
<alyssa> Because of the stride of the sampling?
<anarsoul> yes
<alyssa> I see.
<alyssa> What's the use case for unaligned linear mipmaps?
<anarsoul> no idea, but we have to support it
<anarsoul> btw tiled textures don't have this limitation, mipmap levels are always aligned to tile boundaries
<alyssa> Why do you have to support it?
<alyssa> "tiled"/"linear" isn't something in the GL spec
<anarsoul> linear textures?
<alyssa> Yes?
<anarsoul> e.g. for samplerExternalOES
<anarsoul> darn, I may miss XDC Welcome Party :(
<alyssa> samplerExternalOES is an extension, you don't have to support it...?
<anarsoul> yeah, but why not?
<anarsoul> technically it's free unless app uses mipmaps
NeuroScr has quit [Quit: NeuroScr]
davidlt_ is now known as davidlt
NeuroScr has joined #panfrost
<alyssa> PSA: scheduling hard.
* alyssa is somewhere along the new feature - debug/fixup continuum
<alyssa> Currently working on vN of "use all the ALU units"
<alyssa> Too early to do extensive shader-db testing
pH5 has quit [Quit: -_-]
davidlt has quit [Ping timeout: 240 seconds]
stikonas has quit [Ping timeout: 276 seconds]