You'd have to build a new kernel to modify the profile
at the moment.  I believe what we have currently is the profile
where the clocks are left untouched from what the bios sets them to
on boot.

In terms of code it is sys/dev/pci/drm/radeon/radeon_pm.c

adding something like the the following to the end of radeon_pm_init()
might be enough to set a different profile but I've not tested it.

rw_enter_write(&rdev->pm.rwlock);
rdev->pm.profile = PM_PROFILE_LOW;
radeon_pm_update_profile(rdev);
radeon_pm_set_clocks(rdev);
rw_exit_write(&rdev->pm.rwlock)

On Sat, Jun 21, 2014 at 08:08:33PM +0200, Julian Andrej wrote:
> Do you mind telling me where to find the power profile in the sources?
> Or is it not possible at the moment even with changing and recompiling
> the kernel?
> 
> On 21 June 2014 19:03, Jonathan Gray <j...@jsg.id.au> wrote:
> > On Sat, Jun 21, 2014 at 06:19:51PM +0200, Julian Andrej wrote:
> >> Hello,
> >>
> >> is it possible to show/change the current fan speed, temperature and
> >> clock of my video card? (ATI Radeon HD7770)
> >>
> >> `sysctl hw` shows sensors of my cpu and north bridge which seem
> >> correct. I'm using the 5.5 release.
> >>
> >> I'm asking because i want to control the fan speed, which is much
> >> lower with the proprietary driver for example on linux.
> >
> > There is a temperature sensor on some models but it isn't exposed via
> > the sensors framework at the moment.
> >
> > The code has a notion of profiles as mentioned here:
> > http://xorg.freedesktop.org/wiki/RadeonFeature/#index3h2
> >
> > The choice of profile isn't exposed to userland currently.
> >
> > Newer upstream versions of the radeon code default to dynamic
> > power control managed by the hardware (dpm) which apparently
> > helps reduce noise quite a bit but that will have to wait until
> > we have newer drm code.

Reply via email to