summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2024-05-06 14:06:45 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2024-05-06 16:27:06 +0200
commit008178acd533c33910d41fefc80462b3915c89fc (patch)
treeb3bbde957206581478f711fe7d5a879607d06cf4
parent1cf83083f855894dd287d9cf84bbcc2952b52d02 (diff)
lib/intel_ctx: Propagate error from __intel_ctx_xe_exec wait timeout
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> Reviewed-by: Zbigniew KempczyƄski <zbigniew.kempczynski@intel.com>
-rw-r--r--lib/intel_ctx.c2
1 files changed, 1 insertions, 1 deletions
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)