drm/i915/selftests: prefer random sizes for the huge-GTT-page smoke tests
authorMatthew Auld <matthew.auld@intel.com>
Fri, 25 Oct 2019 15:37:27 +0000 (16:37 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Oct 2019 21:56:00 +0000 (22:56 +0100)
commit11d723ceb2979953711e8a6c74e4786018e0b108
treee84466817f1be0203bb4a903a012d53e1ce00993
parent23741bc81de98e4223a77cd970e858f249bc0fae
drm/i915/selftests: prefer random sizes for the huge-GTT-page smoke tests

Ditch the dubious static list of sizes to enumerate, in favour of
choosing a random size within the limits of each backing store. With
repeated CI runs this should give us a wider range of object sizes, and
in turn more page-size combinations, while using less machine time.

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/20191025153728.23689-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/huge_pages.c