aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-01-10 11:15:22 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-01-10 13:28:45 +0000
commit7f9e20ef0f4689d3a47068cd4c32b40982ad9941 (patch)
tree705b04ee8b43dd99baa45e49fd62b5c68d111e73 /drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
parentd78a600f703bd04e93009b00e81ffe5ad666729a (diff)
drm/i915: Guard error capture against unpinned vma
If we find an incompletely setup vma inside the request/engine at the time of a hang, it may not have vma->pages initialised, so skip capturing the object before we iterate over NULL. Spotted by Matthew in preparation for using unpinned vma to track engine state. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190110111522.11023-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c')
0 files changed, 0 insertions, 0 deletions