drm/amd/powerplay: Add CG and PG support for tonga
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 15 Oct 2015 13:12:58 +0000 (21:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:23 +0000 (16:42 -0500)
commit0859ed3db96c302f5d1b459e963737301a4080b2
tree5fe207b686fc841872fc5262df9707b8ee0f96ae
parentb1132013ce4c8263e1692841223ff022cf8bf18f
drm/amd/powerplay: Add CG and PG support for tonga

Implement clock and power gating support for tonga.  On Tonga
this is handles by the SMU rather than direct register settings
in the driver.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-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/tonga_clockpowergating.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_clockpowergating.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h