Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only
0002  *
0003  * Declarations for DP MST related functions which are only used in selftests
0004  *
0005  * Copyright © 2018 Red Hat
0006  * Authors:
0007  *     Lyude Paul <lyude@redhat.com>
0008  */
0009 
0010 #ifndef _DRM_DP_MST_HELPER_INTERNAL_H_
0011 #define _DRM_DP_MST_HELPER_INTERNAL_H_
0012 
0013 #include <drm/display/drm_dp_mst_helper.h>
0014 
0015 void
0016 drm_dp_encode_sideband_req(const struct drm_dp_sideband_msg_req_body *req,
0017                struct drm_dp_sideband_msg_tx *raw);
0018 int drm_dp_decode_sideband_req(const struct drm_dp_sideband_msg_tx *raw,
0019                    struct drm_dp_sideband_msg_req_body *req);
0020 void
0021 drm_dp_dump_sideband_msg_req_body(const struct drm_dp_sideband_msg_req_body *req,
0022                   int indent, struct drm_printer *printer);
0023 
0024 #endif /* !_DRM_DP_MST_HELPER_INTERNAL_H_ */