drm/radeon/kms: add dpm support for sumo asics (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Apr 2013 18:56:21 +0000 (14:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:15:44 +0000 (19:15 -0400)
commit80ea2c129c76a4159a93efeaef4385b6c964dfac
tree68ca5f6056978500e2445e1debca06fa7314b794
parent6596afd48af4d07c8b454849b2fe7e628974f3ef
drm/radeon/kms: add dpm support for sumo asics (v2)

This adds dpm support for sumo asics.  This includes:
- clockgating
- powergating
- dynamic engine clock scaling
- dynamic voltage scaling

set radeon.dpm=1 to enable it.

v2: fix indention

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_pm.c
drivers/gpu/drm/radeon/sumo_dpm.c [new file with mode: 0644]
drivers/gpu/drm/radeon/sumo_dpm.h [new file with mode: 0644]
drivers/gpu/drm/radeon/sumo_smc.c [new file with mode: 0644]
drivers/gpu/drm/radeon/sumod.h [new file with mode: 0644]