Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] lib/intel_ctx: Propagate error from __intel_ctx_xe_exec wait timeout
@ 2024-05-06 12:08 Maarten Lankhorst
  2024-05-06 12:17 ` ✗ CI.Patch_applied: failure for " Patchwork
  2024-05-06 13:32 ` [PATCH i-g-t] " Zbigniew Kempczyński
  0 siblings, 2 replies; 4+ messages in thread
From: Maarten Lankhorst @ 2024-05-06 12:08 UTC (permalink / raw)
  To: igt-dev; +Cc: intel-xe, Maarten Lankhorst

Any wait timeouts are currently ignored, which might cause silent
failures in test. Be more noisy about them.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 lib/intel_ctx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/intel_ctx.c b/lib/intel_ctx.c
index b43dd6391..30325b906 100644
--- a/lib/intel_ctx.c
+++ b/lib/intel_ctx.c
@@ -450,7 +450,7 @@ int __intel_ctx_xe_exec(const intel_ctx_t *ctx, uint64_t ahnd, uint64_t bb_offse
 		goto err;
 
 	if (!ctx->sync_bind || !ctx->sync_out)
-		syncobj_wait_err(ctx->fd, &sync_out, 1, INT64_MAX, 0);
+		ret = syncobj_wait_err(ctx->fd, &sync_out, 1, INT64_MAX, 0);
 
 err:
 	if (!ctx->sync_bind)
-- 
2.43.0


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

end of thread, other threads:[~2024-05-06 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 12:08 [PATCH i-g-t] lib/intel_ctx: Propagate error from __intel_ctx_xe_exec wait timeout Maarten Lankhorst
2024-05-06 12:17 ` ✗ CI.Patch_applied: failure for " Patchwork
2024-05-06 13:32 ` [PATCH i-g-t] " Zbigniew Kempczyński
2024-05-06 14:30   ` Maarten Lankhorst

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