drm/radeon/dpm: add pre/post_set_power_state callback (cayman)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Jan 2013 19:35:39 +0000 (14:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:16:20 +0000 (19:16 -0400)
commitfee3d744bf3a0484f2f3ece587cccdffe33f2a15
tree4f44c34353ade97ad555ffa20e78239963f8bf69
parente8a9539fa098623ae3af1e077b49794917ea073d
drm/radeon/dpm: add pre/post_set_power_state callback (cayman)

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