[Freedreno] [PATCH] drm/msm/mdp5: fix 64-bit division in bandwidth calculation

2021-06-22 Thread Dmitry Baryshkov
Fix undefined symbols errors arising from 64-bit division on 32-bit arm targets. Add 64-bit version of mult_frac and use it for calculating bandwidth. ERROR: modpost: "__aeabi_ldivmod" [drivers/gpu/drm/msm/msm.ko] undefined! ERROR: modpost: "__aeabi_uldivmod" [drivers/gpu/drm/msm/msm.ko] undefined

[Freedreno] [v2 1/3] dt-bindings: msm/dsi: Add sc7280 7nm dsi phy

2021-06-22 Thread Rajeev Nandan
The SC7280 SoC uses the 7nm (V4.1) DSI PHY driver. Signed-off-by: Rajeev Nandan --- Changes in v2: - New This patch depends on [1] (dt-bindings: msm: dsi: add missing 7nm bindings) [1] https://lore.kernel.org/linux-arm-msm/20210617144349.28448-2-jonat...@marek.ca/ Documentation/devicetree/

[Freedreno] [v2 3/3] drm/msm/dsi: Add DSI support for SC7280

2021-06-22 Thread Rajeev Nandan
Add support for v2.5.0 DSI block in the SC7280 SoC. Signed-off-by: Rajeev Nandan Reviewed-by: Dmitry Baryshkov --- (no changes since v1) drivers/gpu/drm/msm/dsi/dsi_cfg.c | 20 drivers/gpu/drm/msm/dsi/dsi_cfg.h | 1 + 2 files changed, 21 insertions(+) diff --git a/drive

[Freedreno] [v2 0/3] drm/msm/dsi: Add display DSI support for SC7280 target

2021-06-22 Thread Rajeev Nandan
Changes in this series add support for MSM display DSI CTRL & PHY drivers for the SC7280 SoC, which has DSI controller v2.5.0 and DSI PHY v4.1. Changes in v2: - Dropped patch #1 (dt-bindings: msm/dsi: Add yaml schema for 7nm DSI PHY) and reused Jonathan's patch [1] (dt-bindings: msm: dsi: add mi

[Freedreno] [v2 2/3] drm/msm/dsi: Add PHY configuration for SC7280

2021-06-22 Thread Rajeev Nandan
The SC7280 SoC uses the 7nm (V4.1) DSI PHY driver with different enable|disable regulator loads. Signed-off-by: Rajeev Nandan Reviewed-by: Dmitry Baryshkov --- Changes in v2: - Fixed clang warning for max_pll_rate as per [1] (Dmitry Baryshkov) - Fixed num_dsi_phy and io_start (Dmitry Baryshkov)

Re: [Freedreno] [v7 5/5] drm/panel-simple: Add Samsung ATNA33XC20

2021-06-22 Thread Doug Anderson
Hi, On Mon, Jun 21, 2021 at 11:42 AM Sam Ravnborg wrote: > > Hi Doug, > > On Mon, Jun 21, 2021 at 08:34:51AM -0700, Doug Anderson wrote: > > Hi, > > > > On Sun, Jun 20, 2021 at 3:01 AM Sam Ravnborg wrote: > > > > > > Hi Rajeev > > > On Sat, Jun 19, 2021 at 04:10:30PM +0530, Rajeev Nandan wrote:

Re: [Freedreno] [v7 1/5] drm/panel: add basic DP AUX backlight support

2021-06-22 Thread Doug Anderson
Hi, On Mon, Jun 21, 2021 at 11:38 AM Sam Ravnborg wrote: > > > > I cannot see why you need the extra check on ->enabled? > > > Would it be sufficient to check backlight_is_blank() only? > > > > This extra check on bl->enabled flag is added to avoid enabling/disabling > > backlight again if it is

Re: [Freedreno] [PATCH v2] arm64/dts/qcom/sc7180: Add Display Port dt node

2021-06-22 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-06-18 14:41:50) > On Fri 18 Jun 15:49 CDT 2021, Stephen Boyd wrote: > > > Quoting khs...@codeaurora.org (2021-06-10 09:54:05) > > > On 2021-06-08 16:10, Bjorn Andersson wrote: > > > > On Tue 08 Jun 17:44 CDT 2021, Stephen Boyd wrote: > > > > > > > >> Honestly I suspect

Re: [Freedreno] [PATCH v2] arm64/dts/qcom/sc7180: Add Display Port dt node

2021-06-22 Thread Bjorn Andersson
On Tue 22 Jun 15:23 CDT 2021, Stephen Boyd wrote: > Quoting Bjorn Andersson (2021-06-18 14:41:50) > > On Fri 18 Jun 15:49 CDT 2021, Stephen Boyd wrote: > > > > > Quoting khs...@codeaurora.org (2021-06-10 09:54:05) > > > > On 2021-06-08 16:10, Bjorn Andersson wrote: > > > > > On Tue 08 Jun 17:44 CD

Re: [Freedreno] [v7 1/5] drm/panel: add basic DP AUX backlight support

2021-06-22 Thread rajeevny
Hi, On 23-06-2021 00:03, Doug Anderson wrote: Hi, On Mon, Jun 21, 2021 at 11:38 AM Sam Ravnborg wrote: > > I cannot see why you need the extra check on ->enabled? > > Would it be sufficient to check backlight_is_blank() only? > > This extra check on bl->enabled flag is added to avoid enablin