Zooklubba9 has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
depleted has joined #linux-sunxi
depleted has quit [Remote host closed the connection]
mavkhimenia has quit [Ping timeout: 244 seconds]
tllim has quit [Ping timeout: 260 seconds]
[Tarantula] has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.9.1]
Char0n has joined #linux-sunxi
lino has joined #linux-sunxi
lino has quit [Remote host closed the connection]
Char0n has quit [Remote host closed the connection]
lykt has quit [Ping timeout: 272 seconds]
wasutton3_mobile has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 256 seconds]
lykt has joined #linux-sunxi
aalm has quit [Ping timeout: 260 seconds]
lykt has quit [Ping timeout: 272 seconds]
ganbold has quit [Quit: This computer has gone to sleep]
lykt has joined #linux-sunxi
victhor has quit [Ping timeout: 256 seconds]
Grobo has quit [Ping timeout: 256 seconds]
cnxsoft has joined #linux-sunxi
ganbold has joined #linux-sunxi
wasutton3_mobile has quit [Ping timeout: 240 seconds]
YuGiOhJCJ has joined #linux-sunxi
YuGiOhJCJ has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
[Tarantula] has quit [Quit: Computer bought the farm]
lkcl has joined #linux-sunxi
Smeef26 has joined #linux-sunxi
lkcl has quit [Ping timeout: 256 seconds]
Smeef26 has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
_whitelogger has joined #linux-sunxi
paulliu has joined #linux-sunxi
jbrown has quit [Ping timeout: 240 seconds]
mavkhimenia has joined #linux-sunxi
Grobo has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 248 seconds]
muvlon has quit [Quit: Leaving]
tllim has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
[7] has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 256 seconds]
nuuuciano has quit [Ping timeout: 255 seconds]
iamfrankenstein has joined #linux-sunxi
qeed has quit [Quit: Leaving]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
montjoie has joined #linux-sunxi
reinforce has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 240 seconds]
f0xx has joined #linux-sunxi
fl_0 has quit [Ping timeout: 256 seconds]
fl_0 has joined #linux-sunxi
dddddd has quit [Read error: Connection reset by peer]
gregf has joined #linux-sunxi
gregf has quit [Killed (Sigyn (Spam is off topic on freenode.))]
xyntrix has quit [Quit: Leaving]
clemens3 has joined #linux-sunxi
mzki has quit [Ping timeout: 272 seconds]
mzki has joined #linux-sunxi
kloczek has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
dgp has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 240 seconds]
lutoma0 has joined #linux-sunxi
msimpson has joined #linux-sunxi
lutoma0 has quit [Remote host closed the connection]
dgp has quit [Remote host closed the connection]
elros has joined #linux-sunxi
f0xx has quit [Ping timeout: 244 seconds]
Mr__Anderson has joined #linux-sunxi
mhlavink has joined #linux-sunxi
ganbold has quit [Quit: This computer has gone to sleep]
f0xx has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
aballier has quit [Ping timeout: 240 seconds]
afaerber has joined #linux-sunxi
aballier has joined #linux-sunxi
aalm has joined #linux-sunxi
nullrouted has joined #linux-sunxi
nullrouted has quit [Remote host closed the connection]
cnxsoft has quit [Quit: cnxsoft]
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 240 seconds]
victhor has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
msev-- has quit [Ping timeout: 255 seconds]
_bielski_ has joined #linux-sunxi
msev- has joined #linux-sunxi
bielski has quit [Ping timeout: 245 seconds]
venb has quit [Remote host closed the connection]
venb has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
[OneTwoThree] has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
scream has joined #linux-sunxi
OwenBarfield has joined #linux-sunxi
OwenBarfield has quit [Remote host closed the connection]
maskedlua15 has joined #linux-sunxi
maskedlua15 has quit [Read error: Connection reset by peer]
victhor has quit [Ping timeout: 256 seconds]
cnxsoft has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
AneoX_ has quit [Read error: Connection reset by peer]
AneoX has joined #linux-sunxi
scream has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
mavkhime_ has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 272 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
[OneTwoThree] has quit [Quit: *QUACKOPHOBIA*]
[QuackOphobia] has joined #linux-sunxi
elros1 has joined #linux-sunxi
qeed has joined #linux-sunxi
afaerber has joined #linux-sunxi
LargePrime has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
fkluknav has joined #linux-sunxi
mavkhime_ has quit [Remote host closed the connection]
mavkhime_ has joined #linux-sunxi
libv_ is now known as libv
swiftgeek has quit [Ping timeout: 244 seconds]
tllim has joined #linux-sunxi
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
mavkhime_ has quit [Read error: Connection reset by peer]
swiftgeek has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
Richard_Cavell has joined #linux-sunxi
vagrantc has joined #linux-sunxi
Richard_Cavell has quit [Remote host closed the connection]
dddddd has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
lkcl has joined #linux-sunxi
lurchi_ is now known as lurchi__
xyntrix has joined #linux-sunxi
return0xe has quit [Quit: Leaving]
<
jernej>
MoeIcenowy: ping
return0e has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
wasutton3_mobile has joined #linux-sunxi
lkcl has quit [Ping timeout: 272 seconds]
<
MoeIcenowy>
jernej: pong
<
jernej>
MoeIcenowy: Did you manage to test my yesterday's suggestion?
tllim has quit [Read error: Connection reset by peer]
<
MoeIcenowy>
(my brain gets desycned
<
MoeIcenowy>
desynced *
<
jernej>
it was for undetected monitor at boot
<
jernej>
let me find it
<
MoeIcenowy>
jernej: btw for the exclusivity problem. without it on A64 when booted with the WaveShare screen connected, it cannot work
<
MoeIcenowy>
because TCON0 become 48MHz (should be 32MHz
nuuuciano has joined #linux-sunxi
<
jernej>
ah, that problem
<
jernej>
I didn't discover the root problem
<
MoeIcenowy>
jernej: undetected monitor is not a problem at all
<
MoeIcenowy>
because hpd will soon be ok
<
MoeIcenowy>
automatically
<
jernej>
anyway, both TCON0 and HDMI phy clock can be set to 32 MHz, so I don't know why it gets set to 48 MHz
<
jernej>
what do you you mean by "will soon be ok"?
<
MoeIcenowy>
jernej: btw I think U-Boot sets sth to 128MHz
<
MoeIcenowy>
jernej: after several msecs
cnxsoft has quit [Quit: cnxsoft]
<
MoeIcenowy>
the state will come from disconnected to connected
<
jernej>
well, it's not right either
<
MoeIcenowy>
and I cannot reproduce this any longer
<
MoeIcenowy>
and this is not the key lead to the problem I found
<
jernej>
but yes, A64 doesn't have lower PLL limit set to 192 MHz, so with 128 MHz there might be issues
<
MoeIcenowy>
the key is U-Boot seems to drive the PLL to high
<
MoeIcenowy>
jernej: this is not the key, pll is 256MHz when booting
<
jernej>
wait, is it 128 MHz or 256 MHz?
CuteIcenowy has joined #linux-sunxi
CuteIcenowy has quit [Client Quit]
<
MoeIcenowy>
jernej: I cannot remember the clock tree accurately
<
MoeIcenowy>
but the kernel is definitely misbehaving
<
MoeIcenowy>
as theortically it should CLK_TCON1 = CLK_HDMI = CLK_HDMI_PHY = 32MHz
<
MoeIcenowy>
no one should be 48MHz
<
MoeIcenowy>
add the exclusivity surely fixes this
<
jernej>
I think I noticed that modes read from EDID contained 48 MHz rate at one point
<
MoeIcenowy>
I think the EDID has only one mode
<
jernej>
well, I don't know where it come from
lkcl has joined #linux-sunxi
<
MoeIcenowy>
jernej: EDID fails and 1024x768 is chosen?
jbrown has joined #linux-sunxi
<
jernej>
but I suggest you enable DRM debug info to see if 48 MHz by any chance comes from mode setting
<
MoeIcenowy>
`mode: 0:"1024x600" 43 32000 1024 1064 1112 1152 600 613 616 645 0x48 0xa`
<
MoeIcenowy>
I enabled it
<
MoeIcenowy>
and no chance
<
MoeIcenowy>
everywhere says 32000
<
jernej>
what if you disable exclusive rate patch?
<
MoeIcenowy>
exclusive rate patch doesn't change the behavior of DRM subsystem
<
MoeIcenowy>
it only changes behavior of clk fx
<
jernej>
can you add debug output to all places where clock is set in TCON, HDMI and HDMI PHY clock?
<
jernej>
I could swear that driver got 48 MHz input from somewhere
<
MoeIcenowy>
no it's impossible.
<
MoeIcenowy>
the dotclock is surely 32000
<
jernej>
well, that 48 MHz must come from somewhere
<
MoeIcenowy>
jernej: come from not exclusive
<
MoeIcenowy>
not exclusive clocks are possible to be effected by other clk_set_rate
<
jernej>
exactly, but not if all set same rate
<
MoeIcenowy>
jernej: but they have different parents
<
MoeIcenowy>
oh not it's tcon0, not 1
ganbold has joined #linux-sunxi
fkluknav has quit [Ping timeout: 272 seconds]
swiftgeek has quit [Read error: Connection reset by peer]
swiftgeek has joined #linux-sunxi
aalm has quit [Ping timeout: 240 seconds]
rej has quit [Quit: Obviously a major malfunction.]
rej has joined #linux-sunxi
rej has joined #linux-sunxi
rej has quit [Changing host]
reinforce has quit [Quit: Leaving.]
<
MoeIcenowy>
jernej: the clk_set_rate call in sun8i_dw_hdmi_encoder_mode_set and sun8i_hdmi_phy_config are all 32000000
JohnDoe_71Rus has joined #linux-sunxi
<
jernej>
what about TCON's?
msimpson has quit [Read error: Connection reset by peer]
<
MoeIcenowy>
in sun4i_tcon_mode_set tcon->sclk1 is set to 32000000
fkluknav has joined #linux-sunxi
<
MoeIcenowy>
jernej: ^
<
jernej>
hm... now I'm confused
<
MoeIcenowy>
it's surely the fault of CCU
<
jernej>
anyway, you are experimenting on A64, right?
<
jernej>
I noticed similar issues on R40
<
jernej>
I guess I have to debug it a bit
<
jernej>
I want to know why it gets 48 MHz
<
jernej>
I mean what sequence of commands leads to that
<
MoeIcenowy>
jernej: pll-video0 = 128MHz, hdmi (tmds) = 128MHz, tcon1 = 32MHz
<
MoeIcenowy>
when booting
<
MoeIcenowy>
(before drm
<
jernej>
yeah, that should be 192 MHz
<
MoeIcenowy>
after booting pll-video0 = 192MHz, hdmi-phy-clk = 32MHz, hdmi = tcon1 = 48MHz
<
jernej>
doesn't TCON set exclusive rate?
<
MoeIcenowy>
I think TCON is exclusive
<
MoeIcenowy>
but HDMI & HDMI PHY is not
<
jernej>
I'm not really happy about this exclusive mode
<
jernej>
since at least in single monitor setup
<
jernej>
it should work without it
msimpson has joined #linux-sunxi
<
MoeIcenowy>
when hdmi-phy-clk joins
<
MoeIcenowy>
I think it's the problem
<
MoeIcenowy>
as he remains 32MHz
<
MoeIcenowy>
when hdmi and tcon1 is trapped into 48MHz
<
MoeIcenowy>
and maybe the adding of hdmi-phy-clk makes exclusive clock necessary
<
jernej>
but why would be a change needed? they should all run at the same rate
<
MoeIcenowy>
I think it's that the U-Boot currently initializes the clock in another way
<
jernej>
so why I observed same issue on R40?
<
MoeIcenowy>
but at all we should set the exclusive mode
<
MoeIcenowy>
the common clk framewr
<
MoeIcenowy>
framework
<
MoeIcenowy>
is complex
<
MoeIcenowy>
and you shouldn't predict its behavior
mavkhimenia has quit [Remote host closed the connection]
wasutton3_mobile has quit [Ping timeout: 268 seconds]
msimpson has quit [Ping timeout: 256 seconds]
mavkhimenia has joined #linux-sunxi
<
MoeIcenowy>
jernej: for your resolution changing test could I replace it with monitor switching?
<
MoeIcenowy>
(different resolution monitor
<
jernej>
It's not the same
<
MoeIcenowy>
but I think this will also change dotclock
<
jernej>
it will, but not by same procedure
<
jernej>
compiling modetest as I pointed in email shouldn't be hard
<
jernej>
I don't agree with your statement that I shouldn't predict what clk framework is doing
<
jernej>
I spend quiet some time debugging it when developing HDMI drivers
<
jernej>
otherwise I wouldn't discover some shortcomings in H6 case
<
MoeIcenowy>
any example?
<
MoeIcenowy>
jernej: btw here's the operation done to get the 48MHz clock
<
MoeIcenowy>
(by sequence)
<
MoeIcenowy>
tcon1 <= 32MHz, hdmi <= 32MHz, hdmi_phy_clk <= 32MHz, hdmi_phy_clk <= 32MHz
<
MoeIcenowy>
start state and end state are mentioned above
wasutton3_mobile has joined #linux-sunxi
<
MoeIcenowy>
will you find how is 48MHz out by reviewing this?
netlynx has quit [Quit: Ex-Chat]
<
jernej>
not without poking around live system
f0xx has quit [Ping timeout: 268 seconds]
<
jernej>
in R40 case, I got 48 MHz clock when I disconnected and reconnected waveshare monitor
<
jernej>
it might be the same reason
<
MoeIcenowy>
but I think the set of pll-video0 must affected clocks
<
MoeIcenowy>
BTW the minimal rate is set in this patchset
<
MoeIcenowy>
(for pll-videi0
<
MoeIcenowy>
pll-video0 *
<
MoeIcenowy>
ok going to sleep, bye
<
jernej>
good night
iamfrankenstein has joined #linux-sunxi
wasutton3_mobile has quit [Ping timeout: 240 seconds]
f0xx has joined #linux-sunxi
[QuackOphobia] has quit [Quit: libc.sau.cisse]
foxx_ has joined #linux-sunxi
f0xx has quit [Read error: Connection reset by peer]
clemens3 has quit [Ping timeout: 244 seconds]
reinforce has joined #linux-sunxi
fkluknav has quit [Ping timeout: 268 seconds]
INdek has joined #linux-sunxi
elros1 has quit [Remote host closed the connection]
[ShellEater] has joined #linux-sunxi
fkluknav has joined #linux-sunxi
libv_ has joined #linux-sunxi
afaerber has quit [Ping timeout: 255 seconds]
libv has quit [Ping timeout: 260 seconds]
nuuuciano has quit [Remote host closed the connection]
nuuuciano has joined #linux-sunxi
return0e has quit [Ping timeout: 248 seconds]
afaerber has joined #linux-sunxi
libv has joined #linux-sunxi
afaerber has quit [Excess Flood]
libv_ has quit [Ping timeout: 272 seconds]
anarsoul|2 has joined #linux-sunxi
agraf has quit [Ping timeout: 240 seconds]
spot has joined #linux-sunxi
SP7RT has joined #linux-sunxi
SP7RT has quit [Client Quit]
afaerber has joined #linux-sunxi
spot has quit [Ping timeout: 240 seconds]
merbanan has quit [Ping timeout: 256 seconds]
Freechicks has quit [Remote host closed the connection]
SP7RT has joined #linux-sunxi
SP7RT has quit [Client Quit]
Freechicks has joined #linux-sunxi
Freechicks has quit [Excess Flood]
Freechicks has joined #linux-sunxi
Freechicks has quit [Excess Flood]
Freechicks has joined #linux-sunxi
Freechicks has quit [Excess Flood]
Freechicks has joined #linux-sunxi
Freechicks has quit [Excess Flood]
Freechicks has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
merbanan has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
fkluknav has quit [Ping timeout: 272 seconds]
return0e has joined #linux-sunxi
Freechicks has quit [Remote host closed the connection]
Freechicks has joined #linux-sunxi
sjums has joined #linux-sunxi
sjums has quit [Remote host closed the connection]
mavkhimenia has quit [Remote host closed the connection]
camh has quit [Ping timeout: 245 seconds]
lkcl has quit [Ping timeout: 260 seconds]
camh has joined #linux-sunxi
swiftgeek has quit [Read error: Connection reset by peer]
mzki has quit [Ping timeout: 256 seconds]
mzki has joined #linux-sunxi
swiftgeek has joined #linux-sunxi
JollyRgrs15 has joined #linux-sunxi
Freechicks has quit []
JollyRgrs15 has quit [Remote host closed the connection]
alifiratari has joined #linux-sunxi
jbrown has quit [Ping timeout: 260 seconds]
nuuuciano has quit [Ping timeout: 248 seconds]
Putti has quit [Ping timeout: 272 seconds]
montjoie has quit [Quit: leaving]
darxun27 has joined #linux-sunxi
darxun27 has quit [Remote host closed the connection]
anarsoul has quit [Read error: Connection reset by peer]
mavkhimenia has joined #linux-sunxi
aalm has joined #linux-sunxi
paulliu has quit [Quit: Leaving.]
mavkhimenia has quit [Ping timeout: 240 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
jeggott12 has joined #linux-sunxi
jeggott12 has quit [Remote host closed the connection]
popolon has joined #linux-sunxi
victhor has joined #linux-sunxi
Freechicks has joined #linux-sunxi
foxcookie has joined #linux-sunxi
foxcookie has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 260 seconds]
Gerwin_J has joined #linux-sunxi
INdek has quit [Quit: leaving]
Evidlo24 has joined #linux-sunxi
Evidlo24 has quit [Ping timeout: 244 seconds]
Andy-D has joined #linux-sunxi
Carlos06116 has joined #linux-sunxi
Carlos06116 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
fl_0 has quit [Quit: STRG + Q]
foxx_ has quit [Ping timeout: 244 seconds]
fl_0 has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
jbrown has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Deusdeorum16 has joined #linux-sunxi
Deusdeorum16 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
[ShellEater] has quit [Quit: He wished all it's life to ring bells]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
lurchi_ is now known as lurchi__
Guest28376 has joined #linux-sunxi
Guest28376 has quit [Ping timeout: 244 seconds]
anarsoul has joined #linux-sunxi
kloczek has quit [Read error: Connection reset by peer]
popolon has quit [Quit: WeeChat 1.9.1]
mrBlaQ8 has joined #linux-sunxi
mrBlaQ8 has quit [Remote host closed the connection]
Guest55350 has joined #linux-sunxi
Guest55350 has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
<
MoeIcenowy>
jernej: I think I got why 32MHz become 48MHz
<
MoeIcenowy>
it happens during the transtion of pll-video0 from 128MHz to 192MHz
<
MoeIcenowy>
128:32 = 192:48
lurchi__ is now known as lurchi_