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
JulianGro has quit [Remote host closed the connection]
JulianGro has joined #panfrost
rasterman has quit [Quit: Gettin' stinky!]
moa has joined #panfrost
JulianGro has quit [Remote host closed the connection]
bluebugs has quit [Ping timeout: 480 seconds]
JulianGro has joined #panfrost
join_subline has quit [Ping timeout: 480 seconds]
alpernebbi has quit [Ping timeout: 480 seconds]
alpernebbi has joined #panfrost
<tomeu> sometimes it's both ;)
hyrc has quit []
Kamikaze has joined #panfrost
join_subline has joined #panfrost
rasterman has joined #panfrost
<alyssa> truth!
alyssa has quit [Quit: leaving]
karolherbst has joined #panfrost
nlhowell is now known as Guest10145
nlhowell has joined #panfrost
<Kamikaze> Hi. I'm trying to get panfrost working on my firefly RK3399, which has a Mali T860MP4. I'm using Arch Linux ARM with a custom compiled 5.16.0-rc7 with panfrost compiled as a module. When I modprobe panfrost, I see no kernel message output indicating anything happening at all, although I can see the module with 'lsmod'.
<spawacz> anything in dmesg?
<Kamikaze> Nothing. zilch.
<spawacz> In stock debian kernel there were errors about missing governor or something, adding it to initramfs fixes the issue
<spawacz> maybe that's the case
<Kamikaze> gpu_sched is a dependent, can see that with modinfo, and it is also loaded when i modprobe panfrost (or perhaps, was already loaded)
<Kamikaze> I am a bit of a newbie with this. Is there any way I can see if panfrost is detecting the GPU at all? is there something I can check under /sys ?
<Kamikaze> others mention that they see messages under dmesg when they load panfrost
<urja> hm. I'm looking at the mainline rk3399-firefly.dts and ... the rk3399.dtsi default for the gpu is status = "disabled" and nothing in the firefly dts seems to poke it to okay (as the usual setup is)
<Kamikaze> welp that would probably do it... should i look into a sibling rk3399 dts and try to identify and copy the relevant parts into the firefly one?
<urja> possibly, i'd also google for anyone having already done it for you... i'm not exactly sure what the firefly is like (i think relevant parts are mostly power regulation... the actual GPU is inside the SoC :P)
<urja> but eg https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts#L235 orangepi (that i linked to) and pinebook pro have a fragment like this
<urja> just setting the supply and status
<Kamikaze> haha. yep thanks. I'll start with just that part you linked and see how we go. Quick Q: is it possible to brick a board through bad devicetree settings?
<urja> i mean.... unlikely but stuff like configuring the regulators is one of the things where i cant say it's impossible
<Kamikaze> ok cheers :)
<Kamikaze> urja: Urja genius! Thanks. I re-did the DTB, flashed it to the appropriate spot in the SDCard and what do I see:
<Kamikaze> ...snip...[ 11.680598] [drm] Initialized panfrost 1.2.0 20180908 for ff9a0000.gpu on minor 1
<Kamikaze> could this be a problem?
<Kamikaze> [ 11.671875] panfrost ff9a0000.gpu: [drm:panfrost_devfreq_init [panfrost]] Failed to register cooling device
<urja> hm, not sure how much stuff will break without the "cooling"/thermal config (if panfrost stayed loaded, i assume it will still do the GPU things? maybe?)
<urja> afaik "cooling devices" are just "what to do if hot" (which can be downclocking/volting things, even other things on the board, or obviously fans i suppose...)
<Kamikaze> there's a fan on this board, and if 'sensors' is to be believed it's only running about 35c . might just risk it. it's getting old and planning on giving it to the kids for gaming & learning.
<urja> if it has a fan (and it's already either just running or controlled somehow sanely) i'd expect it to be fine
<urja> carefully controlling what to throttle is more of the passive laptop thing
<Kamikaze> OK thanks again. I'm off now.
Kamikaze has quit [Quit: Page closed]
jedizon has joined #panfrost
pendingchaos has quit [Ping timeout: 480 seconds]
chewitt has joined #panfrost
pendingchaos has joined #panfrost
rasterman has quit [Quit: Gettin' stinky!]
moa has quit [Ping timeout: 480 seconds]
bluebugs has joined #panfrost
rasterman has joined #panfrost
chewitt has quit [Quit: Zzz..]
nlhowell has quit [Ping timeout: 480 seconds]
nlhowell has joined #panfrost
* macc24 is back
<macc24> new-and-improved me
<HdkR> You used to be vim, now you're neo-vim
<macc24> next time i won't almost get stranded in mountains in a snow reaching all the way to my neck
<HdkR> <3 snow
<macc24> i'm honestly impressed that my 8460p survived being in my backpack while i face-planed into deep snow couple times, rolled down the mountain for couple meters
<macc24> i've learned why you *don't* take 3 kilo 14 inch laptops with u all the time too xD
nlhowell has quit [Ping timeout: 480 seconds]
<macc24> next time i'm taking a elitebook 2560p
cphealy has quit [Remote host closed the connection]
cphealy has joined #panfrost
rasterman has quit [Quit: Gettin' stinky!]
JulianGro has quit [Ping timeout: 480 seconds]
rasterman has joined #panfrost
JulianGro has joined #panfrost
bluebugs has quit [Read error: No route to host]
bluebugs has joined #panfrost