]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c4e04af791b5e9870adb45fc7ff791448208465
treede0be1b27f819d78039e5b3ccfa581ee5b3b4cac
parent87c1ab85d98e8b55f6a6ae497c570130015eaa53
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