From: Ben Widawsky Date: Fri, 6 Dec 2013 22:11:27 +0000 (-0800) Subject: drm/i915: Remove extraneous mm_switch in ppgtt enable X-Git-Tag: v3.15-rc1~51^2~62^2~80^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2ff7192f3cd77fcace0adf99a47ff5e30d6e0d3;p=pandora-kernel.git drm/i915: Remove extraneous mm_switch in ppgtt enable Originally this commit message said: Now that do_switch does the mm switch, and we always enable the aliasing PPGTT, and contexts at the same time, there is no need to continue doing this during PPGTT enabling. Since originally writing the patch however, I introduced the concept of synchronous mm switching (using MMIO). Since this is generally not recommended in the spec (for reasons unknown), I've isolated its usage as much as possible. As such the "extraneous" switch only ever will occur when we have full PPGTT. Signed-off-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed