drm/radeon/dpm: add pre/post_set_power_state callback (BTC)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Jan 2013 19:17:23 +0000 (14:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:16:19 +0000 (19:16 -0400)
commite8a9539fa098623ae3af1e077b49794917ea073d
tree03ad49d920c3e668bb543e57fcac2527367a28a7
parenta284c48ae7217fc362b851c68f74d7b414061704
drm/radeon/dpm: add pre/post_set_power_state callback (BTC)

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/btc_dpm.c
drivers/gpu/drm/radeon/cypress_dpm.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h