RE: [PATCH v2] drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume

2021-12-13 Thread Quan, Evan
Subject: [PATCH v2] drm/amd/pm: skip setting gfx cgpg in the s0ix suspend- > resume > > In the s0ix entry need retain gfx in the gfxoff state,so here need't > set gfx cgpg in the S0ix suspend-resume process. Moreover move the S0ix > check into SMU12 can simplify the code cond

[PATCH v2] drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume

2021-12-13 Thread Prike Liang
In the s0ix entry need retain gfx in the gfxoff state,so here need't set gfx cgpg in the S0ix suspend-resume process. Moreover move the S0ix check into SMU12 can simplify the code condition check. Signed-off-by: Prike Liang --- v1->v2: - Move s0ix check into SMU12. --- drivers/gpu/drm/amd/pm/sws