[Freedreno] [PATCH 0/2] drm/msm/dpu: enable INTF_HDMI support

2023-04-15 Thread Dmitry Baryshkov
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_ENCODE

[Freedreno] [PATCH 1/2] drm/msm/dpu: simplify intf allocation code

2023-04-15 Thread Dmitry Baryshkov
Rather than passing DRM_MODE_ENCODER_* and letting dpu_encoder to guess, which intf type we mean, pass INTF_DSI/INTF_DP directly. This is required to support HDMI output in DPU, as both DP and HDMI encoders are DRM_MODE_ENCODER_TMDS. Thus dpu_encoder code can not make a difference between HDMI and

[Freedreno] [PATCH 2/2] drm/msm/dpu: add HDMI output support

2023-04-15 Thread Dmitry Baryshkov
MSM8998 and the older Qualcomm platforms support HDMI outputs. Now as DPU encoder is ready, add support for using INTF_HDMI. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 45 + 1 file changed, 45 insertions(+) diff --git a/drivers/gpu/drm/