<z3ntu1>
So for some reason on sm6350/sm7225 the mdss_gdsc needs to be off (turned off normally by genpd_power_off_unused) for the display init to succeed, otherwise the screen is stuck on black. I'm guessing doing this is resetting the mdss block? Is there a way to properly put this into dts/driver so that it ensures the mdss has been reset(?) properly before doing the init, otherwise it's just relying on genpd_power_off_unused having run before mdss
<z3ntu1>
initializes which is not great (since it can easily break)..
<z3ntu1>
I thought I read something on the mailing list a while ago regarding something like this, forcing the power domain off somehow to make sure it's resetting but I'm not sure what came of it - or if there's a different solution here. In any case I don't see a 'reset' being registered downstream in the dispcc driver so I don't think we can take something from downstream 1:1
<aka_[m]>
Luca Weiss: have you just tried adding "reset" to dpu/dss?
<z3ntu1>
In lagoon-sde-pll.dtsi downstream I see also gdsc_base with 0xaf03000 and since dispcc is at 0xaf00000 that should mean there's maybe a reset at 0x3000
<z3ntu1>
man, I hate downstream dts :D
<z3ntu1>
but seems at least downstream is only doing a read on this register region for is_gdsc_disabled
pespin has joined #linux-msm
pespin has quit []
pespin has joined #linux-msm
<z3ntu1>
okay so what I've tried so far didn't work, still black screen
<z3ntu1>
I've found this commit from konradybcio https://github.com/torvalds/linux/commit/002c3fb6f4f38b50ef0514247c2d55fc6ed8c6d4 , the closest to 0x2000 I can find is <0x5f03000 0x8> (for "gdsc_base") in scube-sde-pll.dtsi but I can't actually find anything for 0x2000. For fun I also tried 0x2000 on sm6350 but also no luck (as with 0x3000)
<konradybcio>
the register maps differ acros ssocs
<konradybcio>
Especially the 2016/17ish 8953 vs the newer design
<z3ntu1>
konradybcio: do you have any insight if such reset exists on 6350/7225 and if so, where?
<konradybcio>
not at the moment
<z3ntu1>
I don't see anything downstream on scuba either so I guess it's not in the dts, or at least not discoverable for me
<z3ntu1>
konradybcio: Could you find this out at some point? Or any suggestion for a different solution? I'm just grasping at anything right now but somehow an explicit reset makes sense in my mind if that somehow exists
<aka_[m]>
Luca Weiss: check flat if you have one
<aka_[m]>
I guess I have no lagoon
mripard has quit [Quit: mripard]
dliviu has quit [Remote host closed the connection]
dliviu has joined #linux-msm
<konradybcio>
Luca Weiss: i can try, but no promises
f_ has quit [Remote host closed the connection]
f_ has joined #linux-msm
f_ has quit [Remote host closed the connection]
pespin has quit []
f_ has joined #linux-msm
<aka_[m]>
konradybcio: 855/6115 are all dispcc_base+0x2000