On Fri, Jul 13, 2018 at 10:54:40AM +0100, Chris Wilson wrote:
> 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 <ch...@chris-wilson.co.uk>

Reviewed-by: Michał Winiarski <michal.winiar...@intel.com>

-Michał

> ---
>  tests/gem_caching.c                    | 9 +--------
>  tests/gem_partial_pwrite_pread.c       | 9 +--------
>  tests/gem_tiled_partial_pwrite_pread.c | 9 +--------
>  3 files changed, 3 insertions(+), 24 deletions(-)
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to