ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
LargePrime has joined #linux-rockchip
jaganteki has quit [Ping timeout: 256 seconds]
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
vstehle has quit [Ping timeout: 255 seconds]
kaspter has quit [Ping timeout: 245 seconds]
kaspter has joined #linux-rockchip
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-rockchip
ifbizo has quit [Remote host closed the connection]
ifbizo has joined #linux-rockchip
ifbizo has quit [Ping timeout: 256 seconds]
ifbizo has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
vstehle has joined #linux-rockchip
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-rockchip
stikonas has joined #linux-rockchip
kaspter has quit [Ping timeout: 250 seconds]
kaspter has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
stikonas has quit [Remote host closed the connection]
kaspter has joined #linux-rockchip
yann has quit [Ping timeout: 258 seconds]
ganbold has quit [Remote host closed the connection]
field^Mop has joined #linux-rockchip
<inode> i am trying to get hdmi video output on the rk3229 device i'm playing with. so far, i have added a bunch of entries into rk322x.dtsi (vop, vop_mmu, hdmi, hdmi_phy, etc. with set status = "okay" for each in my rk3229-whatever.dts) based on my findings from kernel-develop-4.4.
<inode> i have probably got a few parameters incorrect, so far i have complaints about being unable to power down the PHY, and the PHY PLL failing to lock
<inode> although rockchip-drm has spawned a dri card device and a framebuffer if i look in /dev
<inode> lines 122 to 133 show messages about rockchip-vop, dwhdmi-rockchip, rockchip-drm initialization
<inode> the current cmdline is shown on line 26
<inode> ^ " storagemedia=emmc loader.timestamp=2018-07-12_15:15:42 hdmi.vic=-1 tve.format=-1 SecureBootCheckOk=0" is appended by u-boot - which is still stock, i haven't touched it
vicencb has joined #linux-rockchip
<inode> i cannot reproduce a particular panic i was seeing earlier about irq 35 being ignored (the first of two specified for the hdmi dtsi entry's interrupts list), but if i comment out irq 35 (/* <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, */) and leave irq 71 entact then i see my monitor complain about the received mode being incorrect
<inode> and "dwhdmi-rockchip 200a0000.hdmi: PHY failed to power down" does not appear in the kernel messages
<inode> before removing irq 35 from the list, there was no signal received by the monitor
<inode> # echo 1 > /sys/class/graphics/fb0/blank
<inode> causes the monitor to report no signal
<inode> # echo 0 > /sys/class/graphics/fb0/blank
<inode> brings back the monitor's on screen warning about the current input timing being incorrect
<inode> and the kernel then says:
<inode> [ 342.210667] dwhdmi-rockchip 200a0000.hdmi: PHY PLL failed to lock
<inode> any ideas on what i could check?
wwilly_ has quit [Ping timeout: 245 seconds]
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 248 seconds]
<mmind00> inode: power-domains and regulators come to mind ... in any case, your irq 35 should be the irq to use while 71 is the "hdmi-wakeup-irq" that isn't used currently I think
vstehle has quit [Ping timeout: 246 seconds]
<mmind00> inode: also, in the rockchip_drm files you could looks for the clk_set_rate calls and compare what it requests and actually gets (there should be clk_round_rate calls before that)
<mmind00> sometimes there are subtle bugs in the clock drivers for clocks that haven't been used so far
vstehle has joined #linux-rockchip
<inode> i noticed in clk-rk3228.c linux-5.1 has: GATE(ACLK_GPU, "aclk_gpu", "aclk_gpu_pre", 0, RK2928_CLKGATE_CON(13), 14, GFLAGS) - but for kernel-develop-4.4: s/RK2928_CLKGATE_CON(7)/
<inode> i assume the kernel-develop-4.4 is more likely to be correct?
ganbold has joined #linux-rockchip
yann has joined #linux-rockchip
wwilly has joined #linux-rockchip
nighty has quit [Quit: Disappeared in a puff of smoke]
nighty has joined #linux-rockchip
<vicencb> inode: mmind00: this remembers me some hdmi issues that could be related to clocks
<vicencb> The first was fixed, the second and third are still active and there is a new one.
<vicencb> The new fourth issue is that when running a kernel that has been booted from kexec, flickering appears when more than half of the display is redrawn.
<vicencb> Regarding the second one: since audio was added i noticed that when the blue strip appears then the audio is muted.
<mmind00> inode: likely ... although aclk_gpu is the clock for mali-gpu and doesn't affect hdmi
<mmind00> vicencb: can you try with a most recent kernel, regarding the strip (number 2) ... there was a patch some weeks ago, which I guess should be in 5.3 merge-window now
<mmind00> vicencb: although I think in all cases I've seen it, it was more pink hue
<vicencb> mmind00: the color could not be exact
<vicencb> I've been running on master for some time, now at v5.1-10742-g35c99ffa20ed
<vicencb> and have to recognize that have not seen it for some time
<vicencb> as it was random, i supposed was lucky. But if it is fixed, the better!
<vicencb> mmind00: good
<vicencb> do you know anything about the HPD (hot plug detect) and the flickering? have you ever seen any of those?
<vicencb> regarding the HPD. It is only reproducible when the hdmi is off, but an update of Xorg removed the "xset dpms force off" function, but still reproducible with Sway.
<mmind00> vicencb: sadly nope ... my testing generally consists of "does it display a console", I don't really have a daily use of those
<vicencb> mmind00: ok, no worries
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-rockchip
LargePrime has quit [Ping timeout: 258 seconds]
LargePrime has joined #linux-rockchip
lykt has quit [Quit: leaving]
lykt has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-rockchip
vstehle has quit [Read error: Connection reset by peer]
vstehle has joined #linux-rockchip
stikonas has joined #linux-rockchip
yann has quit [Ping timeout: 268 seconds]
vicencb has quit [Quit: Leaving.]
gnufan_home has joined #linux-rockchip
afaerber has quit [Remote host closed the connection]
vicencb has joined #linux-rockchip
s_frit has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
field^Mop has quit [Ping timeout: 258 seconds]
afaerber has joined #linux-rockchip
wwilly_ has joined #linux-rockchip
wwilly has quit [Ping timeout: 258 seconds]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
cristian__c has joined #linux-rockchip
gnufan_home has quit [Quit: Leaving.]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
drrty has quit [Ping timeout: 246 seconds]
vagrantc has joined #linux-rockchip
return0e_ has quit [Ping timeout: 246 seconds]
return0e has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]