summaryrefslogtreecommitdiff
path: root/include/drm/drm_pci.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-06-25 15:14:46 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-07-05 16:40:00 -0500
commit289278cb7d32685ee75baf599857d7049c4b8030 (patch)
treea399b3c8f22700f5d107b3d366e0dae87184d8fe /include/drm/drm_pci.h
parent5f152a572c10cae4b08c2c5f2932a51684f454ba (diff)
drm: drop drm_pcie_get_speed_cap_mask and drm_pcie_get_max_link_width
These functions duplicated functionality which was ultimately added to the pci core. All users of these functions have been ported to using the newly exposed pci functionality. These functions are no longer used, so drop them. Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm/drm_pci.h')
-rw-r--r--include/drm/drm_pci.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/drm/drm_pci.h b/include/drm/drm_pci.h
index 674599025d7d..8181e9e7cf1d 100644
--- a/include/drm/drm_pci.h
+++ b/include/drm/drm_pci.h
@@ -58,11 +58,4 @@ static inline int drm_get_pci_dev(struct pci_dev *pdev,
}
#endif
-#define DRM_PCIE_SPEED_25 1
-#define DRM_PCIE_SPEED_50 2
-#define DRM_PCIE_SPEED_80 4
-
-int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *speed_mask);
-int drm_pcie_get_max_link_width(struct drm_device *dev, u32 *mlw);
-
#endif /* _DRM_PCI_H_ */