drm: add drm_pcie_get_max_link_width helper (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Nov 2015 04:14:39 +0000 (23:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:31 +0000 (16:42 -0500)
commit60d8edd415e9da63599c7601707ca78ad74a927e
treeba49fa9df13bde6909bda2a16ba1157bd2e6b995
parent16881da6c0b9db5fca95b96b0f02720e94c92629
drm: add drm_pcie_get_max_link_width helper (v2)

Add a helper to get the max link width of the port.
Similar to the helper to get the max link speed.

v2: fix typo in commit message

Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_pci.c
include/drm/drmP.h