mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/amdgpu: Use KMEM_CACHE instead of kmem_cache_create
@ 2024-02-21  9:59 Kunwu Chan
  2024-02-21  9:59 ` [PATCH 1/3] drm/amdgpu: Simplify the allocation of fence slab caches Kunwu Chan
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Kunwu Chan @ 2024-02-21  9:59 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, Xinhui.Pan, airlied, daniel
  Cc: amd-gfx, dri-devel, linux-kernel, Kunwu Chan

For where the cache name and the structure name match.
Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.

Kunwu Chan (3):
  drm/amdgpu: Simplify the allocation of fence slab caches
  drm/amdgpu: Simplify the allocation of mux_chunk slab caches
  drm/amdgpu: Simplify the allocation of sync slab caches

 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c    | 4 +---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | 4 +---
 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c     | 4 +---
 3 files changed, 3 insertions(+), 9 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-21 20:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-21  9:59 [PATCH 0/3] drm/amdgpu: Use KMEM_CACHE instead of kmem_cache_create Kunwu Chan
2024-02-21  9:59 ` [PATCH 1/3] drm/amdgpu: Simplify the allocation of fence slab caches Kunwu Chan
2024-02-21  9:59 ` [PATCH 2/3] drm/amdgpu: Simplify the allocation of mux_chunk " Kunwu Chan
2024-02-21  9:59 ` [PATCH 3/3] drm/amdgpu: Simplify the allocation of sync " Kunwu Chan
2024-02-21 10:57 ` [PATCH 0/3] drm/amdgpu: Use KMEM_CACHE instead of kmem_cache_create Christian König
2024-02-21 20:34   ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®