[igt-dev] [PATCH i-g-t 2/2] i915/gem_render_tiled_blits: Add check for hardware based FENCE support
Ayaz A Siddiqui
ayaz.siddiqui at intel.com
Sat Feb 1 19:33:47 UTC 2020
This test is verifying the integrity of blitter render copy on platforms
which support FENCE based tiling. Since blitter does not use FENCE after
Gen4+ so this test can only be useful for Platform prior to Gen4.
A check has been added to skip this test if fences are not available in
platform.
Test to check effects of different physical address values on render
copy is being developed as Kernel selftest.
Signed-off-by: Ayaz A Siddiqui ayaz.siddiqui at intel.com
---
tests/i915/gem_render_tiled_blits.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/i915/gem_render_tiled_blits.c b/tests/i915/gem_render_tiled_blits.c
index 1de1b72c..5f49b3fe 100644
--- a/tests/i915/gem_render_tiled_blits.c
+++ b/tests/i915/gem_render_tiled_blits.c
@@ -204,6 +204,7 @@ igt_main
igt_fixture {
fd = drm_open_driver(DRIVER_INTEL);
igt_require_gem(fd);
+ igt_require(gem_available_fences(fd) > 0);
}
igt_subtest("basic") {
--
2.24.0
More information about the igt-dev
mailing list