]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite20ceedd8633126513cf02541e9d9a84542224a0
treedd95b7ad236484826c6449808ff0f2af933aef6e
parent2ee66f26be2b6ddb26144cf0eb1fca312079a85a
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: 427f3b1da322 ("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