From: Chris Wilson Date: Thu, 13 Mar 2014 12:00:29 +0000 (+0000) Subject: drm/i915: Consolidate forcewake resetting to a single function X-Git-Tag: v3.15-rc1~51^2~18^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0294ae7b44bba7ab0d4cef9a8736287f38bdb4fd;p=pandora-kernel.git drm/i915: Consolidate forcewake resetting to a single function We have two paths that try to reset the forcewake registers back to known good values, with slightly different semantics and levels of paranoia. Combine the two by passing a parameter to either restore the forcewake status or to clear our bookkeeping, and raise the paranoia level to max. Signed-off-by: Chris Wilson Reviewed-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed