drm/radeon/dpm: track whether we are on AC or battery
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Nov 2012 15:56:57 +0000 (10:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:15:51 +0000 (19:15 -0400)
commit5ca302f70171ca90b43166cbf975a4b1d883b127
tree867de5acdcf9fb7c4937fedb668d42a1e682b632
parent61b7d6011054ebb63a18ef8fafe4ccf1b2039b61
drm/radeon/dpm: track whether we are on AC or battery

Driver needs this information to validate power states.

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