I diffed our 8 avp related bins
nvrm_avp.bin nvrm_avp_0ff00000.bin nvrm_avp_8e000000.bin nvrm_avp_9e000000.bin nvrm_avp_00001000.bin == nvrm_avp_be000000.bin nvrm_avp_e0000000.bin == nvrm_avp_eff00000.bin
We had 2 the same and 6 different. I swapped out all 8 for the ones on scanno's git and like magic sleep is working... I'm just happy its finally working again
I really really appreciate the help you guys are on this thread!
EDIT: guess not... Ok this might sound crazy but I have to watch a video FIRST before I attempt to sleep my tablet. If I reboot my tablet and put it to sleep right away it does the sleep loop. As soon as I watch a video and then sleep its fine until I restart again. Ejtagle do you have any thoughts on this?
Lines 1081-3250 = Before video
Lines 3293-3407 = Video
Lines 3409-3493 = SLEEP
Line 3499 = Proof it stayed in LP1
Well, the AVP processor is initialized the first time you see a video... Before that, it should be on a reset state... Quite strange, i may say... Either a kernel bug (perhaps we also have this issue, as there are reports of non sleeping vegas... But, when you stop watching videos, then the AVP is reset ... This seems to be an actual bug on the avp code..
Either we force to load the AVP firmware (just an small app loading openMax), or we figure out how to fix the AVP driver (perhaps calling the uninitialization code at startup...) ...
The other option is to disable timer2 until the first firmware load command...
Edited by ejtagle, 06 February 2013 - 06:39 PM.