drm/radeon/dpm: rework thermal state handling
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Jul 2013 18:59:48 +0000 (14:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:30:00 +0000 (16:30 -0400)
commit60320347617c0d97de7dffabcdf617d35cf57b46
treede0be1b27f819d78039e5b3ccfa581ee5b3b4cac
parentce3537d57196dfc7094755532e1ffc1af133ca5f
drm/radeon/dpm: rework thermal state handling

1. Handle the the thermal state directly in the work handler.
Remove the state selection function since nothing else uses it now.
2. On some asics there is no thermal state, so we just use a regular
state and force the low performance state.

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