[Bug 76321] Incorrect hwmon temperature when radeon card is turned off

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat Aug 9 13:33:19 PDT 2014


--- Comment #8 from Pali Rohár <pali.rohar at gmail.com> ---
Created attachment 146011
  --> https://bugzilla.kernel.org/attachment.cgi?id=146011&action=edit
patch for get/set dpm state

(In reply to Alex Deucher from comment #5)
> (In reply to Pali Rohár from comment #4)
> > 
> > And for power_dpm_state & power_dpm_force_performance_level: I understand
> > that it cannot be changed when card is turned off (I see that it also
> > disappear from PCI bus space), but I would like to see option to set
> > "initial" dpm state/level which will be used when card is turned om again.
> > This can be usefull for scripts which setting powersave options depending on
> > hostplugging AC adapter. What do you think about using same sysfs entries
> > for it?
> That's fine if someone wants to implement it.  It's not a high priority for
> me at the moment.

It is implemented in attached patch. I tested it and it working fine on my
system. My scripts automacitally change dpm state to battery when power adapter
is unplugged. And when radeon card is powered on it initialize in battery state
(even if last state was performance before turning card off).

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

More information about the dri-devel mailing list