alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard + Bifrost + Valhall - Logs https://oftc.irclog.whitequark.org/panfrost
derzahl has joined #panfrost
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #panfrost
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #panfrost
davidlt has joined #panfrost
megi has quit [Quit: WeeChat 4.0.4]
davidlt has quit [Ping timeout: 480 seconds]
kinkinkijkin has joined #panfrost
alpernebbi has quit []
rasterman has joined #panfrost
davidlt has joined #panfrost
alpernebbi has joined #panfrost
Danct12 has joined #panfrost
lcn has quit [Remote host closed the connection]
lcn has joined #panfrost
nashpa has quit []
lcn has quit [Quit: leaving]
dliviu has joined #panfrost
MajorBiscuit has joined #panfrost
simon-perretta-img has joined #panfrost
lcn has joined #panfrost
Danct12 has quit [Quit: WeeChat 4.0.4]
alpernebbi_ has quit []
<wv> hello, I'm having this custom rk3288 based board. (based on firefly aio-rk3288c). I'm building an image with yocto kirkstone mainline (so panfrost + hantro). when I don't enable the kernel modules (and so not loading panfrost, it works fine). However, when I load the panfrost module at bootup, it just hangs
<wv> These are the last messages on the console, ring a bell to anyone?
<wv> 5.906482] rockchip-vop ff930000.vop: Adding to iommu group 0
<wv> [ 5.914333] rockchip-vop ff940000.vop: Adding to iommu group 1
<wv> [ 5.934050] rk808-rtc rk808-rtc: registered as rtc0
<wv> [ 5.941878] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:11 UTC (1358499011)
<wv> [ 5.948648] rockchip-drm display-subsystem: bound ff930000.vop (ops rockchip_drm_fini [rockchipdrm])
<wv> [ 5.962895] rockchip-drm display-subsystem: bound ff940000.vop (ops rockchip_drm_fini [rockchipdrm])
<wv> [ 5.964362] panfrost ffa30000.gpu: clock rate = 400000000
<wv> [ 5.973725] rockchip-drm display-subsystem: bound ff970000.dp (ops rockchip_drm_fini [rockchipdrm])
<wv> [ 5.979629] panfrost ffa30000.gpu: mali-t760 id 0x750 major 0x1 minor 0x0 status 0x0
<wv> [ 5.997996] panfrost ffa30000.gpu: features: 00000000,100277bf, issues: 00000000,24040400
<wv> on the firefly board, it's working fine btw
<bbrezillon> missing regulator?
davidlt has quit [Ping timeout: 480 seconds]
<wv> well, it's indeed a 808 regulator in comparison with the 8846 on the firefly, but I adapted the devicetree, based on the 808 from the ebv design. If I did not, it just got in to a driver loading loop for some kind. (also regarding graphic driver) No it just hangs
<bbrezillon> can you try to set the mali-supply always-on?
<robmur01> IIRC you need "regulator-always-on" for the GPU supply else it gets stuck in shenanigans in the power domain code
rasterman has quit [Quit: Gettin' stinky!]
<bbrezillon> it's hard to tell, but if it works on the same SoC, but different board, it's likely to be something board specific, and one thing that could cause the platform to hang is if the mali supply is disabled or doesn't have enough juice to power the GPU (could be an opp/devfreq issue too)
<robmur01> (somewhere there's a register read to check that the power domain is off, except that register is in fact also powered by the domain's supply)
<wv> vdd_gpu: DCDC_REG2 {
<wv> regulator-always-on;
<wv> regulator-boot-on;
<wv> regulator-min-microvolt = <850000>;
<wv> regulator-max-microvolt = <1250000>;
<wv> regulator-name = "vdd_gpu";
<wv> regulator-state-mem {
<wv> regulator-on-in-suspend;
<wv> regulator-suspend-microvolt = <1000000>;
<wv> };
<wv> };
<wv> it is on. I wan play with the min/max voltages? Is that safe?
<wv> bbrezillon, well, it's not exactly the same board. Power regulator is different, so it is possible we have an issue there
<wv> sometimes it gets to "[ 6.000746] [drm] Initialized panfrost 1.2.0 20180908 for ffa30000.gpu on minor 1
<wv> " and then blocks. If it would be a power or clock issue, I guess it would not get that far, would it?
MajorBiscuit has quit [Ping timeout: 480 seconds]
<wv> now I disabled all vop in dtsi, and now it continues to boot. However I get an error along the way:
<wv> [5.760552] rockchip-drm display-subsystem: [drm:rockchip_drm_platform_probe [rockchipdrm]] *ERROR* No available vop found for display-subsystem.
<wv> but not sure what thes vop's are actually
<bbrezillon> wv: VOP == display controller
rasterman has joined #panfrost
kinkinkijkin has quit [Quit: Leaving]
<urja> rockchip's "CRTC" (i mean, fair, controlling _CRTs_ has gotten kinda rare :P)
rasterman has quit [Quit: Gettin' stinky!]
Leopold has quit [Ping timeout: 480 seconds]
Leopold_ has joined #panfrost
xdarklight has quit [Quit: ZNC - https://znc.in]
xdarklight has joined #panfrost
Guest554 has quit []
Danct12 has joined #panfrost
<wv> bbrezillon, and can they be a reason it gets stuck?
pbrobinson has quit [Ping timeout: 480 seconds]