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
<inode> clk_summary: https://pastebin.com/CqMbtH2S
<inode> might not be related, but also unusual is the orphaned sclk_hdmi_cec
<inode> this is what the kernel has always said since i got hdmi output to scrape by, if i switch my monitor off (or my tv when i've had it connected):
<inode> but everything appears as normal once switched on again
<Kwiboo> http://ix.io/281B is clk_summary on my rock64 rk3328, it does not look like it have a special cec clock there, and I am unsure what hdmi kernel patches I currently have applied
<inode> the cache edid patches didn't seem to change anything that i can see from drm debug messages so far
<Kwiboo> the Not using 1920x1080 mode: STALE in your v2 log also looks interesting, I have hot seen STALE before, I need to dig and see when STALE is being reported
<Kwiboo> does the edid cache change anything for the modetest ? is 1920x1080 still not reported?
<Kwiboo> also can you test without video=HDMI-A-1:e, when connector->force is used the detect callback may not be called and the edid modes never gets added, I will do more force test on my end tomorrow
<inode> ok
<inode> i see the size (mm) value reported by modetest is now 0x0
<Kwiboo> and also the edid blob is empty, so a new edid read has failed
<inode> now without video=HDMI-A-1:e ... https://pastebin.com/ZvRCTGKd
<inode> the connector always ends up disconnected if i don't specify it on the command line
<Kwiboo> strange, it could be related to the cec issue, since it detects hdmi and can read edid during startup but later fails
<tuxd3v> does any one knows if its possible now to build uboot for rockpro64 ?
<tuxd3v> Does the dts /uboot supports is well?
<tuxd3v> some time ago I tried and I couldn't boot it up..
<Kwiboo> inode: https://github.com/rock64-android/kernel/blob/thzy_develop/arch/arm/boot/dts/rk322x-clocks.dtsi#L1046-L1054 seems to indicate that xin24m should be parent clock to cec, could the commented out mux indicate that mux is not working and in mainline need to force parent in dts
return0e has joined #linux-rockchip
stikonas has quit [Ping timeout: 272 seconds]
vstehle has quit [Ping timeout: 268 seconds]
elektirnis has joined #linux-rockchip
elektrinis has quit [Ping timeout: 268 seconds]
chewitt has quit [Quit: Zzz..]
elektrinis has joined #linux-rockchip
elektirnis has quit [Ping timeout: 240 seconds]
chewitt has joined #linux-rockchip
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-rockchip
jaganteki has joined #linux-rockchip
vstehle has joined #linux-rockchip
return0e has quit [Remote host closed the connection]
ganbold_ has quit [Ping timeout: 260 seconds]
<inode> Kwiboo: that's interesting find, thank you - i'll try reparenting when i get back to the device
ganbold has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
field^Mop has joined #linux-rockchip
<Kwiboo> inode: it also looks like the old 3.10 device tree use rockchip,cec_enable=<0> to disable cec on rk322x, so you could also try with removing the cec clock from hdmi node and disable CONFIG_DRM_DW_HDMI_CEC and see if that makes any difference
<archetech> building my first kernel for rock64 on the board got a mainline how to ?
<archetech> certain source or repo ?
<archetech> ayufans 4.4 config and 5.4.13
lkcl has joined #linux-rockchip
Xalius has joined #linux-rockchip
ldevulder_ is now known as ldevulder
ganbold has quit [Ping timeout: 265 seconds]
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-rockchip
vicencb has joined #linux-rockchip
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-rockchip
jaganteki has quit [Remote host closed the connection]
vicencb has quit [Quit: Leaving.]
JohnDoe_71Rus has joined #linux-rockchip
field^Mop has quit [Ping timeout: 268 seconds]
ganbold has joined #linux-rockchip
nashpa has joined #linux-rockchip
vagrantc has joined #linux-rockchip
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-rockchip
chewitt has quit [Ping timeout: 240 seconds]
cristian__c has joined #linux-rockchip
cristian_c has quit [Ping timeout: 260 seconds]
chewitt has joined #linux-rockchip
vicencb has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
matthias_bgg has quit [Ping timeout: 268 seconds]
lkcl has quit [Ping timeout: 258 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
flacks has joined #linux-rockchip
field^Mop has joined #linux-rockchip
stikonas has joined #linux-rockchip
return0e has joined #linux-rockchip
<inode> Kwiboo: turns out the unhandled irq message remains even with the cec clock disassociated from the hdmi node and CONFIG_DRM_DW_HDMI_CEC disabled - i think i need to get kgdb up and running
<inode> not specifically for the unhandled irq problem, but to see what's going on with regard to the probed mode list being reduced
<Kwiboo> from logs it looked like it fails to detect it is connected and do not read / faild to read new edid
<inode> maybe the logic i borrowed from rockchip-linux to configure hpd and ddc is inadequate or requires additional changes for reading hpd state and adjusting the connector status correctly - similar to dw_hdmi_rk3328_read_hpd()
<Kwiboo> the old rkdevelop uboot do not do anything special for read_hpd, see https://github.com/Caesar-github/uboot/blob/rkdevelop/drivers/video/drm/dw_hdmi.c#L2529-L2544 it only has special case for rk3328
<inode> i'm also using dw_hdmi_phy_read_hpd as the value of the read_hpd member of rk3228_hdmi_phy_ops https://patchwork.kernel.org/patch/10956787/ ... but if i'm not mistaken the rk3328 seems to get the voltage level of the ddc pair changed depending on the connector status? https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c#L358..L367
<Kwiboo> I think so, it changes between 5v and 3.3v on rk3328 if I am not mistaken
<Kwiboo> I did a quick compare of 4.4 rk322x.dtsi and mainline rk322x.dtsi and there is a diff in hdmi node interrupts, the mainline only have 35 but 4.4 and mainline rk3328 have both 35 and 71
<Kwiboo> "interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;" vs "interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;"
<inode> i should try adding that again, or digging up old logs from this channel - i remember mmind00 mentioning something about 71 when i was poking around with hdmi here initially
<Kwiboo> 71 is listed as rki2c3_int for rk3328, so it sounds like it should be there
<Kwiboo> based on https://freenode.irclog.whitequark.org/linux-rockchip/2019-05-22: for soc_con6 ... bit4 is "hdmi_ddcscl & i2c3_scl", bit5 is "hdmi_ddcsda & i2c3_sda", bit6 is hdmi_hpd ... and the value is 1 for 3.3V and 0 for 5V
ldevulder_ has joined #linux-rockchip
archetech has quit [Quit: Konversation terminated!]
Xalius has quit [Quit: Leaving]
ldevulder has quit [Ping timeout: 268 seconds]
Xalius has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
imsherlock has joined #linux-rockchip
stikonas has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
warpme_ has quit [Quit: Connection closed for inactivity]
return0e has quit [Ping timeout: 268 seconds]