diff options
| author | Mario Limonciello <[email protected]> | 2023-07-08 02:26:08 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-12 16:09:54 +0000 |
| commit | 188623076d0f1a500583d392b6187056bf7cc71a (patch) | |
| tree | 9d84bdbb709ada1b75219228dfee4cf8ab2d6e54 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amd/pm: conditionally disable pcie lane/speed switching for SMU13 (diff) | |
| download | kernel-188623076d0f1a500583d392b6187056bf7cc71a.tar.gz kernel-188623076d0f1a500583d392b6187056bf7cc71a.zip | |
drm/amd: Move helper for dynamic speed switch check out of smu13
This helper is used for checking if the connected host supports
the feature, it can be moved into generic code to be used by other
smu implementations as well.
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Evan Quan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected] # 6.1.x
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 2f9c14aca73c..a3b86b86dc47 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1296,6 +1296,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev, void amdgpu_device_pci_config_reset(struct amdgpu_device *adev); int amdgpu_device_pci_reset(struct amdgpu_device *adev); bool amdgpu_device_need_post(struct amdgpu_device *adev); +bool amdgpu_device_pcie_dynamic_switching_supported(void); bool amdgpu_device_should_use_aspm(struct amdgpu_device *adev); bool amdgpu_device_aspm_support_quirk(void); |
