drm/i915: Lift has-pinned-pages assert to caller of ____i915_gem_object_get_pages
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Sep 2017 13:52:20 +0000 (14:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Sep 2017 21:12:10 +0000 (22:12 +0100)
commit88c880bbdebe43ae13599d678b35c565e7563193
tree0d51220cf55cbfc303a9b8b9e4980205c3b47478
parent8f067837c4b713ce2e69be95af7b2a5eb3bd7de8
drm/i915: Lift has-pinned-pages assert to caller of ____i915_gem_object_get_pages

i915_gem_object_attach_phys() is trying to swap out its shmemfs pages
for a new set of physically contiguous pages, but unfortunately triggers
an assert inside get-pages.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102561
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20170906135220.13508-1-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/i915_gem.c