drm/dp: move intel_dp_vsc_sdp_pack() to generic helper
authorAbhinav Kumar <quic_abhinavk@quicinc.com>
Tue, 20 Feb 2024 19:53:46 +0000 (11:53 -0800)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 22 Feb 2024 20:04:29 +0000 (22:04 +0200)
commit47f419e07111acecab3b529d4ae31a28985f5b61
tree8b3deef02e624cd3e5d2c0c0e5311c0eb7b0298c
parent32e5a120a5105bce01561978ee55aee8e40ac0dc
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
drivers/gpu/drm/display/drm_dp_helper.c
drivers/gpu/drm/i915/display/intel_dp.c
include/drm/display/drm_dp_helper.h