aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
diff options
context:
space:
mode:
authorJohn Clements <[email protected]>2020-05-13 09:45:57 +0000
committerAlex Deucher <[email protected]>2020-05-14 21:42:27 +0000
commit5e7067b24fcf1549c72988dd92de6d17ff3d2077 (patch)
tree1e643720daa936c974f0419338e4088459fae9fc /drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
parentdrm/amdgpu: Add cmd to control XGMI link sleep (diff)
downloadkernel-5e7067b24fcf1549c72988dd92de6d17ff3d2077.tar.gz
kernel-5e7067b24fcf1549c72988dd92de6d17ff3d2077.zip
drm/amdgpu: Add DPM function for XGMI link power down control
Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
index 936d85aa0fbc..956f6c710670 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
@@ -538,4 +538,6 @@ int amdgpu_dpm_baco_enter(struct amdgpu_device *adev);
int amdgpu_dpm_set_df_cstate(struct amdgpu_device *adev,
uint32_t cstate);
+int amdgpu_dpm_allow_xgmi_power_down(struct amdgpu_device *adev, bool en);
+
#endif