aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_dp_helper.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-18 04:15:27 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-22 16:34:45 -0400
commit0f037bdee1a12947a0c55b21a05f57793332bc07 (patch)
tree200cae72c4681af7849422ac1ee3b5937de55603 /include/drm/drm_dp_helper.h
parent01916270b840f7f37b7daab936add1747d6afbbf (diff)
drm: extract helpers to compute new training values from sink request
Safe for the minor difference that the intel versions get an offset into the link_status as an argument, both are the same again. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Dave Airlie <airlied@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_dp_helper.h')
-rw-r--r--include/drm/drm_dp_helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 89e92c95cf86..57e6dbd0580c 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -328,5 +328,9 @@ bool drm_dp_channel_eq_ok(u8 link_status[DP_LINK_STATUS_SIZE],
328 int lane_count); 328 int lane_count);
329bool drm_dp_clock_recovery_ok(u8 link_status[DP_LINK_STATUS_SIZE], 329bool drm_dp_clock_recovery_ok(u8 link_status[DP_LINK_STATUS_SIZE],
330 int lane_count); 330 int lane_count);
331u8 drm_dp_get_adjust_request_voltage(u8 link_status[DP_LINK_STATUS_SIZE],
332 int lane);
333u8 drm_dp_get_adjust_request_pre_emphasis(u8 link_status[DP_LINK_STATUS_SIZE],
334 int lane);
331 335
332#endif /* _DRM_DP_HELPER_H_ */ 336#endif /* _DRM_DP_HELPER_H_ */