]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f8db4d9ee1113c546c3936d3275f00d23008f10
treee84466817f1be0203bb4a903a012d53e1ce00993
parent2c639e6f3f0b2b4cfa78d664dd972d073fe5258d
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