[PATCH 0/2] drm/msm/dpu: enable INTF_HDMI support
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Sat Apr 15 17:19:24 UTC 2023
Since msm8998 and older platforms (wip) support INTF_HDMI, extend DPU
driver to support HDMI output. First patch was submitted about a year
ago, but received some pushback ([1], [2]). However it becomes
absolutely required to properly support INTF_HDMI as both HDMI and DP
should use DRM_MODE_ENCODER_TMDS for encoder_type. Thus dpu_encoder can
not make a difference between HDMI and DP outputs (however they require
different handling).
[1] https://patchwork.freedesktop.org/patch/473871/
[2] https://patchwork.freedesktop.org/patch/474271/
Dmitry Baryshkov (2):
drm/msm/dpu: simplify intf allocation code
drm/msm/dpu: add HDMI output support
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 39 ++++++----------
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 4 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 51 +++++++++++++++++++--
3 files changed, 63 insertions(+), 31 deletions(-)
--
2.30.2
More information about the dri-devel
mailing list