]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remember to set vma->pages for the preallocated stolen object
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 Aug 2016 10:33:33 +0000 (11:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 Aug 2016 12:55:08 +0000 (13:55 +0100)
commit22ef9c51736483df8bd1033577e2de3b26f9917f
tree2dee84179af9858b7d23d4332f347f3f559d4ea7
parenta7be3dca6d319c0102d36abbe4f70c022939b5e2
drm/i915: Remember to set vma->pages for the preallocated stolen object

In commit 07b27b113a48 ("drm/i915: Always set the vma->pages"), as it
title implies, we always set vma->pages for bound objects. Even before
that, we would set vma->ggtt_view.pages, for globally bound objects.
This was forgotten for the fixup inside the preallocated stolen objects,
which has to recreate a global GTT binding outside of the usual VMA
insertion path

Fixes: 07b27b113a48 ("drm/i915: Always set the vma->pages")
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/1471430013-3449-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_gem_stolen.c