summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
diff options
context:
space:
mode:
authorJack Xiao <Jack.Xiao@amd.com>2020-03-27 11:41:56 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-05-04 17:43:51 +0300
commitc8bb10572ca3a03aa0a11d0ba2d87c205f140883 (patch)
treeb97cb5dc6a32ef20cb8cea0d1d97a8999132b502 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
parentb0306e584004b20d406d8111cb8922b7bb8d8840 (diff)
downloadlinux-c8bb10572ca3a03aa0a11d0ba2d87c205f140883.tar.xz
drm/amdgpu/mes: implement suspending all gangs
Implement suspending all gangs. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
index a24394fa6ee9..8c26528b06ff 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
@@ -231,4 +231,6 @@ int amdgpu_mes_add_gang(struct amdgpu_device *adev, int pasid,
int *gang_id);
int amdgpu_mes_remove_gang(struct amdgpu_device *adev, int gang_id);
+int amdgpu_mes_suspend(struct amdgpu_device *adev);
+
#endif /* __AMDGPU_MES_H__ */