diff options
Diffstat (limited to 'lib/intel_allocator.c')
-rw-r--r-- | lib/intel_allocator.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/intel_allocator.c b/lib/intel_allocator.c index 7882e484..717d7fc5 100644 --- a/lib/intel_allocator.c +++ b/lib/intel_allocator.c @@ -737,6 +737,10 @@ static int handle_request(struct alloc_req *req, struct alloc_resp *resp) return 0; } + igt_assert_f(channel->ready, + "Allocator must be called in multiprocess mode, " + "use intel_allocator_multiprocess_(start|stop)()\n"); + ret = send_req_recv_resp(channel, req, resp); if (ret < 0) |