drm/radeon/dpm: add pre/post_set_power_state callback (sumo)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2013 19:40:21 +0000 (15:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:16:18 +0000 (19:16 -0400)
commit422a56bc8a5aaa6d48b244a1ba0484ef4d62a7ac
tree8c25a9e64134c9d1a7e9fb0c6fe6f298a7f2a2f5
parent98243917d7cd64be923aad76c563de7e23b0b386
drm/radeon/dpm: add pre/post_set_power_state callback (sumo)

This properly implemented dynamic state adjustment by
using a working copy of the requested and current
power states.

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