drm/amdgpu/mes: initialize/finalize common mes structure v2
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 27 Mar 2020 06:50:01 +0000 (14:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:43:51 +0000 (10:43 -0400)
commitb04c1d64685ecc45f68c6e3667d662cf8633d027
treeb3c99ab4892a8c161b0b14b3ce27f42bcb2ec18f
parent534000c0802a304c26909defb289e2a403b4aa8e
drm/amdgpu/mes: initialize/finalize common mes structure v2

Initialize/finalize common mes structure.

v2: add mutex_init for adev->mes.mutex

Cc: Le Ma <le.ma@amd.com>
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