summaryrefslogtreecommitdiff
path: root/scripts/trace.pl
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-07-13 10:52:15 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-07-18 11:53:56 +0100
commit7270e39a0e6238804827ea7f8db433ad743ed745 (patch)
tree05ec6ffff8ac179e438390e81e1ed5e3aaea2344 /scripts/trace.pl
parent6562a061cc1ed9c34a1e4d71ae544213a0091382 (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/trace.pl')
0 files changed, 0 insertions, 0 deletions