From: Chris Wilson Date: Thu, 27 Mar 2014 08:24:20 +0000 (+0000) Subject: drm/i915: Refactor gen6_set_rps X-Git-Tag: v3.15-rc1~51^2~1^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb64cad1c13a22cd4f3b061720c71f35e44eec20;p=pandora-kernel.git drm/i915: Refactor gen6_set_rps What used to be a short-circuit now needs to adjust interrupt masking in response to user requests for changing the min/max allowed frequencies. This is currently done by a special case and early return, but the next patch adds another common action to take, so refactor the code to reduce duplication. Signed-off-by: Chris Wilson Reviewed-by:Deepak S Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed