public inbox for dri-devel@lists.freedesktop.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 70651] New: cannot write to power_dpm_force_performance_level: invalid argument (radeon 7730m)
Date: Sun, 16 Feb 2014 00:25:22 +0000	[thread overview]
Message-ID: <bug-70651-2300@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=70651

            Bug ID: 70651
           Summary: cannot write to power_dpm_force_performance_level:
                    invalid argument (radeon 7730m)
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.13.3
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: sjh+bugzillakernel@sanjioh.org
        Regression: No

Created attachment 126301
  --> https://bugzilla.kernel.org/attachment.cgi?id=126301&action=edit
3.13.3 dmesg

hi,

I'm using a notebook with intel ivy bridge + amd radeon 7730m hybrid graphics.
With the latest stable kernel (3.13.3) I can't echo (low, high, auto) to
/sys/class/drm/card0/device/power_dpm_force_performance_level:

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 
low /sys/class/drm/card0/device/power_dpm_force_performance_level
root@darkstar:~# echo "auto"
/sys/class/drm/card0/device/power_dpm_force_performance_level 
auto /sys/class/drm/card0/device/power_dpm_force_performance_level

I cannot say it's a regression since I haven't tried previous kernels.
I can echo "battery", "performance" or "balanced" to
/sys/class/drm/card0/device/power_dpm_state


Some other info:

root@darkstar:~# cat
/sys/class/drm/card0/device/power_dpm_force_performance_level
auto

root@darkstar:~# lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor
Graphics Controller (rev 09)
01:00.0 VGA compatible controller: AMD/ATI [Advanced Micro Devices, Inc.]
Chelsea LP [Radeon HD 7730M] (rev ff)

root@darkstar:~# cat /sys/kernel/debug/vgaswitcheroo/switch 
0:DIS: :DynOff:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0

root@darkstar:~# for i in /sys/class/drm/card0/device/power/*; do echo "$i:
$(cat $i)"; done
/sys/class/drm/card0/device/power/autosuspend_delay_ms: 5000
/sys/class/drm/card0/device/power/control: auto
/sys/class/drm/card0/device/power/runtime_active_time: 33415
/sys/class/drm/card0/device/power/runtime_status: suspended
/sys/class/drm/card0/device/power/runtime_suspended_time: 934700
/sys/class/drm/card0/device/power/wakeup: disabled
/sys/class/drm/card0/device/power/wakeup_abort_count: 
/sys/class/drm/card0/device/power/wakeup_active: 
/sys/class/drm/card0/device/power/wakeup_active_count: 
/sys/class/drm/card0/device/power/wakeup_count: 
/sys/class/drm/card0/device/power/wakeup_expire_count: 
/sys/class/drm/card0/device/power/wakeup_last_time_ms: 
/sys/class/drm/card0/device/power/wakeup_max_time_ms: 
/sys/class/drm/card0/device/power/wakeup_total_time_ms:

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

(This last output is different from the ones I've seen around)

Am I missing something?
dmesg attached
Thanks

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2014-02-16  0:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-16  0:25 bugzilla-daemon [this message]
2014-02-16 10:23 ` [Bug 70651] cannot write to power_dpm_force_performance_level: invalid argument (radeon 7730m) 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
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@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox