drm/i915/gtt: Remove obsolete switch_mm hooks for gen8+
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jun 2018 13:15:52 +0000 (14:15 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jun 2018 14:10:23 +0000 (15:10 +0100)
commit30aacd3fe7f16bc577c612b710de8f047c2c492a
treedd95b7ad236484826c6449808ff0f2af933aef6e
parent8979187a8cfa1fd221a17a06a9ce76e72ae52a05
drm/i915/gtt: Remove obsolete switch_mm hooks for gen8+

As the ppgtt for execlists is tightly coupled to the executing context,
and not switch separately, we no longer use the ppgtt->switch_mm hooks
on gen8+. Remove them.

References: 79e6770cb1f5 ("drm/i915: Remove obsolete ringbuffer emission for gen8+")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180604131552.29370-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c