]> Pileus Git - ~andy/linux/commit
drm/radeon: expose DPM thermal thresholds through sysfs
authorJean Delvare <jdelvare@suse.de>
Tue, 10 Sep 2013 08:32:41 +0000 (10:32 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:36 +0000 (11:44 -0400)
commit6ea4e84d209c1b49c90b52efff2ab0b1824619a6
tree57e39043de3112efa98da0902371ea9394ddc556
parent3e4e21292d0089d4c87b933ab05c67824e940b9e
drm/radeon: expose DPM thermal thresholds through sysfs

The hwmon sysfs interface allows exposing temperature limits. The "max"
and "min" thresholds will be exposed as a critical high limit and its
hysteresis value, respectively. This gives the user a better idea of how
well cooling is doing and whether it is sufficient.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: David Airlie <airlied@linux.ie>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_pm.c