From eb64cad1c13a22cd4f3b061720c71f35e44eec20 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 27 Mar 2014 08:24:20 +0000 Subject: [PATCH] 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-format-patch failed