commit | edcf284bfe9c94eab2923b13cfff7456c0dc7dc6 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Apr 07 16:20:29 2015 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Apr 10 08:56:01 2015 +0200 |
tree | e50f2d4799757730e797326a4b02ee0b02b49750 | |
parent | 8fb55197e64d5988ec57b54e973daeea72c3f2ff [diff] |
drm/i915: Fix computation of last_adjustment for RPS autotuning The issue is that by computing the last_adj value after applying the clamping, we can end up with a bogus value for feeding into the next RPS autotuning step. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Deepak S <deepak.s@linux.intel.com> Reviewed-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>