dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 85021] radeon: Allow one to set "mid" to power_dpm_force_performance_level
Date: Wed, 24 Sep 2014 03:00:20 +0000	[thread overview]
Message-ID: <bug-85021-2300-BYmf9CkI46@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-85021-2300@https.bugzilla.kernel.org/>

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

--- Comment #6 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to higuita from comment #2)
> Auto will jump from level 0 to level 2, i never see level 1 being used in
> any place/app other than a maximized glxgears.
> 
> tvtime or chrome+youtube+thml5 will jump the level from 0 to 2, but if i
> force low i see no problem at all, no drop frames, no lag. Only if i try to
> open more things at same time (many terminals doing dmesg, many videos
> playing, some 3d game) it starts to get slower. 
> so clearly the high is too much, low is enough for most use cases and mid
> would be perfect.  Auto will not put it in mid.
> 

It's all based on GPU load.  The hw steps through the performance levels based
on demand.

> That is why i wanted to manually setup the mid level, the computer keeps
> cool and the gpu power is good enough for almost all load (other than heavy
> 3D games)
> 
> also, its a little strange that low and high is supported in dpm setting,
> but not the mid... profile setting had the low, mid, high and the auto

The problem is twofold:

1. Most asics do not provide an easy way to lock the performance level to just
the mid state.

2. Only relatively old asics support a real mid performance level.  The last
few generations only support low and high limits and the hw changes through a
large number of dynamically generated states in between.

The only way to do that would be to dynamically generate a new state with mid
being the high state (e.g., low mid mid, or low mid, etc. depending on the
asic) and then switch to that state and lock it into the "high" performance
level of that state.  Unforunately, a full state change is a relatively heavy
operation compared to just locking the performane level of an already loaded
state.

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

  parent reply	other threads:[~2014-09-24  3:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  2:14 [Bug 85021] New: radeon: Allow one to set "mid" to power_dpm_force_performance_level bugzilla-daemon
2014-09-23 13:12 ` [Bug 85021] " bugzilla-daemon
2014-09-23 23:03 ` bugzilla-daemon
2014-09-24  1:25 ` bugzilla-daemon
2014-09-24  1:28 ` bugzilla-daemon
2014-09-24  2:49 ` bugzilla-daemon
2014-09-24  3:00 ` bugzilla-daemon [this message]
2014-09-24 22:53 ` 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-85021-2300-BYmf9CkI46@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;
as well as URLs for NNTP newsgroup(s).