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>
This commit is contained in:
parent
00ae9a456d
commit
1ffdff134e
4 changed files with 59 additions and 55 deletions
|
|
@ -322,4 +322,9 @@ struct i2c_algo_dp_aux_data {
|
|||
int
|
||||
i2c_dp_aux_add_bus(struct i2c_adapter *adapter);
|
||||
|
||||
|
||||
#define DP_LINK_STATUS_SIZE 6
|
||||
bool drm_dp_channel_eq_ok(u8 link_status[DP_LINK_STATUS_SIZE],
|
||||
int lane_count);
|
||||
|
||||
#endif /* _DRM_DP_HELPER_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue