drm/amd/powerplay: add Carrizo dpm support
authorJammy Zhou <Jammy.Zhou@amd.com>
Wed, 22 Jul 2015 02:41:30 +0000 (10:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:10 +0000 (16:42 -0500)
commitbdecc20a986bbe527cea0775f265d1927083410e
tree9abc512947e2271c9979564358911363d25a4a2f
parent4630f0faae80fd2252cc85accdbc8353b0444dd9
drm/amd/powerplay: add Carrizo dpm support

This patch enables basic DPM support for Carrizo.
DPM handles dynamic clock and voltage scaling.

v3: delete peci sub-module
v2: use cgs interface directly
    correct define SMU_EnabledFeatureScoreboard_SclkDpmOn

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/Makefile
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c