]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Fill all the drm_vma_manager holes
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2019 12:27:06 +0000 (12:27 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2019 12:41:37 +0000 (12:41 +0000)
commit2d3fe718783508fe74b610463904fe4a639138ab
treeccf5b74af07921f375d5427370fbf998d135a22d
parentb6fe31e2139b0bf65e41e445c54e4774a51b5f0e
drm/i915/selftests: Fill all the drm_vma_manager holes

To test mmap_offset_exhaustion, we first have to fill the entire vma
manager leaving a single page. Don't assume that the vma manager is not
already fragment, and fill all the holes.

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/20191111122706.28292-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c