OSDN Git Service

drm/amd/powerplay: add is_dpm_running for SMU11
authorChengming Gui <Jack.Gui@amd.com>
Thu, 14 Feb 2019 07:28:23 +0000 (15:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:01 +0000 (15:04 -0500)
commit9ebbc1bb02c0ed03db9113d5b63011041e5870b3
tree60f646332651876a7b03d0e471de88efe42846d5
parentbee71d26d2233961dc6c8d18fce0ecf38905cd45
drm/amd/powerplay: add is_dpm_running for SMU11

add is_dpm_running function to support smu s3 case.

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c