Fix typo in allowed values for radeon_powersave
The correct spelling is 'mid', not 'med'. Writing 'med' to the power_profile sysfs file results in an invalid argument error: 2013-03-31 12:08:41,474 ERROR tuned.utils.commands: Writing to file /sys/class/drm/card0/device/power_profile error: [Errno 22] Invalid argument
This commit is contained in:
parent
6af69bbff7
commit
e26692219d
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class VideoPlugin(base.Plugin):
|
|||
log.warn("radeon_powersave is not supported on '%s'" % device)
|
||||
return
|
||||
|
||||
if value in ["default", "auto", "low", "med", "high"]:
|
||||
if value in ["default", "auto", "low", "mid", "high"]:
|
||||
tuned.utils.commands.write_to_file(sys_files["method"], "profile")
|
||||
tuned.utils.commands.write_to_file(sys_files["profile"], value)
|
||||
elif value == "dynpm":
|
||||
|
|
|
|||
Loading…
Reference in a new issue