drm/i915: Call the unlocked version of i915_gem_object_get_pages()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Jul 2017 18:16:02 +0000 (19:16 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:56:11 +0000 (09:56 +0200)
commit8fb6a5df4612757d6aa4218750aa3ecaca609bd0
tree48facd71c727d88b9da6b485944ac81446f31ef0
parent8eeb79060b3bea3790e02488d4ebf322487bf8af
drm/i915: Call the unlocked version of i915_gem_object_get_pages()

When we hold for the lock for swapping out the shmem pages for the
physically contiguous pages, we have to call the unlocked version of
get_pages!

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101934
Fixes: 35d23516946e ("drm/i915: Make i915_gem_object_phys_attach() use obj->mm.lock more appropriately")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20170726181602.23527-2-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c