Commit fbc93866 authored by Karol Wachowski's avatar Karol Wachowski Committed by Greg Kroah-Hartman
Browse files

accel/ivpu: Make command queue ID allocated on XArray



[ Upstream commit 76ad741e ]

Use XArray for dynamic command queue ID allocations instead of fixed
ones. This is required by upcoming changes to UAPI that will allow to
manage command queues by user space instead of having predefined number
of queues in a context.

Signed-off-by: default avatarKarol Wachowski <karol.wachowski@intel.com>
Reviewed-by: default avatarJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: default avatarJeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: default avatarJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241017145817.121590-8-jacek.lawrynowicz@linux.intel.com


Stable-dep-of: a47e36dc ("accel/ivpu: Trigger device recovery on engine reset/resume failure")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0c3fa6e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment