igt/gem_close_race: Increase GPU load
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 12 Jul 2014 08:06:39 +0000 (09:06 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 12 Jul 2014 08:13:12 +0000 (09:13 +0100)
commite74dd22ff89e007e637f16f661f06d4857a54224
tree7084d2d3a1d2d2a9bf67780cdb334d12fca71807
parentb9c705f4da0b3817462c544e04bead926bfaf75d
igt/gem_close_race: Increase GPU load

Increate the GPU load slightly, but mitigate the CPU overhead from
clflushing by keeping the object alive using flink. This has also the
side-effect of magnifying the desired busy-close race.

References: https://bugs.freedesktop.org/show_bug.cgi?id=71029
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/gem_close_race.c