[Intel-gfx] [PATCH 25/48] drm/i915: Extract mm switching to function

2013-12-06 Thread Ben Widawsky
From: Ben Widawsky In order to do the full context switch with address space, it's convenient to have a way to switch the address space. We already have this in our code - just pull it out to be called by the context switch code later. v2: Rebased on BDW support. Required adding BDW. Signed-off

[Intel-gfx] [PATCH 25/48] drm/i915: Extract mm switching to function

2013-12-06 Thread Ben Widawsky
From: Ben Widawsky In order to do the full context switch with address space, it's convenient to have a way to switch the address space. We already have this in our code - just pull it out to be called by the context switch code later. v2: Rebased on BDW support. Required adding BDW. Signed-off