diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-11 14:29:29 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-03-06 12:16:54 +0000 |
commit | a382aeec489a187591677644cc3b98e34322b474 (patch) | |
tree | 42b060d427a0db08291dec5258c0cbf89846a162 /runner | |
parent | f273b14e5e963195d7b2278693c361aec67abeac (diff) |
i915/gem_exec_parse: Switch to a fixed timeout for basic-allocations
basic-allocations was written to demonstrate a flaw in our continual
reallocation of cmdparser shadow bo, largely fixed by keeping a small
cache of bo of different lengths (to speed up the search for the correct
sized bo). We only care enough to exercise the slowdown by submitting
lots of execbufs, and can see the effect of bo caching on the rate, so
replace the fixed number of iterations with a timeout and count how many
batches we could submit instead.
Similarly, we now do not need to wait for all of our queue to complete
as we can tell the kernel to drop the queue instead.
References: https://bugs.freedesktop.org/show_bug.cgi?id=107936
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'runner')
0 files changed, 0 insertions, 0 deletions