drm/i915: Catch premature unpinning of pages
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Oct 2016 10:11:39 +0000 (11:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Oct 2016 11:09:36 +0000 (12:09 +0100)
commit40fa60c8af68640a582f798d26127f02ba122907
tree48a618b58f568daf157df5adc6e5c1fb0d37022a
parent1dc16aac8a537942f47c6df14e7165bbaac26907
drm/i915: Catch premature unpinning of pages

Try to catch the violation of unpinning the backing storage whilst still
bound to the GPU.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20161019101147.17342-5-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.h