drm/i915: Fix partial GGTT faulting
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 16:17:02 +0000 (17:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 21:36:51 +0000 (22:36 +0100)
commita61007a83a4671da77210790997d5c8c92ed87ea
tree18369501c2793e1e783175c78ea607e286e88ed0
parent03af84fe7f48937941fbb4dcd6cf66c68ae0edd4
drm/i915: Fix partial GGTT faulting

We want to always use the partial VMA as a fallback for a failure to
bind the object into the GGTT. This extends the support partial objects
in the GGTT to cover everything, not just objects too large.

v2: Call the partial view, view not partial.

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/20160818161718.27187-23-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c