All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [i-g-t, v2] test/i915/gem_exec_reloc: check reloc support in GEM
@ 2021-03-16 11:04 Tejas Upadhyay
  2021-03-16 12:07 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Tejas Upadhyay @ 2021-03-16 11:04 UTC (permalink / raw)
  To: igt-dev; +Cc: hariom.pandey

i915 kernel driver is dropping reloc support gen12+. This change
will check reloc support in respective platform before executing
gem_exec_reloc in IGT.

Changes since V1 :
	- Adjusted for gem_has_relocations(i915)

Ref : https://patchwork.kernel.org/project/dri-devel/patch/20210311162606.1045592-1-jason@jlekstrand.net/

Cc: Maarten Lankhorst<maarten.lankhorst@intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
---
 tests/i915/gem_exec_reloc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/i915/gem_exec_reloc.c b/tests/i915/gem_exec_reloc.c
index 8d52960b..a897cc67 100644
--- a/tests/i915/gem_exec_reloc.c
+++ b/tests/i915/gem_exec_reloc.c
@@ -1478,6 +1478,8 @@ igt_main
 	igt_fixture {
 		fd = drm_open_driver_master(DRIVER_INTEL);
 		igt_require_gem(fd);
+		/* Check if relocations supported by platform */
+		igt_require(gem_has_relocations(fd));
 	}
 
 	for (f = flags; f->name; f++) {
-- 
2.30.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2021-03-18  6:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16 11:04 [igt-dev] [i-g-t, v2] test/i915/gem_exec_reloc: check reloc support in GEM Tejas Upadhyay
2021-03-16 12:07 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2021-03-17  8:05   ` Petri Latvala
2021-03-17 16:16     ` Vudum, Lakshminarayana
2021-03-18  4:25       ` Surendrakumar Upadhyay, TejaskumarX
2021-03-18  6:18         ` Vudum, Lakshminarayana
2021-03-17  9:34 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
2021-03-17 16:12 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2021-03-17 18:43 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.