drm/radeon/dpm: fixup dynamic state adjust for sumo
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Nov 2012 01:27:50 +0000 (20:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:15:51 +0000 (19:15 -0400)
commit7cf36de9eb584e7d0b4956b1c17d46a083bb30c4
tree0bff80e8d4764b4f60f11261875ada9968b5d139
parent5ca302f70171ca90b43166cbf975a4b1d883b127
drm/radeon/dpm: fixup dynamic state adjust for sumo

Use a dedicated copy of the current power state since
we may have to adjust it on the fly.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_pm.c
drivers/gpu/drm/radeon/sumo_dpm.c
drivers/gpu/drm/radeon/sumo_dpm.h