Hi Akhil, I tested v2 on a OnePlus 6 (SDM845, A630) on a 7.1-rc1 based kernel.
The series does not apply there, because it builds on the separate_gpu_kms auto mode from next. I dropped 4/8 and used msm_gpu_no_components() in place of msm_separate_gpu_kms_components() in 1/8, 5/8, 6/8 and 8/8. In 6/8 I moved of_node_put(node) in a6xx_gpu_init() after the gmu_is_wrapper check, as node is not __free() there. Without the series this phone needs fw_devlink.sync_state=timeout: nothing binds to the GMU, so gcc and gpucc never get sync_state and their GDSCs stay on. With the series and without that option: - the GMU binds to adreno_gmu, the gcc and gpucc links to it are active, and both reach state_synced without "Timed out. Forcing sync_state()" - the GDSCs end up in the same state as with the timeout (the hlos1_vote_*_tbu GDSCs and ufs_card_gdsc off, gpu_cx and gpu_gx off when idle) - the UI renders under KWin, GPU devfreq changes frequency, and there were no GMU or HFI errors over 332 suspend/resume cycles - in a 7 hour suspend test the SoC was in CX collapse for 87 % of the suspended time, the same as with the timeout option Tested-by: Michael Auer <[email protected]> # sdm845-oneplus-enchilada Michael
