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:24 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-22 16:23:36 -0400
commit1ffdff134eb2d943bde3e4901ac48a9656a7e7a5 (patch)
treea173f28a4d7f9b961645ed16f64857cf734b8113 /include/drm/drm_dp_helper.h
parent00ae9a456dd9a3e26db2265c0d25dec0d1e74b07 (diff)
drm: dp helper: extract drm_dp_channel_eq_ok
radeon and intel use the exact same definition. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index fe061489f91f..9e1042073f67 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -322,4 +322,9 @@ struct i2c_algo_dp_aux_data {
322int 322int
323i2c_dp_aux_add_bus(struct i2c_adapter *adapter); 323i2c_dp_aux_add_bus(struct i2c_adapter *adapter);
324 324
325
326#define DP_LINK_STATUS_SIZE 6
327bool drm_dp_channel_eq_ok(u8 link_status[DP_LINK_STATUS_SIZE],
328 int lane_count);
329
325#endif /* _DRM_DP_HELPER_H_ */ 330#endif /* _DRM_DP_HELPER_H_ */