From: Chris Wilson Date: Tue, 7 Apr 2015 15:20:29 +0000 (+0100) Subject: drm/i915: Fix computation of last_adjustment for RPS autotuning X-Git-Tag: omap-for-v4.2/fixes-rc1^2~17^2~58^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edcf284bfe9c94eab2923b13cfff7456c0dc7dc6;p=pandora-kernel.git 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 Cc: Daniel Vetter Cc: Deepak S Reviewed-by: Deepak S Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed