drm/amd/amdgpu: disable gfxoff to retrieve gfxclk
authorLikun Gao <Likun.Gao@amd.com>
Mon, 20 Apr 2020 15:37:07 +0000 (23:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:13 +0000 (01:59 -0400)
commit258d290c03ceda6540c4c831ae35669d82b95e15
treef91e2af9e9be95def6c4920529f3388ba144d9ad
parent9af9fe5bf3e06471666f26fa5dbc271825d04ae4
drm/amd/amdgpu: disable gfxoff to retrieve gfxclk

For Sienna_Cichlid, GFXOFF state puts gfx dpm into standby mode, then the
gfxclk can't be retireved.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c