diff options
author | Ayaz A Siddiqui <ayaz.siddiqui@intel.com> | 2020-02-03 12:50:57 +0530 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-04 09:25:12 +0000 |
commit | 911be37f532cd599316568a326bfef047d0126ba (patch) | |
tree | e9e53e057ad4348bbf4cb951404597c989b8b531 /tests/i915/gem_render_tiled_blits.c | |
parent | 1a0081e23fa80d8ba174abcaf6ad63b8907c0181 (diff) |
i915/gem_render_tiled_blits: Add check for hardware based FENCE support
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@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/i915/gem_render_tiled_blits.c')
-rw-r--r-- | tests/i915/gem_render_tiled_blits.c | 1 |
1 files changed, 1 insertions, 0 deletions
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") { |