diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-07-13 10:52:15 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-07-18 11:53:56 +0100 |
commit | 7270e39a0e6238804827ea7f8db433ad743ed745 (patch) | |
tree | 05ec6ffff8ac179e438390e81e1ed5e3aaea2344 /scripts | |
parent | 6562a061cc1ed9c34a1e4d71ae544213a0091382 (diff) |
igt: Force eviction of test bo directly
Currently we indirectly try to evict the test buffers by mmaping enough
bo that should fill the aperture. However, this assumes that the kernel
is trying to fill the aperture and does not use random replacement
(which it does) or use small partials to avoid mmaping the whole object
(which it does). Rather than assume, use the debugfs interface to force
the eviction of the bound objects.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: MichaĆ Winiarski <michal.winiarski@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions