summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorAbhinav Kumar <quic_abhinavk@quicinc.com>2024-02-20 22:53:46 +0300
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-02-22 23:04:29 +0300
commit47f419e07111acecab3b529d4ae31a28985f5b61 (patch)
tree8b3deef02e624cd3e5d2c0c0e5311c0eb7b0298c /include/drm
parent32e5a120a5105bce01561978ee55aee8e40ac0dc (diff)
downloadlinux-47f419e07111acecab3b529d4ae31a28985f5b61.tar.xz
drm/dp: move intel_dp_vsc_sdp_pack() to generic helper
intel_dp_vsc_sdp_pack() can be re-used by other DRM drivers as well. Lets move this to drm_dp_helper to achieve this. changes in v2: - rebased on top of drm-tip Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Acked-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240220195348.1270854-1-quic_abhinavk@quicinc.com
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/display/drm_dp_helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/display/drm_dp_helper.h b/include/drm/display/drm_dp_helper.h
index d02014a87f12..8474504d4c88 100644
--- a/include/drm/display/drm_dp_helper.h
+++ b/include/drm/display/drm_dp_helper.h
@@ -812,4 +812,7 @@ int drm_dp_bw_overhead(int lane_count, int hactive,
int bpp_x16, unsigned long flags);
int drm_dp_bw_channel_coding_efficiency(bool is_uhbr);
+ssize_t drm_dp_vsc_sdp_pack(const struct drm_dp_vsc_sdp *vsc,
+ struct dp_sdp *sdp, size_t size);
+
#endif /* _DRM_DP_HELPER_H_ */