aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
diff options
context:
space:
mode:
authorJack Xiao <[email protected]>2020-03-27 08:41:56 +0000
committerAlex Deucher <[email protected]>2022-05-04 14:43:51 +0000
commitc8bb10572ca3a03aa0a11d0ba2d87c205f140883 (patch)
treeb97cb5dc6a32ef20cb8cea0d1d97a8999132b502 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
parentdrm/amdgpu/mes: implement removing mes gang (diff)
downloadkernel-c8bb10572ca3a03aa0a11d0ba2d87c205f140883.tar.gz
kernel-c8bb10572ca3a03aa0a11d0ba2d87c205f140883.zip
drm/amdgpu/mes: implement suspending all gangs
Implement suspending all gangs. Signed-off-by: Jack Xiao <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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__ */