alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - https://gitlab.freedesktop.org/panfrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
_whitelogger has joined #panfrost
<alyssa> Huh?
_whitelogger has joined #panfrost
_whitelogger has joined #panfrost
NeuroScr has quit [Quit: NeuroScr]
<alyssa> Just FWIW -- I'm on break from Panfrost from today to maybe a week from now
<alyssa> Ton of IRL stuff happening :)
<alyssa> I'll still be on IRC and whatever if people need to reach me (and I'll keep up on scrollback -- it's not, like, a break from the project, just a break from coding)
<alyssa> [I can maybe still do code review. But no new patches? I dunno]
<HdkR> alyssa: Sounds good :D
<alyssa> Guess I'll let my viewport transform patches sit on the list
<alyssa> I don't have time to deal with style bikeshedding.
<alyssa> (...If someone else would like to bikeshed, feel free)
NeuroScr has joined #panfrost
<kszaq_> alyssa: since you wrote the code, is my assumption on LP64 ifdefs correct, i.e. only if LP64 is defined the code works with T8xx?
kszaq_ has left #panfrost [#panfrost]
kszaq_ has joined #panfrost
<HdkR> kszaq_: There's a high chance that there are some bad assumptions in some cases. Expectation was T8xx was going to be 64bit and all the testing was done with 64bit apps. There's probably a mismatch between 32bit userspace pointers and the hardware which operates on 64bit pointers
<kszaq_> Thanks. Are there any pointers passed to hardware other than in ioctls?
<HdkR> Depends on what you mean by that I guess. the job submission works through linked lists of objects. So they carry pointers as well
<tomeu> alyssa: ack, hope everything goes great IRL :)
NeuroScr has quit [Quit: NeuroScr]
pH5 has joined #panfrost
yann has quit [Ping timeout: 268 seconds]
BenG83 has quit [Ping timeout: 246 seconds]
raster has joined #panfrost
BenG83 has joined #panfrost
belgin has joined #panfrost
belgin has quit [Quit: Leaving]
yann has joined #panfrost
afaerber has quit [Quit: Leaving]
afaerber has joined #panfrost
afaerber has quit [Quit: Leaving]
afaerber has joined #panfrost
<raster> ha! it boots finally
<raster> frigging dt is broken in mainline
raster has quit [Remote host closed the connection]
<daniels> rastit is? how?
<daniels> *facepalm*
fysa has quit [Remote host closed the connection]
<alyssa> kszaq_: In theory, LP64 is for 64-bit and ->is_t8xx is for T8xx. In practice, we probably/definitely have bad assumptions in places where we mix those up, since I don't have traces of 64-bit T7xx or 32-bit T8xx
<alyssa> It might be possible to force 64-bit and have that work ok
<alyssa> I.e. change all the LP64's to something that is defined and maybe hope for the best
<alyssa> Mayhaps that's a clumsy workaround but hey
<alyssa> tomeu: Thank you!
<kszaq_> alyssa: Thank you. I'll see if I can implement some kind of workaround for my use case.
raster has joined #panfrost
BenG83 has quit [Ping timeout: 255 seconds]
raster has quit [Ping timeout: 255 seconds]
yann has quit [Ping timeout: 246 seconds]
afaerber has quit [Quit: Leaving]
raster has joined #panfrost
raster has quit [Remote host closed the connection]
pH5 has quit [Quit: bye]
robclark has joined #panfrost
shenghaoyang has joined #panfrost
stikonas has joined #panfrost
pH5 has joined #panfrost
shenghaoyang has quit [Remote host closed the connection]
BenG83 has joined #panfrost
<alyssa> kszaq_: Best of luck :)
<MoeIcenowy> alyssa: Allwinner H6 is 64-bit T720
<alyssa> MoeIcenowy: OK?
<MoeIcenowy> alyssa: ?
stikonas_ has joined #panfrost
stikonas has quit [Ping timeout: 255 seconds]
stikonas_ has quit [Quit: Konversation terminated!]
stikonas_ has joined #panfrost
stikonas_ has quit [Client Quit]
stikonas_ has joined #panfrost
stikonas_ has quit [Client Quit]
stikonas_ has joined #panfrost
stikonas_ has quit [Read error: Connection reset by peer]
stikonas_ has joined #panfrost
stikonas_ has quit [Ping timeout: 245 seconds]
kszaq_ is now known as kszaq
<alyssa> MoeIcenowy: I don't have _traces_ from a 64-bit T720 target; I am aware there are boards I could get, but I don't have the resources to expand hw yet :)
stikonas_ has joined #panfrost
<kszaq> Happy times: I replaced LP64 with something defined, then sed -i 's/uintptr_t/uint64_t/g' include/panfrost-job.h pandecode/decode.c and I have Kodi running on T820 in arm userspace. :)
<kszaq> yuv2rgb shader does not work correctly (colors are off) so I need to figure out whether all of the replacement were actually required
<kszaq> and when it's figured I will wrap it into something pretty - I guess a build-time parameter would be OK to override 64/32-bit GPU choice?
<kszaq> Thank you alyssa and HdkR for pointers and explanations, that helped me a lot. :)
<kszaq> I would appreciate if someone can take a look at https://gitlab.freedesktop.org/mesa/mesa/merge_requests/595 as it's required for ioctls to pass data to kernel correctly in mixed arch environment.
stikonas_ has quit [Ping timeout: 255 seconds]
stikonas_ has joined #panfrost
stikonas_ has quit [Read error: Connection reset by peer]
stikonas_ has joined #panfrost
<alyssa> kszaq: Oh, awesome!!
robclark has quit [Ping timeout: 240 seconds]
NeuroScr has joined #panfrost
stikonas has joined #panfrost
stikonas_ has quit [Ping timeout: 255 seconds]
stikonas has quit [Ping timeout: 255 seconds]
stikonas has joined #panfrost
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #panfrost
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #panfrost
pH5 has quit [Ping timeout: 245 seconds]
stikonas has quit [Read error: Connection reset by peer]
stikonas_ has joined #panfrost
stikonas_ has quit [Ping timeout: 245 seconds]
stikonas_ has joined #panfrost
stikonas_ has quit [Ping timeout: 268 seconds]
stikonas_ has joined #panfrost
stikonas_ has quit [Ping timeout: 246 seconds]
stikonas_ has joined #panfrost
stikonas_ has quit [Ping timeout: 255 seconds]