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