Commit ac3cdf3a authored by Matthew Auld's avatar Matthew Auld
Browse files

tests/gem_exec_capture: adjust the pi subtest

This was broken by the kernel change: 71b1669ea9bd ("drm/i915/uapi:
tweak error capture on recoverable contexts"). Update the test to use
non-recoverable context if needed.

Closes: intel#6350

Signed-off-by: Matthew Auld's avatarMatthew Auld <>
Cc: Nirmoy Das <>
Reviewed-by: Nirmoy Das's avatarNirmoy Das <>
parent 261740e5
Pipeline #630688 passed with stages
in 10 minutes and 34 seconds
......@@ -721,6 +721,15 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,
ctx2 = intel_ctx_create_all_physical(fd);
if (needs_recoverable_ctx(fd)) {
struct drm_i915_gem_context_param param = {
.ctx_id = ctx2->id,
.value = 0,
gem_context_set_param(fd, &param);
/* Reopen the allocator in the new process. */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment