drm/i915/selftests: rein in igt_write_huge
authorMatthew Auld <matthew.auld@intel.com>
Thu, 23 Nov 2017 13:54:20 +0000 (13:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Nov 2017 16:09:11 +0000 (16:09 +0000)
commit621d07b20eb8e7c47381178fc0f5724caa49afcd
treeb78b4f1a6737226c2dddd02b37638b9c7804eae6
parent6a44e1772177ed9f987447bb6c601ee7451eeb52
drm/i915/selftests: rein in igt_write_huge

Rather than repeat the test for each engine, which takes a long time,
let's try alternating between the engines in some randomized
order.

v2: fix gen2 blunder
    fix !order blunder
    more cunning permutation construction!

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
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/20171123135421.17967-1-matthew.auld@intel.com
drivers/gpu/drm/i915/selftests/huge_pages.c