drm/i915: Amalgamate gen6_mm_switch() and vgpu_mm_switch()
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jul 2016 07:48:31 +0000 (08:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jul 2016 10:24:59 +0000 (11:24 +0100)
commit8eb95204d926ed0c3d1d588c352adef40ed673f2
tree244c881f423413274486c3ec4af4036eb93a8b2f
parentb1379d49646e791def9a1c81ff7f04d571e71d7c
drm/i915: Amalgamate gen6_mm_switch() and vgpu_mm_switch()

These are identical, so let's just use the same vfunc.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1467618513-4966-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_gem_gtt.c