drm/i915: error capture with no ggtt slot
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 29 Oct 2019 09:58:53 +0000 (09:58 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Oct 2019 10:35:47 +0000 (10:35 +0000)
commit895d8ebeaa92435e4214a026fa22763645564fab
tree5d5c93400bdc9f48532c0dfd167102ea0e224479
parentcd20c70bb05e31a57bc5ccd10f8f188bb3508de3
drm/i915: error capture with no ggtt slot

If the aperture is not available in HW we can't use a ggtt slot and wc
copy, so fall back to regular kmap.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191029095856.25431-4-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gpu_error.c