1 /* SPDX-License-Identifier: GPL-2.0-only
2  *
3  * Declarations for DP MST related functions which are only used in selftests
4  *
5  * Copyright © 2018 Red Hat
6  * Authors:
7  *     Lyude Paul <lyude@redhat.com>
8  */
9 
10 #ifndef _DRM_DP_MST_HELPER_INTERNAL_H_
11 #define _DRM_DP_MST_HELPER_INTERNAL_H_
12 
13 #include <drm/display/drm_dp_mst_helper.h>
14 
15 void
16 drm_dp_encode_sideband_req(const struct drm_dp_sideband_msg_req_body *req,
17 			   struct drm_dp_sideband_msg_tx *raw);
18 int drm_dp_decode_sideband_req(const struct drm_dp_sideband_msg_tx *raw,
19 			       struct drm_dp_sideband_msg_req_body *req);
20 void
21 drm_dp_dump_sideband_msg_req_body(const struct drm_dp_sideband_msg_req_body *req,
22 				  int indent, struct drm_printer *printer);
23 
24 #endif /* !_DRM_DP_MST_HELPER_INTERNAL_H_ */
25