From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 70651] cannot write to power_dpm_force_performance_level: invalid argument (radeon 7730m)
Date: Sun, 23 Feb 2014 22:36:18 +0000 [thread overview]
Message-ID: <bug-70651-2300-arKWXiouzs@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-70651-2300@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=70651
--- Comment #5 from Fabio Sangiovanni <sjh+bugzillakernel@sanjioh.org> ---
hi, I'm sorry but the patch doesn't seem to work to me.
I've applied it to 3.13.3:
root@darkstar:/usr/src/linux# patch -p1 < patch.txt
patching file drivers/gpu/drm/radeon/radeon_pm.c
Hunk #7 succeeded at 1580 (offset -20 lines).
This is what I get:
root@darkstar:~# cat /sys/kernel/debug/vgaswitcheroo/switch
0:DIS: :DynOff:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0
root@darkstar:~# cat /sys/class/drm/card0/device/power_dpm_state
balanced
root@darkstar:~# cat
/sys/class/drm/card0/device/power_dpm_force_performance_level
auto
root@darkstar:~# echo 'high' >
/sys/class/drm/card0/device/power_dpm_force_performance_level
-bash: echo: write error: Invalid argument
root@darkstar:~# echo 'low' >
/sys/class/drm/card0/device/power_dpm_force_performance_level
-bash: echo: write error: Invalid argument
root@darkstar:~# echo 'auto' >
/sys/class/drm/card0/device/power_dpm_force_performance_level
-bash: echo: write error: Invalid argument
root@darkstar:~# cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 575000 kHz
current engine clock: 210280 kHz
default memory clock: 900000 kHz
current memory clock: 00 kHz
voltage: 825 mV
PCIE lanes: 16
Plus, I've noticed this (unsure if it's missing some sort of parsing):
root@darkstar:~# echo 'batteryxxxx' >
/sys/class/drm/card0/device/power_dpm_state
root@darkstar:~# cat /sys/class/drm/card0/device/power_dpm_state
battery
(Same result with 'performancexxxx' and 'balancedxxxx')
It's ok with random letters as prefix:
root@darkstar:~# echo 'xxxxbattery' >
/sys/class/drm/card0/device/power_dpm_state
-bash: echo: write error: Invalid argument
Please let me know if I can help somehow.
Thanks!
--
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2014-02-23 22:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-16 0:25 [Bug 70651] New: cannot write to power_dpm_force_performance_level: invalid argument (radeon 7730m) bugzilla-daemon
2014-02-16 10:23 ` [Bug 70651] " bugzilla-daemon
2014-02-21 14:34 ` bugzilla-daemon
2014-02-21 15:15 ` bugzilla-daemon
2014-02-21 15:49 ` bugzilla-daemon
2014-02-23 22:36 ` bugzilla-daemon [this message]
2014-02-24 13:29 ` bugzilla-daemon
2014-02-24 15:21 ` bugzilla-daemon
2014-02-24 15:26 ` bugzilla-daemon
2014-02-25 20:24 ` bugzilla-daemon
2014-02-28 9:03 ` bugzilla-daemon
2014-02-28 14:29 ` bugzilla-daemon
2014-03-01 8:51 ` bugzilla-daemon
2014-04-25 14:14 ` bugzilla-daemon
2014-09-29 18:34 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-70651-2300-arKWXiouzs@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.