drm/radeon/dpm: add infrastructure to force performance levels
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jul 2013 22:38:02 +0000 (18:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Jul 2013 22:09:19 +0000 (18:09 -0400)
commit70d01a5ee29fcb23a6b5948227b1aee212922ade
treef2087b3fa9b4c6942686367c4390b4a04b6904c4
parent67d5ced503db5b44cb82f378c9cb3f0e77a94e7f
drm/radeon/dpm: add infrastructure to force performance levels

This allows you to force specific power levels within a power
state.  Due to hardware restrictions between generations, the
interface is limited to the following 3 selections:

auto: all levels enabled
low: forced to the lowest power level
high: forced to the highest power level

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