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: 272 seconds]
paulk-leonov has quit [Ping timeout: 264 seconds]
paulk-leonov has joined #panfrost
_whitelogger has joined #panfrost
hanetzer has quit [Ping timeout: 272 seconds]
hanetzer has joined #panfrost
anarsoul has quit [Remote host closed the connection]
anarsoul has joined #panfrost
jernej has quit [Ping timeout: 252 seconds]
<HdkR> Oh. ODROID-XU4 is on sale today for $50
<HdkR> If we want to have some Midgard 1st gen boards around
<tomeu> regarding boards, have sent this morning a DT for the nanopc-t4
<tomeu> has a rk3399, and everything needed for panfrost development seems to be working fine
cwabbott_ has joined #panfrost
cwabbott has quit [Ping timeout: 252 seconds]
cwabbott_ is now known as cwabbott
<HdkR> :D
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
pH5 has joined #panfrost
BenG83 has quit [Ping timeout: 268 seconds]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
afaerber has joined #panfrost
jernej has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
BenG83 has joined #panfrost
<NeuroScr> while I already have an XU4, I’ll tell the boys
<NeuroScr> Lyude: I don’t think I have a mali_base and I use master of the panfrost repo (placed in ~/panfrost)
NeuroScr has left #panfrost [#panfrost]
NeuroScr has joined #panfrost
<NeuroScr> argh and lost scrollback
<NeuroScr> closed the wrong window
<narmstrong> Lyude: I can;t find the code, where is it ?
BenG83 has quit [Ping timeout: 268 seconds]
cyrozap has quit [Ping timeout: 252 seconds]
cyrozap has joined #panfrost
pH5 has quit [Quit: bye]
<Lyude> narmstrong: mali_kbase
<Lyude> narmstrong: it should be in chewitt's repository
<Lyude> NeuroScr: yeah-you need the mali_kbase module setup to run panfrost
<NeuroScr> yea I don’t have any modules yet
<NeuroScr> is chewitts repo on the freedesktop gitlab?
<Lyude> NeuroScr: yes;but I don't know that it'd be very useful for you
<Lyude> so:
<Lyude> mali_kbase requires some platform specific glue code, and it needs all of the relevant mali gpu device entries in your devicetree
<Lyude> both of those are usually things the vendor for your hw has to give out
<Lyude> worst case scenario-if they have android builds you could scrap the DTS stuff from that and hack it together to work on an up to date mali kernel
<Lyude> but ideally it'll be something like chewitt's repository (which is this, jfyi: https://github.com/chewitt/meson_gx_mali_t820 )
<Lyude> I think if you have an XU4 though that should work
<Lyude> iirc that's what we ran on the demo
<NeuroScr> my XU4 is in the closet, I’m working on an opi1+
<NeuroScr> they do have an android distro
<NeuroScr> It’s a mali T720
<Lyude> mhm-I don't know if we've tested the T7xx series
<Lyude> [alyssa]: might know more
<Lyude> that is also part of the reason I'm getting a T6xx board
<Lyude> would be nice to make sure this works on all T series at some point
<NeuroScr> I believe she has, mentioned something in her blog about bringing t8xx up to the t7xx parity
<Lyude> NeuroScr: cool-I'm not sure where the dts stuff forr the xu4 would be though, but it's gotta be around somewhere
<Lyude> s/dts stuff/all of the mali_kbase stuff/
<narmstrong> Lyude: hmm, yeah it’s where I looked actually
<narmstrong> Lyude: you are hacking on top of which kbase version ?
anarsoul|2 has joined #panfrost
<NeuroScr> Lyude: I’m not interested in xu4
<NeuroScr> H6 orange pi one plus
<Lyude> oh! sorry, missed the part where you said closest
<Lyude> narmstrong: origin/TX011-SW-99002-r26p0-01rel0_meson_gx
<Lyude> you will need my wip panfrost branch for it to work with that driver version though, one sec
<NeuroScr> I also got the convos mixed up myself
<Lyude> NeuroScr: yeah, even less of an idea where the mali_kbase stuff would be for that. See if anyone else has tried getting the closed mali driver running on there, since doing so requires having mali_kbase setup the way we need for panfrost
<Lyude> you can get the canonical mali_kbase source here https://developer.arm.com/products/software/mali-drivers/midgard-kernel
<[alyssa]> NeuroScr: Lyude: I used to work on a T760, but that machine failed and so I turned to T860 instead. In theory, things should work on T760; in practice, I'm quite sure I've regressed stuff since then without knowing so it won't work without some engineering effort.
<Lyude> if you end up needing to hack it to get it to work on your h6 orange pi
<Lyude> [alyssa]: ahh
<NeuroScr> I’m not on a T760, it’s a T720
<Lyude> narmstrong: i'm in the process of trying to get the latest mainline kernel (current one I'm seeing that hanging issue with is 4.19rc7) built for the vim2 so hopefully I can get around all of the lockdep errors that the dw_hdmi driver seems to have with chewitt's armbian kernel patches
<Lyude> since those lockdep errors end up turning off lockdep before mali_kbase gets loaded, and I have a feeling lockdep will shed some light on what's happening here
<NeuroScr> looks like the android source for this opi is over 10gb
<Lyude> NeuroScr: let me know if you need any help finding the parts you need
<Lyude> narmstrong: do you have any minimal kernel configs for 4.20-rc3?
<narmstrong> Lyude: not really, I simply use defconfig and disable the other arm64 arch, acpi and virtualization and set everything built-in, then it faster to build and boot
<Lyude> alright
<narmstrong> Lyude: try this patch https://patchwork.freedesktop.org/patch/263389/
<Lyude> narmstrong: I will in a bit-there's a mismash of various patches I was given from chewitt on this branch, some of them revert previous ones, etc etc
<Lyude> wanna start with a clean slate first since I've kind of lost track :p
<Lyude> narmstrong: unless that hasn't gotten into mainline yet?
<narmstrong> You shouldn’t need any of those with 4.20-rc1 if you don’t need any multimedia stuff, only this single patch to remove warnings from the drm driver
<narmstrong> And the GXM Mali DT patch obviously
<Lyude> multimedia meaning video decoding stuff, right?
<narmstrong> Yep, and other drm patches for overlay and scaling
<Lyude> yeah-I should be fine without those
<Lyude> -I should try those out on this board and help review them for you guys at some point though :p
<narmstrong> I won’t say no !
<[alyssa]> NeuroScr: same difference
pH5 has joined #panfrost
<Lyude> daniels: XU3 get, just came in the mail-thank you!
afaerber has quit [Quit: Leaving]
<Lyude> narmstrong: btw; do you have any plans to submit the dtb changes that fixed the ethernet/emmc on my board upstream? (ethernet change https://paste.fedoraproject.org/paste/N08E~W4dgeg22yHnB2wiJw emmc change https://paste.fedoraproject.org/paste/d2xg5jQjQvww0cqY7KEbuQ )
<narmstrong> I should, we fixed the other boards the same way
<Lyude> narmstrong: I can just go ahead and send-email them and cc you if you want before I finish up tonight
BenG83 has joined #panfrost
afaerber has joined #panfrost