summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAbhinav Kumar <quic_abhinavk@quicinc.com>2024-02-20 20:53:46 +0100
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-02-22 21:04:29 +0100
commit47f419e07111acecab3b529d4ae31a28985f5b61 (patch)
tree8b3deef02e624cd3e5d2c0c0e5311c0eb7b0298c /include
parentdrm/tegra: put drm_gem_object ref on error in tegra_fb_create (diff)
downloadlinux-47f419e07111acecab3b529d4ae31a28985f5b61.tar.xz
linux-47f419e07111acecab3b529d4ae31a28985f5b61.zip
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')
-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_ */