<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>
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)