<Viciouss>
yuq825: I applied your updated suspend patches, there is no change. the clock rate of g3d is at 24_000_000 before and after suspend, so this doesn't seem to be the issue.
<yuq825>
ok, then so far I don't know what's wrong
<yuq825>
when resume fail, how about restart kmscube after it?
<yuq825>
after gp fail, gpu will do reset, I'd like to know if the gpu reset will fix your problem
<Viciouss>
I do not leave kmscube open, I always close it, then suspend and resume and start it again
<yuq825>
so the kmscube won't work any more after suspend/resume?
<Viciouss>
yes, can't start it anymore, it always produces the entries in the kernel log and there is no visuals on the screen
<yuq825>
how about rmmod/modprobe lima?
<yuq825>
reload lima kernel module
<Viciouss>
I don't have it as module currently but I could give it a try
<bshah>
yuq825: I will test it up, but probably tomorrow or monday
<Viciouss>
unloading the kernel module writes this to the kernel log: lima 13000000.gpu: timeout wait pmd cmd
<yuq825>
ok, than may be the remove line test can also fix it
<bshah>
yuq825: A64 (Pinephone)
chewitt has joined #lima
<Viciouss>
yuq825: removing line 112 in lima_pmu.c does not fix the issue
<yuq825>
how about remove the usage of lima_devfreq_suspend/resume?
<Viciouss>
again mmu command 2 timeout
<yuq825>
I see in mali driver that for some SoC we can't power up GPU ips all at once, may be exynos is one of them, would you please check in lima_pmu_hw_init to do power up bit-by-bit for the stat variable?
<yuq825>
and check the power up result after done
<Viciouss>
I just added some debug output to lima_pmu_hw_init and it looks like it's only called on boot but not on resume/suspend
<yuq825>
wired, do you have CONFIG_PM_SLEEP and CONFIG_PM?
<yuq825>
I've updated the topic/add-pm branch which should fix the pmu timeout problem
Putti has quit [Remote host closed the connection]
wiewo has quit [Ping timeout: 256 seconds]
wiewo has joined #lima
Putti has joined #lima
yuq825 has quit [Quit: Leaving.]
cwabbott has quit [Ping timeout: 272 seconds]
cwabbott has joined #lima
adjtm has quit [Remote host closed the connection]
adjtm has joined #lima
adjtm has quit [Quit: Leaving]
cwabbott has quit [Ping timeout: 260 seconds]
dddddd has joined #lima
<Viciouss>
I have CONFIG_PM and CONFIG_PM_SLEEP configured, but the resume and suspend methods are not called. it's not only the pmu suspend but the whole suspend block from lima_drv.c is not called at all, that's indeed strange