summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/atombios_dp.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-02-24 02:24:02 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-03-19 19:26:50 +0300
commit2be123d7c6d2356cfe6655ccc3c210cf23da80ce (patch)
treefa7810655e2b12488c426006d5676da255e3f72f /drivers/gpu/drm/radeon/atombios_dp.c
parentbf071900c347c43f9d982df5209191fc45cbc3a4 (diff)
downloadlinux-2be123d7c6d2356cfe6655ccc3c210cf23da80ce.tar.xz
drm/radeon: export max link rate calculation
We need this in the MST code later. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/atombios_dp.c')
-rw-r--r--drivers/gpu/drm/radeon/atombios_dp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_dp.c b/drivers/gpu/drm/radeon/atombios_dp.c
index a014c7bfa764..3e3290c203c6 100644
--- a/drivers/gpu/drm/radeon/atombios_dp.c
+++ b/drivers/gpu/drm/radeon/atombios_dp.c
@@ -310,8 +310,8 @@ static int dp_get_max_dp_pix_clock(int link_rate,
/***** radeon specific DP functions *****/
-static int radeon_dp_get_max_link_rate(struct drm_connector *connector,
- u8 dpcd[DP_DPCD_SIZE])
+int radeon_dp_get_max_link_rate(struct drm_connector *connector,
+ u8 dpcd[DP_DPCD_SIZE])
{
int max_link_rate;