From 9280e4ee158792973112ea78c3848bc25609c51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Sat, 3 Dec 2011 14:09:27 +0100 Subject: [PATCH] set_radeon_powersave: added support for auto profile --- tune-profiles/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tune-profiles/functions b/tune-profiles/functions index 14d33a1..fc58775 100644 --- a/tune-profiles/functions +++ b/tune-profiles/functions @@ -270,7 +270,7 @@ disable_snd_ac97_powersave() { # usage: set_radeon_powersave dynpm | default | low | med | high set_radeon_powersave () { [ -e /sys/class/drm/card0/device/power_method ] || return - if [ "$1" = default -o "$1" = low -o "$1" = med -o "$1" = high ]; then + if [ "$1" = default -o "$1" = auto -o "$1" = low -o "$1" = med -o "$1" = high ]; then [ -e /sys/class/drm/card0/device/power_profile ] || return echo profile > /sys/class/drm/card0/device/power_method echo "$1" > /sys/class/drm/card0/device/power_profile