alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - https://gitlab.freedesktop.org/panfrost - Logs https://freenode.irclog.whitequark.org/panfrost - Discord Discard
anarsoul|2 has quit [Ping timeout: 268 seconds]
<tomeu> Lyude, [alyssa]: what do you think of having a fork of the ARM driver with the changes needed for the upstream mali bindings?
BenG83 has quit [Ping timeout: 250 seconds]
<narmstrong> tomeu: it’s basically what [alyssa] did but with an older version of the driver
<HdkR> Speaking of which. So I'm not constantly spouting nonsense out my bum. There is currently some work being done on kernel level things right?
<HdkR> replacement to arm_kbase?
<HdkR> Lyude: Btw, I don't think I've mentioned. I've stopped working on one of my side projects. So I'm going to have some free time soon
<HdkR> finally, gosh that project took far longer than I thought
<tomeu> narmstrong: but there isn't right now a single repo for people to work on the arm driver, right?
<HdkR> Lyude: [alyssa]: I'm getting access to a Linux + Bifrost board in a couple of weeks. More should follow afterwards
<Lyude> HdkR: I'm currently working on getting panfrost working with the latest mali_kbase first
<Lyude> and then try to decide where to go from there
<Lyude> I've also been fixing issues I keep running into on my board :s
<HdkR> ah
<Lyude> tomeu: I'm thinking of at least getting a collection of the platform glue between boards
<HdkR> I'm in the process of ramping in Panfrost again :P
<HdkR> But since I don't have LLVM getting in my way this time I can stay on it longer
<Lyude> Like
<tomeu> Lyude: right now the devicetree platform is just working for me, what other glue is needed?
<Lyude> Huh, maybe there isn't much else? I started by using the repo from chewitt (I think they work at khadas or friends? They sent me the vim2 I've been using)
<Lyude> But then I just grabbed the Mali kbase sources off arm's site, got the newest version and applied the patches to that
<HdkR> (btw I ordered two more XU4 boards for testing purposes)
<Lyude> oh cool
<Lyude> I've got my hands on an xu3 now as well
<HdkR> Nice
<Lyude> tomeu: but yeah: I haven't tried getting the driver working without the patchesnhere
<Lyude> (sorry-typing on phones is hard)
<tomeu> Lyude: ok, yesterday I sent your a MR with what I needed to change so it works on my nanopc-t4 with 4.20-rc4
<tomeu> I would expect it to work on your vim2 as well if the DT is right
<Lyude> Oh! I didn't notice-i wonder why gitlab didn't notify me
<HdkR> I'm really looking forward to this Bifrost board now :D
<Lyude> @hdkr-am I still getting access to one of these?
<Lyude> oh no I am trying to use this like telegram
<HdkR> Lyude: Maybe. Looks like they are hitting some supply problems so they are short on boards at the moment
<Lyude> Ah
<Lyude> Suppliers are hard, I understand
<HdkR> So even if I can get more early it may only be by a couple of weeks
<HdkR> I've expressed interest in handing out boards to more than myself though. Definitely receptive to the problem, just can't afford sending out more than one
<HdkR> I can give remote access though
<tomeu> Lyude: haven't looked at how gpu reset works, but unloading and reloading the module seems to work fine
<Lyude> tomeu: yeah it works fine here too, the problems don't start until I actually try running something
<tomeu> oh, that's very advanced :p
<tomeu> will give it a try later today
<Lyude> Yeah! I've got a branch that's kind of working on the new uapo
<Lyude> *uapi
<tomeu> Lyude: remotes/lyude/wip/mali-uapi-update ?
<Lyude> Yep
<tomeu> cool
<HdkR> Lyude: They did let me know that we should be able to send them out before the end of next month
<HdkR> So not too long of a wait in worst case
<tomeu> I think I won't even try installing X though and will go straight to testing with weston, so with the gbm egl platform
<tomeu> so I don't think I will get very far any time soon
<Lyude> that won't work
<tomeu> yeah, I know
<tomeu> guess first thing is to decide where to get a render node from: VGEM or custom DRM shim
<Lyude> I'm kinda hoping to see if I can help a bit with the winsys in the process of the uapi stuff since it would be nice to at least have that before we try upstreaming
<tomeu> same here
<Lyude> We also definitely need to actually implement resource destruction
<Lyude> since my board keeps oom ing as well
<Lyude> we'll get there eventually!
<tomeu> a simple matter of time!
<HdkR> Takes a bit of time to OOM efficiently :P
pH5 has joined #panfrost
BenG83 has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
cwabbott_ has joined #panfrost
cwabbott has quit [Ping timeout: 272 seconds]
cwabbott_ is now known as cwabbott
chewitt has joined #panfrost
<tomeu> Lyude: got past KBASE_IOCTL_VERSION_CHECK, but the mmap of the device file is failing
<tomeu> [ 1876.504434] WARNING: CPU: 3 PID: 2662 at /home/tomeu/nfsroot-panfrost/home/tomeu/mali_kbase/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_linux.c:1845 kbase_mmap+0x6c8/0x15b8 [mali_kbase]
<tomeu> what's the point of that mmap?
afaerber has quit [Quit: Leaving]
afaerber has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
forkbomb has quit [*.net *.split]
<tomeu> ah no, the mmap for BASE_MEM_MAP_TRACKING_HANDLE worked fine, it's a second mmap which is failing with VM_FAULT_NOPAGE
<Lyude> I think the mmap worked on mine? How did you determine that
<tomeu> I get this in dmesg:
<tomeu> [ 3052.387883] mali ff9a0000.gpu: mmap failed 256
<tomeu> with 256 being VM_FAULT_NOPAGE
<tomeu> this is with !USE_SLOWFB, btw
afaerber has quit [Quit: Leaving]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
afaerber has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
pH5 has quit [Quit: bye]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
pH5 has joined #panfrost
<Lyude> tomeu: huh-what demo was that with?
<Lyude> also: gonna look at that MR you put in on my mali_kbase repo real quick
<Lyude> tomeu: actually, hm, I'm going to need to test some of this on my vim2 back at home tonight
anarsoul|2 has joined #panfrost
sphalerit has quit [Write error: Connection reset by peer]
thefloweringash has quit [Remote host closed the connection]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
sphalerit has joined #panfrost
thefloweringash has joined #panfrost
forkbomb has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
thefloweringash has quit [Read error: Connection reset by peer]
sphalerit has quit [Read error: Connection reset by peer]
sphalerit has joined #panfrost
thefloweringash has joined #panfrost
urjaman has quit [Ping timeout: 268 seconds]
urjaman has joined #panfrost
NeuroScr has quit [Read error: Connection reset by peer]
NeuroScr has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
afaerber has quit [Quit: Leaving]
TheCycoONE has quit [Quit: ZNC 1.7.1 - https://znc.in]
TheCycoONE has joined #panfrost
pH5 has quit [Ping timeout: 268 seconds]
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #panfrost