summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
diff options
context:
space:
mode:
authorJack Xiao <Jack.Xiao@amd.com>2022-03-24 06:35:29 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-05-04 17:43:51 +0300
commitb0306e584004b20d406d8111cb8922b7bb8d8840 (patch)
treeb6d91014d480e78f9707af79e38d829c06e602cc /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
parent5d0f619f723d0caa909e99c875a0c813588a0d68 (diff)
downloadlinux-b0306e584004b20d406d8111cb8922b7bb8d8840.tar.xz
drm/amdgpu/mes: implement removing mes gang
Free the mes gang and its resources. 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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
index 92139e362478..a24394fa6ee9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
@@ -229,5 +229,6 @@ void amdgpu_mes_destroy_process(struct amdgpu_device *adev, int pasid);
int amdgpu_mes_add_gang(struct amdgpu_device *adev, int pasid,
struct amdgpu_mes_gang_properties *gprops,
int *gang_id);
+int amdgpu_mes_remove_gang(struct amdgpu_device *adev, int gang_id);
#endif /* __AMDGPU_MES_H__ */