From: Thomas Daniel Date: Wed, 20 Aug 2014 15:29:24 +0000 (+0100) Subject: drm/i915/bdw: Don't execute context reset and switch with Execlists X-Git-Tag: fixes-against-v3.18-rc2~73^2~32^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecdb5fd8619964c8fb4e34703fb8e72eaa8a22cb;p=pandora-kernel.git drm/i915/bdw: Don't execute context reset and switch with Execlists These two functions make no sense in an Logical Ring Context & Execlists world. v2: We got rid of lrc_enabled and centralized everything in the sanitized i915.enable_execlists instead. Signed-off-by: Oscar Mateo v3: Rebased. Corrected a typo in comment for i915_switch_context and added a comment that it should not be called in execlist mode. Added WARN_ON if i915_switch_context is called in execlist mode. Moved check for execlist mode out of i915_switch_context and into callers. Added comment in context_reset explaining why nothing is done in execlist mode. Signed-off-by: Thomas Daniel [danvet: Simplify the patch subject so I can understand it.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed