drm/amdgpu/mes: relocate status_fence slot allocation
authorJack Xiao <Jack.Xiao@amd.com>
Sat, 28 Mar 2020 07:32:27 +0000 (15:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:43:51 +0000 (10:43 -0400)
commit0bf478f01abf1c35fd706081c4686fd0250eb559
tree5b8cf15de6684c84cb2b6121c8018a33c7bab693
parentb04c1d64685ecc45f68c6e3667d662cf8633d027
drm/amdgpu/mes: relocate status_fence slot allocation

Move the status_fence slot allocation from ip specific function
to general mes function.

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/mes_v10_1.c