From: Imre Deak Date: Mon, 14 Apr 2014 17:24:28 +0000 (+0300) Subject: drm/i915: move getting struct_mutex lower in the callstack during GPU reset X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~56^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc1d0136a48d7ad858b5158413def90b9d818503;p=pandora-kernel.git drm/i915: move getting struct_mutex lower in the callstack during GPU reset Getting struct_mutex around the whole intel_enable_gt_powersave() function is not necessary, since it's only needed for the ILK path therein. This will make intel_enable_gt_powersave() useable on the RPM resume path for >=GEN6 (added in an upcoming patch to reset the RPS state during RPM resume), where we can't (and need not) get this mutex. Signed-off-by: Imre Deak Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed