[Intel-gfx] [PATCH 16/16] drm/i915: Allow RPS waitboosting to use max GPU frequency
Daniel Vetter
daniel at ffwll.ch
Mon May 4 07:51:24 PDT 2015
On Mon, Apr 27, 2015 at 01:41:27PM +0100, Chris Wilson wrote:
> Ignore the restriction imposed by the user for when the GPU is stalling
> the clients and dropping frames. We will return back to the user limits
> immediately once the stall is over.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Unsure about this one since I don't know who's all using the sysfs
interface. Probably needs acks from people who actually do use it that we
don't accidentally break their setup - which could happen right at the
border where we might miss an occasional frame every few seconds or so.
-Daniel
> ---
> drivers/gpu/drm/i915/intel_pm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> index 0cc9e95f70d3..9205b5fe2186 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -4161,7 +4161,7 @@ void intel_rps_boost(struct drm_i915_private *dev_priv,
> rps = NULL;
>
> mutex_lock(&dev_priv->rps.hw_lock);
> - val = dev_priv->rps.max_freq_softlimit;
> + val = dev_priv->rps.max_freq;
> if (dev_priv->rps.enabled &&
> dev_priv->mm.busy &&
> dev_priv->rps.cur_freq < val &&
> --
> 2.1.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list