drm/amdgpu/mes: add helper functions to alloc/free ctx metadata
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 27 Mar 2020 10:11:15 +0000 (18:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:43:52 +0000 (10:43 -0400)
commite3652b0976f383dea912607a404e974632b019b1
treebecf80ff03a30fedfb208912213a6ee75a0cf41c
parent9cc654c8ceb6561dc7f646a142535737932a0309
drm/amdgpu/mes: add helper functions to alloc/free ctx metadata

Add the helper functions to allocate/free context metadata.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h