[igt-dev] [PATCH i-g-t] tests/i915/gem_bad_reloc: Added check for verifying aperture support
Arjun Melkaveri
arjun.melkaveri at intel.com
Mon Oct 11 07:13:32 UTC 2021
Added check for verifying aperture support.
"negative_reloc" subtest uses gtt address spaze size
and "negative_reloc_blt" uses fences, which needs aperture support.
This would avoid test failure for platfom that doesnt support this.
Signed-off-by: Arjun Melkaveri <arjun.melkaveri at intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
tests/i915/gem_bad_reloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/i915/gem_bad_reloc.c b/tests/i915/gem_bad_reloc.c
index 3ca0f345..d0902e6c 100644
--- a/tests/i915/gem_bad_reloc.c
+++ b/tests/i915/gem_bad_reloc.c
@@ -195,6 +195,7 @@ igt_main
/* Check if relocations supported by platform */
igt_require(gem_has_relocations(fd));
gem_require_blitter(fd);
+ gem_require_mappable_ggtt(fd);
}
igt_subtest("negative-reloc")
--
2.25.1
More information about the igt-dev
mailing list