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
15void
16drm_dp_encode_sideband_req(const struct drm_dp_sideband_msg_req_body *req,
17 struct drm_dp_sideband_msg_tx *raw);
18int drm_dp_decode_sideband_req(const struct drm_dp_sideband_msg_tx *raw,
19 struct drm_dp_sideband_msg_req_body *req);
20void
21drm_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

source code of linux/drivers/gpu/drm/display/drm_dp_mst_topology_internal.h