drm/i915/selftests: test descending addresses
authorMatthew Auld <matthew.auld@intel.com>
Thu, 23 Nov 2017 13:54:21 +0000 (13:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Nov 2017 16:09:12 +0000 (16:09 +0000)
commitc83a8d4a2ec93c53f78e109dee5e21953485cbfd
tree05bdb2fef16e0cd6e586257152ab438e7b8d2da6
parent621d07b20eb8e7c47381178fc0f5724caa49afcd
drm/i915/selftests: test descending addresses

For igt_write_huge make sure the higher gtt offsets don't feel left out,
which is especially true when dealing with the 48b PPGTT, where we
timeout long before we are able exhaust the address space.

v2: just use IGT_TIMEOUT

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-2-matthew.auld@intel.com
drivers/gpu/drm/i915/selftests/huge_pages.c