[igt-dev] [PATCH i-g-t 4/7] tests/gem_evict_alignment: Skip if kernel doesn't support obj alignment
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Thu Oct 14 08:19:14 UTC 2021
v2: rename to gem_allows_obj_alignment()
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
Cc: Petri Latvala <petri.latvala at intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
tests/i915/gem_evict_alignment.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/i915/gem_evict_alignment.c b/tests/i915/gem_evict_alignment.c
index e5176b9ba..4a05f7cdf 100644
--- a/tests/i915/gem_evict_alignment.c
+++ b/tests/i915/gem_evict_alignment.c
@@ -198,6 +198,7 @@ igt_main
fd = drm_open_driver(DRIVER_INTEL);
igt_require_gem(fd);
gem_require_blitter(fd);
+ igt_require(gem_allows_obj_alignment(fd));
igt_fork_hang_detector(fd);
}
--
2.26.0
More information about the igt-dev
mailing list