]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Set softmin frequency on idle->busy transition
authorMichał Winiarski <michal.winiarski@intel.com>
Mon, 20 Jun 2016 09:58:27 +0000 (11:58 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Jun 2016 10:39:42 +0000 (11:39 +0100)
commit2b83c4c49abc908ce2863df71067079a6ad8dd86
treee9f3ac10fafc8162fbf6789cf09bbb34b4a3cd3a
parent0b63bb1412bf9b2d72d60e38d07bd9dfe657a382
drm/i915: Set softmin frequency on idle->busy transition

If the GPU load is low enough, it's possible that we'll be stuck at idle
frequency rather than transition into softmin frequency requested by
userspace.

v2: Use intel_set_rps, drop vlv_set_idle
v3: Back to vlv_set_idle, clamp to valid range
v4: Place intel_set_rps at the end

References: https://bugs.freedesktop.org/show_bug.cgi?id=89728
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1466416707-12075-1-git-send-email-michal.winiarski@intel.com
drivers/gpu/drm/i915/intel_pm.c