Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/xe_compute_preempt: Run it on only CCS engine
@ 2024-04-04 10:29 Nirmoy Das
  2024-04-04 11:55 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Nirmoy Das @ 2024-04-04 10:29 UTC (permalink / raw)
  To: igt-dev; +Cc: Nirmoy Das, Janga Rahul Kumar

Expectation is that mid thread preemption works on CCS and
RCS is optional. In future we should check with engine capability
when that such uAPI is supported by the KMD.

Cc: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
---
 tests/intel/xe_compute_preempt.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/tests/intel/xe_compute_preempt.c b/tests/intel/xe_compute_preempt.c
index b8448ef91..78b19158d 100644
--- a/tests/intel/xe_compute_preempt.c
+++ b/tests/intel/xe_compute_preempt.c
@@ -49,8 +49,7 @@ igt_main
 
 	igt_subtest_with_dynamic("compute-preempt") {
 		xe_for_each_engine(xe, hwe) {
-			if (hwe->engine_class != DRM_XE_ENGINE_CLASS_COMPUTE &&
-			    hwe->engine_class != DRM_XE_ENGINE_CLASS_RENDER)
+			if (hwe->engine_class != DRM_XE_ENGINE_CLASS_COMPUTE)
 				continue;
 
 			igt_dynamic_f("engine-%s", xe_engine_class_string(hwe->engine_class))
@@ -60,7 +59,6 @@ igt_main
 
 	igt_subtest_with_dynamic("compute-preempt-many") {
 		xe_for_each_engine(xe, hwe) {
-			/* TODO: This subtest fails on RCS engine */
 			if (hwe->engine_class != DRM_XE_ENGINE_CLASS_COMPUTE)
 				continue;
 
@@ -74,8 +72,7 @@ igt_main
 
 	igt_subtest_with_dynamic("compute-threadgroup-preempt") {
 		xe_for_each_engine(xe, hwe) {
-			if (hwe->engine_class != DRM_XE_ENGINE_CLASS_COMPUTE &&
-			    hwe->engine_class != DRM_XE_ENGINE_CLASS_RENDER)
+			if (hwe->engine_class != DRM_XE_ENGINE_CLASS_COMPUTE)
 				continue;
 
 			igt_dynamic_f("engine-%s", xe_engine_class_string(hwe->engine_class))
-- 
2.42.0


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

end of thread, other threads:[~2024-04-09  8:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-04 10:29 [PATCH i-g-t] tests/intel/xe_compute_preempt: Run it on only CCS engine Nirmoy Das
2024-04-04 11:55 ` ✓ CI.xeBAT: success for " Patchwork
2024-04-04 12:12 ` ✓ Fi.CI.BAT: " Patchwork
2024-04-05 11:24 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-04-09  8:56   ` Kamil Konieczny
2024-04-05 17:15 ` [PATCH i-g-t] " Lucas De Marchi

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