linux/drivers/accel
Michał Winiarski f6b589e361 accel: Use XArray instead of IDR for minors
[ Upstream commit 45c4d994b8 ]

Accel minor management is based on DRM (and is also using struct
drm_minor internally), since DRM is using XArray for minors, it makes
sense to also convert accel.
As the two implementations are identical (only difference being the
underlying xarray), move the accel_minor_* functionality to DRM.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Acked-by: James Zhu <James.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240823163048.2676257-3-michal.winiarski@intel.com
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-09-30 16:25:13 +02:00
..
habanalabs accel/habanalabs/gaudi2: unsecure edma max outstanding register 2024-09-12 11:11:29 +02:00
ivpu kthread: add kthread_stop_put 2024-06-12 11:12:52 +02:00
qaic accel/qaic: Implement quirk for SOC_HW_VERSION 2024-01-10 17:16:47 +01:00
drm_accel.c accel: Use XArray instead of IDR for minors 2024-09-30 16:25:13 +02:00
Kconfig accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00
Makefile accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00