drm/i915: Assert that we never create a vma for the aliasing_ppgtt
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Feb 2017 11:19:33 +0000 (11:19 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Feb 2017 12:22:15 +0000 (12:22 +0000)
commite1cc3db020c7ef864b7aa02d5e193a110f8f3450
treef7d73a21ccf83d20202b6f0eda813565d29a394b
parent969bb72cbfd906d347cf76dc9b8c8dbaf83ba27a
drm/i915: Assert that we never create a vma for the aliasing_ppgtt

The aliasing_ppgtt is just a container for the HW context that mirrors
the global gtt. It should never be used directly, so assert if we make
the mistake of trying to allocate a VMA for it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170209111933.12420-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_vma.c