[Freedreno] [Resend v4] drm/msm/disp/dpu1: add support for dspp sub block flush in sc7280

2022-09-21 Thread Kalyan Thota
Flush mechanism for DSPP blocks has changed in sc7280 family, it allows individual sub blocks to be flushed in coordination with master flush control. Representation: master_flush && (PCC_flush | IGC_flush .. etc ) This change adds necessary support for the above design. Changes in v1: - Few nit

[Freedreno] [PATCH 2/2] drm/msm/dsi: implement opp table based check for dsi_mgr_bridge_mode_valid()

2022-09-21 Thread Abhinav Kumar
Currently there is no protection against a user trying to set an unsupported mode on DSI. Implement a check based on the opp table whether the byte clock for the mode can be supported by validating whether an opp table entry exists. For devices which have not added opp table support yet, skip this

[Freedreno] [PATCH 1/2] drm/msm/dsi: add a helper method to compute the dsi byte clk

2022-09-21 Thread Abhinav Kumar
Re-arrange the dsi_calc_pclk method to two helpers, one to compute the DSI byte clk and the other to compute the pclk. This makes the separation of the two clean and also allows clients to compute and use the dsi byte clk separately. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/dsi.

Re: [Freedreno] [PATCH v2 1/7] dt-bindings: msm/dp: Add SDM845 and SC8280XP compatibles

2022-09-21 Thread Bjorn Andersson
On Tue, Sep 20, 2022 at 09:09:13AM +0200, Krzysztof Kozlowski wrote: > On 19/09/2022 23:18, Bjorn Andersson wrote: > > On Sat, Sep 17, 2022 at 06:03:27PM +0100, Krzysztof Kozlowski wrote: > >> On 16/09/2022 21:00, Bjorn Andersson wrote: > >>> From: Bjorn Andersson > >>> > >>> Add compatibles for t