drm/i915: Disallow direct CPU access to stolen pages for relocations
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 16:16:54 +0000 (17:16 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 21:36:47 +0000 (22:36 +0100)
commit9e53d9be0d9e09f834d3bdfccafb8330f2597e6c
tree33589b0d316fb2c4146bfb43acddde37f790c51d
parente8cb909ac3abbcac5184825638903a2b9a225725
drm/i915: Disallow direct CPU access to stolen pages for relocations

As we cannot access the backing pages behind stolen objects, we should
not attempt to do so for relocations.

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