]> git.karo-electronics.de Git - linux-beck.git/commit
add common fan control asic callbacks
authorOleg Chernovskiy <algonkvel@gmail.com>
Sun, 7 Dec 2014 21:10:44 +0000 (00:10 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jan 2015 15:38:46 +0000 (10:38 -0500)
commita35a4b2b1818239b54e12b60b6534d5d523eebfc
tree736d209fb9523693f0b24c3c8d2bc283a6e0c066
parent16613743adaf7989151da2e58fef2a71624875ab
add common fan control asic callbacks

Adds 4 callbacks for managing fan state/speed
* fan_ctrl_set_mode - manages fan control mode (nonzero == manual)
* fan_ctrl_get_mode - queries fan control mode
* set_fan_speed_percent - manages fan speed as percentage value
* get_fan_speed_percent - queries fan speed as percentage value

Signed-off-by: Oleg Chernovskiy <algonkvel@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h