Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/i915/gem_bad_reloc: Added check for verifying aperture support
@ 2021-10-11  7:13 Arjun Melkaveri
  2021-10-11  8:14 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Arjun Melkaveri @ 2021-10-11  7:13 UTC (permalink / raw)
  To: arjun.melkaveri, igt-dev

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@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-13  0:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-11  7:13 [igt-dev] [PATCH i-g-t] tests/i915/gem_bad_reloc: Added check for verifying aperture support Arjun Melkaveri
2021-10-11  8:14 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-10-11 10:02 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-10-13  0:44 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox