[igt-dev] [PATCH i-g-t] Remove resource streamer tests
Lucas De Marchi
lucas.demarchi at intel.com
Thu Jul 12 20:51:03 UTC 2018
Resource streamer is being removed from all GENs, so just test it
returns EINVAL when a batch is submitted with I915_EXEC_RESOURCE_STREAMER.
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
Required by https://patchwork.freedesktop.org/series/46224/
tests/gem_exec_params.c | 22 ++--------------------
1 file changed, 2 insertions(+), 20 deletions(-)
diff --git a/tests/gem_exec_params.c b/tests/gem_exec_params.c
index 04c21c05..4cb7ceb0 100644
--- a/tests/gem_exec_params.c
+++ b/tests/gem_exec_params.c
@@ -374,30 +374,12 @@ igt_main
execbuf.num_cliprects = 0;
}
- igt_subtest("rs-invalid-on-bsd-ring") {
- igt_require(IS_HASWELL(devid) || intel_gen(devid) >= 8);
+ /* Resource Streamer has been removed from all Gens */
+ igt_subtest("rs-invalid") {
execbuf.flags = I915_EXEC_BSD | LOCAL_I915_EXEC_RESOURCE_STREAMER;
RUN_FAIL(EINVAL);
}
- igt_subtest("rs-invalid-on-blt-ring") {
- igt_require(IS_HASWELL(devid) || intel_gen(devid) >= 8);
- execbuf.flags = I915_EXEC_BLT | LOCAL_I915_EXEC_RESOURCE_STREAMER;
- RUN_FAIL(EINVAL);
- }
-
- igt_subtest("rs-invalid-on-vebox-ring") {
- igt_require(IS_HASWELL(devid) || intel_gen(devid) >= 8);
- execbuf.flags = I915_EXEC_VEBOX | LOCAL_I915_EXEC_RESOURCE_STREAMER;
- RUN_FAIL(EINVAL);
- }
-
- igt_subtest("rs-invalid-gen") {
- igt_require(!IS_HASWELL(devid) && intel_gen(devid) < 8);
- execbuf.flags = I915_EXEC_RENDER | LOCAL_I915_EXEC_RESOURCE_STREAMER;
- RUN_FAIL(EINVAL);
- }
-
igt_subtest("invalid-fence-in") {
igt_require(gem_has_exec_fence(fd));
execbuf.flags = LOCAL_I915_EXEC_FENCE_IN;
--
2.17.1
More information about the igt-dev
mailing list