stikonas has quit [Remote host closed the connection]
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-rockchip
tuxd3v has quit [Quit: Leaving]
field^Mop has quit [Ping timeout: 258 seconds]
archetech has quit [Quit: Leaving]
cyteen has quit [Ping timeout: 260 seconds]
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
camus is now known as kaspter
archetech has joined #linux-rockchip
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
camus is now known as kaspter
warpme_ has quit [Quit: Connection closed for inactivity]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 268 seconds]
kevery1 is now known as kevery
archetech has quit [Quit: Leaving]
tchebb has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 258 seconds]
kevery1 is now known as kevery
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-rockchip
ldevulder__ has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 240 seconds]
return0e has joined #linux-rockchip
cyteen has joined #linux-rockchip
warpme_ has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
ldevulder__ is now known as ldevulder
stikonas has joined #linux-rockchip
nsaenz has quit [Quit: Leaving]
nsaenz has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
<inode>
mmind00: if you still have access to an rk322x TRM, please could you confirm some gpu clock selection/gating assumptions that i've deduced from looking at develop-4.4's clk-rk3228.h, mainline's clk-rk3328.h and the rk3328 TRM?
<mmind00>
inode: sure
<inode>
1. (a) bits 5-6 of CRU_CLKSEL_CON34: PLL source selected for aclk_gpu? (b) value 2 selects HDMI PHY?
<inode>
2. bit 13 of CRU_CLKGATE_CON3: gate of aclk_gpu's PLL source?
<inode>
3. bit 14 of CRU_CLKGATE_CON7: gate of aclk_gpu clock?
<inode>
3. bit 15 of CRU_CLKGATE_CON7: gate of aclk_gpu_niu clock?
<mmind00>
2. aclk_gpu_src_gate ... so looks like yes
<mmind00>
3+4 also correct
matthias_bgg has quit [Ping timeout: 265 seconds]
<inode>
thanks
matthias_bgg has joined #linux-rockchip
<inode>
these assumptions have finally allowed lima to work after patching clk-rk3228.h - no more rcu_sched stalls and sudden halting
<mmind00>
inode: oh cool ... which change was necessary?
<inode>
it seems that the "aclk_gpu" and "aclk_gpu_noc" gates were referencing gate offset RK2928_CLKGATE_CON(13) instead of RK2928_CLKGATE_CON(7)
<inode>
but that wasn't enough, i then changed the declaration of "aclk_gpu_pre" from COMPOSITE_NOGATE parented by "mux_aclk_gpu_pre_p", to COMPOSITE with the "mux_pll_src_4plls_p" parent and gate offset RK2928_CLKGATE_CON(13) and shift 13
<inode>
this matches what develop-4.4 does
<inode>
so in this state there are gate declarations (cpll_gpu, gpll_gpu, hdmiphy_gpu, usb480m_gpu) associated with bit 13 of CRU_CLKGATE_CON3 that are now unused - should i leave them entact or remove them when submitting a patch?
ganbold has joined #linux-rockchip
kevery has quit [Ping timeout: 265 seconds]
ldevulder_ has joined #linux-rockchip
thelta87 has joined #linux-rockchip
thelta87 has quit [Remote host closed the connection]
<mmind00>
inode: had to look up the clock diagram for this ... in the schematic drawing it indeed looks pretty strange, with separate gates for the 4 aclk_src inputs, but all being gate3:13
thelta has joined #linux-rockchip
<mmind00>
inode: and these gates don't seem to actually exist, so should be removed ... especially when they even reference the same gate bit, as this might cause even more issues down the road
ldevulder has quit [Ping timeout: 268 seconds]
<mmind00>
inode: "and gate offset RK2928_CLKGATE_CON(13) and shift 13" is a part I don't understand though ... I guess you meant gate_con3:13 .... gatecon13:13 would be the hclk_vop_noc_gate (for the vops bus interface)
<inode>
yes sorry, gate_con3:13 :)
thelta has quit [Remote host closed the connection]
return0e has quit [Ping timeout: 265 seconds]
field^Mop has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
daniels has quit [Remote host closed the connection]
daniels has joined #linux-rockchip
daniels has quit [Remote host closed the connection]
daniels has joined #linux-rockchip
elektrinis has joined #linux-rockchip
elektirnis has quit [Ping timeout: 268 seconds]
elektrinis has quit [Quit: elektrinis]
matthias_bgg has quit [Ping timeout: 260 seconds]
ldevulder_ has quit [Quit: Leaving]
vicencb has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 268 seconds]
sigmaris has quit [Ping timeout: 260 seconds]
matthias_bgg has joined #linux-rockchip
ldevulder has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]