]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Tweak igt_ggtt_page to speed it up
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 23 Dec 2017 11:04:06 +0000 (11:04 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Jan 2018 15:27:36 +0000 (15:27 +0000)
commit0c665477b3f0c7c31f5dd173721f7dc8716cfab6
treeb41ff689cf1ff2d12938e9230c70b9789f1a85c6
parentebbaa1f1a6a0e987bb4f0ae10474a8a2f9768a57
drm/i915/selftests: Tweak igt_ggtt_page to speed it up

Reduce the number of GGTT PTE operations to speed the test up, but we
reduce the likelihood of spotting a coherency error in those operations.
However, Broxton is sporadically timing on this test, presumably because
its GGTT operations are all uncached.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171223110407.21402-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c