]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Always set the vma->pages
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 09:48:47 +0000 (10:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 10:00:54 +0000 (11:00 +0100)
commitb6c0843acf8448d3c023a634307e348b1aadae0f
treea0807f2437c21cc7bb8197740c0ffaf4990387b4
parent941997a47d066f490cfaf79b54f5ffe2e9693458
drm/i915: Always set the vma->pages

Previously, we would only set the vma->pages pointer for GGTT entries.
However, if we always set it, we can use it to prettify some code that
may want to access the backing store associated with the VMA (as
assigned to the VMA).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1471254551-25805-8-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h