drm/amdgpu: unify the interface of amd_pm_funcs
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 6 Sep 2017 10:43:52 +0000 (18:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Sep 2017 03:30:35 +0000 (23:30 -0400)
commitcd4d74648b8021f0d0c7cc31a92fb4ea436a0019
treea709686fe43fe2f35fdccec24a41760cd4da9fb9
parentf93f0c3a7e8635a507b3f084f5f8b48441c79c9d
drm/amdgpu: unify the interface of amd_pm_funcs

put amd_pm_funcs table in struct powerplay for all
asics.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/cik_dpm.h
drivers/gpu/drm/amd/amdgpu/kv_dpm.c
drivers/gpu/drm/amd/amdgpu/si_dpm.c
drivers/gpu/drm/amd/amdgpu/si_dpm.h