]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Assert all sg are initialised in fake_dma_object for selftests
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 25 Feb 2017 18:11:19 +0000 (18:11 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 25 Feb 2017 18:54:36 +0000 (18:54 +0000)
commitb3bb82885feb74feadc101a700e64ed7ede84b04
tree1664371aefc07733112bd4b36fe69f899c92e5a6
parent91e32157de148ce37422d8110f6f8a84d05da1ec
drm/i915: Assert all sg are initialised in fake_dma_object for selftests

Double check that we allocated the right amount of scatterlist elements
for our obj->size.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170225181122.4788-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c