drm/amdgpu: Simplify the allocation of mux_chunk slab caches
authorKunwu Chan <chentao@kylinos.cn>
Wed, 21 Feb 2024 09:59:06 +0000 (17:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Feb 2024 15:28:24 +0000 (10:28 -0500)
commite4e4618bc10be77979d61a99eb43e702fdb850bc
tree9081db512d1972f638558c8b367d3deb68ce3b82
parent3d14cb026323f47dded416178c1cfa6125eae7d4
drm/amdgpu: Simplify the allocation of mux_chunk slab caches

Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c