mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-28 18:26:17 +00:00
tests/gem_storedw_batches_loop: add subtest for cached mappings
v2: - add a subtest for uncached mappings too for LLC platforms where the default is cached mapping (Chris) Signed-off-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
parent
c5a6147a1b
commit
6b418f0264
@ -169,6 +169,22 @@ igt_main
|
||||
store_dword_loop(5, SECURE_DISPATCH);
|
||||
}
|
||||
|
||||
igt_subtest("cached-mapping") {
|
||||
gem_set_caching(fd, target_bo->handle, 1);
|
||||
store_dword_loop(1, 0);
|
||||
store_dword_loop(2, 0);
|
||||
store_dword_loop(3, 0);
|
||||
store_dword_loop(5, 0);
|
||||
}
|
||||
|
||||
igt_subtest("uncached-mapping") {
|
||||
gem_set_caching(fd, target_bo->handle, 0);
|
||||
store_dword_loop(1, 0);
|
||||
store_dword_loop(2, 0);
|
||||
store_dword_loop(3, 0);
|
||||
store_dword_loop(5, 0);
|
||||
}
|
||||
|
||||
igt_fixture {
|
||||
drm_intel_bo_unreference(target_bo);
|
||||
drm_intel_bufmgr_destroy(bufmgr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user