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

2023-04-17 Thread Abhinav Kumar
On 4/15/2023 10:19 AM, Dmitry Baryshkov wrote: 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_enco

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

2023-04-16 Thread Arnaud Vrac
On Apr 15 20:19, Dmitry Baryshkov wrote: 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 cod

[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