drm/radeon/dpm: add pre/post_set_power_state callback (TN)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Jan 2013 18:53:40 +0000 (13:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:16:18 +0000 (19:16 -0400)
commita284c48ae7217fc362b851c68f74d7b414061704
treed26e64601b9fbd29ed7e144c957b3e97b8404813
parent422a56bc8a5aaa6d48b244a1ba0484ef4d62a7ac
drm/radeon/dpm: add pre/post_set_power_state callback (TN)

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