Re: [PATCH v3 1/3] drm/bridge: parade-ps8640: Improve logging at probing

2021-09-14 Thread Stephen Boyd
Quoting Philip Chen (2021-09-14 16:28:43) > Use dev_err_probe() to add logs for error cases at probing time. > > Signed-off-by: Philip Chen > --- > Can you use a cover-letter for more than one patch series? > (no changes since v1) > > drivers/gpu/drm/bridge/parade-ps8640.c | 22

Re: [PATCH v3 0/2] Use "ref" clocks from firmware for DSI PLL VCO parent

2021-09-14 Thread Stephen Boyd
Quoting Marijn Suijten (2021-09-11 06:19:19) > All DSI PHY/PLL drivers were referencing their VCO parent clock by a > global name, most of which don't exist or have been renamed. These > clock drivers seem to function fine without that except the 14nm driver > for sdm6xx [1]. > > At the same

Re: [PATCH v4 01/15] dt-bindings: drm/panel-simple-edp: Introduce generic eDP panels

2021-09-14 Thread Stephen Boyd
Quoting Douglas Anderson (2021-09-09 14:00:17) > diff --git a/Documentation/devicetree/bindings/display/panel/panel-edp.yaml > b/Documentation/devicetree/bindings/display/panel/panel-edp.yaml > new file mode 100644 > index ..6a621376ff86 > --- /dev/null > +++

Re: [PATCH v1 1/2] drm/msm/dp: Add support for SC7280 eDP

2021-09-13 Thread Stephen Boyd
Quoting Sankeerth Billakanti (2021-08-11 17:08:01) > The eDP controller on SC7280 is similar to the eDP/DP controllers > supported by the current driver implementation. > > SC7280 supports one EDP and one DP controller which can operate > concurrently. > > The following are some required changes

Re: [PATCH 13/14] drm/msm: Add hdcp register ranges to sc7180 device tree

2021-09-13 Thread Stephen Boyd
Quoting Sean Paul (2021-09-13 10:57:44) > From: Sean Paul > > This patch adds the register ranges required for HDCP to the sc7180 > device tree. These registers will be used to inject HDCP key as well as > toggle HDCP on and off. It doesn't look to do any of that? > > Signed-off-by: Sean Paul

Re: [PATCH 12/14] dt-bindings: msm/dp: Add bindings for HDCP registers

2021-09-13 Thread Stephen Boyd
Quoting Sean Paul (2021-09-13 10:57:43) > diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml > b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml > index 64d8d9e5e47a..984301442653 100644 > ---

Re: [PATCH 1/2] drm/bridge: parade-ps8640: Use regmap APIs

2021-09-09 Thread Stephen Boyd
Quoting Doug Anderson (2021-09-09 14:14:29) > On Thu, Sep 9, 2021 at 12:09 PM Stephen Boyd wrote: > > > > > > Oh does this have register pages? regmap has support for pages where you > > write some indirection register and then access the same i2c address for &g

Re: [PATCH 1/2] drm/bridge: parade-ps8640: Use regmap APIs

2021-09-09 Thread Stephen Boyd
Quoting Philip Chen (2021-09-09 11:29:19) > Hi, > > On Wed, Sep 8, 2021 at 2:54 PM Stephen Boyd wrote: > > > > Quoting Philip Chen (2021-09-08 11:18:05) > > > diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c > > > b/drivers/gpu/drm/bridge/parade-ps8640.c

Re: [PATCH 2/2] drm/bridge: parade-ps8640: Add support for AUX channel

2021-09-09 Thread Stephen Boyd
Quoting Philip Chen (2021-09-09 11:15:27) > On Wed, Sep 8, 2021 at 3:27 PM Stephen Boyd wrote: > > > > Quoting Philip Chen (2021-09-08 11:18:06) > > > > > + > > > + data = (len - 1) & AUX_LENGTH_MASK; > > > + regmap_write(map, PAGE0_

Re: [PATCH 2/2] drm/bridge: parade-ps8640: Add support for AUX channel

2021-09-08 Thread Stephen Boyd
Quoting Philip Chen (2021-09-08 11:18:06) > diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c > b/drivers/gpu/drm/bridge/parade-ps8640.c > index a16725dbf912..3f0241a60357 100644 > --- a/drivers/gpu/drm/bridge/parade-ps8640.c > +++ b/drivers/gpu/drm/bridge/parade-ps8640.c > @@ -93,6 +115,102 @@

Re: [PATCH 1/2] drm/bridge: parade-ps8640: Use regmap APIs

2021-09-08 Thread Stephen Boyd
Quoting Philip Chen (2021-09-08 11:18:05) > diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c > b/drivers/gpu/drm/bridge/parade-ps8640.c > index 685e9c38b2db..a16725dbf912 100644 > --- a/drivers/gpu/drm/bridge/parade-ps8640.c > +++ b/drivers/gpu/drm/bridge/parade-ps8640.c > @@ -64,12 +65,29 @@

Re: [PATCH v3 06/16] ARM: configs: Everyone who had PANEL_SIMPLE now gets PANEL_SIMPLE_EDP

2021-09-03 Thread Stephen Boyd
Quoting Doug Anderson (2021-09-01 16:10:15) > Hi, > > On Wed, Sep 1, 2021 at 2:12 PM Olof Johansson wrote: > > > > On Wed, Sep 1, 2021 at 1:20 PM Douglas Anderson > > wrote: > > > > > > In the patch ("drm/panel-simple-edp: Split eDP panels out of > > > panel-simple") we split the PANEL_SIMPLE

Re: [PATCH v2 2/2] clk: qcom: gcc-sdm660: Remove transient global "xo" clock

2021-09-02 Thread Stephen Boyd
Quoting Marijn Suijten (2021-09-02 06:05:34) > On 2021-09-01 20:46:34, Stephen Boyd wrote: > > Quoting Marijn Suijten (2021-09-01 01:57:15) > > > On 2021-08-31 22:35:56, Stephen Boyd wrote: > > > > Quoting Marijn Suijten (2021-08-30 11:24:45) > > > > >

Re: [PATCH v2 2/2] clk: qcom: gcc-sdm660: Remove transient global "xo" clock

2021-09-01 Thread Stephen Boyd
Quoting Marijn Suijten (2021-09-01 01:57:15) > On 2021-08-31 22:35:56, Stephen Boyd wrote: > > Quoting Marijn Suijten (2021-08-30 11:24:45) > > > The DSI PHY/PLL was relying on a global "xo" clock to be found, but the > > > real clock is named "x

Re: [PATCH v2 1/2] drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent

2021-09-01 Thread Stephen Boyd
Quoting Marijn Suijten (2021-09-01 01:49:10) > Hi Stephen, > > On 2021-08-31 22:35:12, Stephen Boyd wrote: > > Quoting Marijn Suijten (2021-08-30 16:10:26) > > > > > > I'm 95% sure this shouldn't cause any problems given current DTs and > > > the

Re: [PATCH v2 2/2] clk: qcom: gcc-sdm660: Remove transient global "xo" clock

2021-08-31 Thread Stephen Boyd
b1a6-a1cd-3c7d-a88e-dc83f8a1b...@somainline.org/ > and prevented the removal of "xo" at that time. > > Signed-off-by: Marijn Suijten > --- Presumably this wants to go with the first one. Acked-by: Stephen Boyd

Re: [PATCH v2 1/2] drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent

2021-08-31 Thread Stephen Boyd
Quoting Marijn Suijten (2021-08-30 16:10:26) > > I'm 95% sure this shouldn't cause any problems given current DTs and > their history, but that's probably not enough. This might also impact > DTs that have not yet been upstreamed, but afaik the general stance is > to not care and actually serve

Re: [PATCH v3] drm/dp_mst: Fix return code on sideband message failure

2021-08-30 Thread Stephen Boyd
Quoting Lyude Paul (2021-08-30 09:58:01) > On Mon, 2021-08-30 at 08:56 -0700, khs...@codeaurora.org wrote: > > On 2021-08-25 09:26, Lyude Paul wrote: > > > The patch was pushed yes (was part of drm-misc-next-2021-07-29), seems > > > like it > > > just hasn't trickled down to linus's branch quite

Re: [PATCH v2 1/2] drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent

2021-08-30 Thread Stephen Boyd
Quoting Marijn Suijten (2021-08-30 15:45:42) > Hi Stephen, > > On 2021-08-30 15:16:13, Stephen Boyd wrote: > > Quoting Marijn Suijten (2021-08-30 11:24:44) > > > All DSI PHY/PLL drivers were referencing their VCO parent clock by a > > > global name, most of which

Re: [PATCH v2 1/2] drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent

2021-08-30 Thread Stephen Boyd
Quoting Marijn Suijten (2021-08-30 11:24:44) > All DSI PHY/PLL drivers were referencing their VCO parent clock by a > global name, most of which don't exist or have been renamed. These > clock drivers seem to function fine without that except the 14nm driver > for the sdm6xx [1]. > > At the same

Re: [PATCH v2 3/5] drm/msm/dp: Support up to 3 DP controllers

2021-08-26 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-08-25 16:42:31) > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index 2c7de43f655a..4a6132c18e57 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -78,6 +78,8 @@ struct

Re: [PATCH v2 3/5] drm/msm/dp: Support up to 3 DP controllers

2021-08-26 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-08-26 09:57:18) > On Thu 26 Aug 00:13 PDT 2021, Stephen Boyd wrote: > > Quoting Bjorn Andersson (2021-08-25 16:42:31) > > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c > > > b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c &g

Re: [PATCH v2 5/5] drm/msm/dp: Add sc8180x DP controllers

2021-08-26 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-08-25 16:42:33) > The sc8180x has 2 DP and 1 eDP controllers, add support for these to the > DP driver. > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [PATCH v2 3/5] drm/msm/dp: Support up to 3 DP controllers

2021-08-26 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-08-25 16:42:31) > Based on the removal of the g_dp_display and the movement of the > priv->dp lookup into the DP code it's now possible to have multiple > DP instances. > > In line with the other controllers in the MSM driver, introduce a > per-compatible list of base

Re: [PATCH v2 2/5] drm/msm/dp: Modify prototype of encoder based API

2021-08-26 Thread Stephen Boyd
Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [PATCH v2 1/5] drm/msm/dp: Remove global g_dp_display variable

2021-08-26 Thread Stephen Boyd
> > Replace this with a combination of existing references to adjacent > objects and drvdata. > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [RFC] drm/msm/dp: Allow attaching a drm_panel

2021-08-25 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-07-26 16:13:51) > eDP panels might need some power sequencing and backlight management, > so make it possible to associate a drm_panel with a DP instance and > prepare and enable the panel accordingly. > > Signed-off-by: Bjorn Andersson > --- > > This solves my

Re: [PATCH v2 4/5] drm/msm/dp: Store each subblock in the io region

2021-08-25 Thread Stephen Boyd
. > > Signed-off-by: Bjorn Andersson > --- One nit below: Reviewed-by: Stephen Boyd > > diff --git a/drivers/gpu/drm/msm/dp/dp_parser.h > b/drivers/gpu/drm/msm/dp/dp_parser.h > index dc62e70b1640..a95b05dbb11c 100644 > --- a/drivers/gpu/drm/msm/dp/dp_parser.h > +

Re: [PATCH v2 3/5] drm/msm/dp: Refactor ioremap wrapper

2021-08-25 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-08-25 15:25:55) > diff --git a/drivers/gpu/drm/msm/dp/dp_parser.c > b/drivers/gpu/drm/msm/dp/dp_parser.c > index c064ced78278..215065336268 100644 > --- a/drivers/gpu/drm/msm/dp/dp_parser.c > +++ b/drivers/gpu/drm/msm/dp/dp_parser.c > @@ -19,40 +19,30 @@ static const

Re: [PATCH v1 2/2] dt-bindings: Add SC7280 compatible string

2021-08-25 Thread Stephen Boyd
Quoting Sankeerth Billakanti (2021-08-11 17:08:02) > The Qualcomm SC7280 platform supports an eDP controller, add > compatible string for it to msm/binding. > > Signed-off-by: Sankeerth Billakanti > --- > Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 3 +++ > 1 file changed,

Re: [PATCH v2] drm/bridge: parade-ps8640: Reorg the macros

2021-08-25 Thread Stephen Boyd
the number of mipi data lanes. > > Signed-off-by: Philip Chen > --- Reviewed-by: Stephen Boyd

Re: [PATCH v1 1/4] dt-bindings: msm: add DT bindings for sc7280

2021-08-18 Thread Stephen Boyd
Quoting Krishna Manikandan (2021-08-18 03:27:01) > MSM Mobile Display Subsystem (MDSS) encapsulates sub-blocks > like DPU display controller, DSI, EDP etc. Add required DPU > device tree bindings for SC7280. > > Signed-off-by: Krishna Manikandan > --- Please send a cover-letter next time. Do

Re: [PATCH v1 4/4] arm64: dts: qcom: sc7280: add edp display dt nodes

2021-08-18 Thread Stephen Boyd
Quoting Krishna Manikandan (2021-08-18 03:27:04) > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi > b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index aadf55d..5be318e 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -1412,7 +1412,7 @@ >

Re: [PATCH v1 3/4] arm64: dts: qcom: sc7280: Add DSI display nodes

2021-08-18 Thread Stephen Boyd
Quoting Krishna Manikandan (2021-08-18 03:27:03) > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi > b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index fd7ff1c..aadf55d 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -1507,6 +1519,95 @@ >

Re: [PATCH v1 2/4] arm64: dts: qcom: sc7280: add display dt nodes

2021-08-18 Thread Stephen Boyd
Quoting Krishna Manikandan (2021-08-18 03:27:02) > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi > b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 53a21d0..fd7ff1c 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -5,6 +5,7 @@ > * Copyright

Re: [PATCH v1 1/4] dt-bindings: msm: add DT bindings for sc7280

2021-08-18 Thread Stephen Boyd
Quoting Krishna Manikandan (2021-08-18 03:27:01) > diff --git a/Documentation/devicetree/bindings/display/msm/dpu-sc7280.yaml > b/Documentation/devicetree/bindings/display/msm/dpu-sc7280.yaml > new file mode 100644 > index 000..3d256c0 > --- /dev/null > +++

Re: [PATCH v1 1/2] drm/msm/dp: Add support for SC7280 eDP

2021-08-11 Thread Stephen Boyd
Quoting Sankeerth Billakanti (2021-08-11 17:08:01) > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > index b131fd37..1096c44 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > +++

Re: [PATCH v1 2/2] dt-bindings: Add SC7280 compatible string

2021-08-11 Thread Stephen Boyd
Quoting Sankeerth Billakanti (2021-08-11 17:08:02) > The Qualcomm SC7280 platform supports an eDP controller, add > compatible string for it to msm/binding. > > Signed-off-by: Sankeerth Billakanti > --- > Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 3 +++ > 1 file changed,

Re: [PATCH 1/4] drm/bridge: ti-sn65dsi86: Avoid creating multiple connectors

2021-08-11 Thread Stephen Boyd
we > supported that mode) this would change nothing. > > Fixes: 4e5763f03e10 ("drm/bridge: ti-sn65dsi86: Wrap panel with panel-bridge") > Signed-off-by: Rob Clark > --- Thanks for saving me the packaging effort. Reported-by: Stephen Boyd Tested-by: Stephen Boyd

Re: [PATCH v2 4/6] drm/bridge: ti-sn65dsi86: Wrap panel with panel-bridge

2021-08-11 Thread Stephen Boyd
Quoting Laurent Pinchart (2021-08-11 15:40:24) > On Wed, Aug 11, 2021 at 01:51:28PM -0700, Rob Clark wrote: > > > > I kinda think *all* bridges that create a connector (whether optional > > or not) should OR in NO_CONNECTOR when attaching the next downstream > > bridge.. since you never want

Re: [PATCH v2 4/6] drm/bridge: ti-sn65dsi86: Wrap panel with panel-bridge

2021-08-11 Thread Stephen Boyd
Quoting Rob Clark (2021-08-11 09:20:30) > On Wed, Aug 11, 2021 at 5:15 AM Laurent Pinchart > wrote: > > > > Hi Stephen, > > > > On Tue, Aug 10, 2021 at 10:26:33PM -0700, Stephen Boyd wrote: > > > Quoting Laurent Pinchart (2021-06-23 17:03:02) > > >

Re: [PATCH v5 1/2] arm64: dts: qcom: sc7280: Add gpu support

2021-08-11 Thread Stephen Boyd
Quoting Akhil P Oommen (2021-08-11 07:23:54) > Add the necessary dt nodes for gpu support in sc7280. > > Signed-off-by: Akhil P Oommen > --- Reviewed-by: Stephen Boyd

Re: [PATCH v2 4/6] drm/bridge: ti-sn65dsi86: Wrap panel with panel-bridge

2021-08-10 Thread Stephen Boyd
Quoting Laurent Pinchart (2021-06-23 17:03:02) > To simplify interfacing with the panel, wrap it in a panel-bridge and > let the DRM bridge helpers handle chaining of operations. > > This also prepares for support of DRM_BRIDGE_ATTACH_NO_CONNECTOR, which > requires all components in the display

Re: [PATCH v3 0/6] add fixes to pass DP Link Layer compliance test cases

2021-08-10 Thread Stephen Boyd
s ready I'm still able to use my Apple dongle with these patches so Tested-by: Stephen Boyd

Re: [PATCH v3 6/6] drm/msm/dp: do not end dp link training until video is ready

2021-08-10 Thread Stephen Boyd
itted to sink > properly. This fixes Link Layer CTS cases 4.3.2.1, 4.3.2.2, 4.3.2.3 > and 4.3.2.4. > > Changes in v3: > -- merge retrain link if loss of symbol locked happen into this patch > -- replace dp_ctrl_loss_symbol_lock() with dp_ctrl_channel_eq_ok() > > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3 5/6] drm/msm/dp: return correct edid checksum after corrupted edid checksum read

2021-08-10 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-08-05 13:44:54) > Response with correct edid checksum saved at connector after corrupted edid > checksum read. This fixes Link Layer CTS cases 4.2.2.3, 4.2.2.6. > > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3 4/6] drm/msm/dp: replug event is converted into an unplug followed by an plug events

2021-08-10 Thread Stephen Boyd
dd fixes statement > > Changes in V3: > -- delete EV_HPD_REPLUG_INT > > Fixes: f21c8a276c2d ("drm/msm/dp: handle irq_hpd with sink_count = 0 > correctly") > > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3 2/6] drm/msm/dp: reduce link rate if failed at link training 1

2021-08-10 Thread Stephen Boyd
V3: > -- return failed if lane_count <= 1 > > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH v2] drm/msm/dp: add drm debug logs to dp_pm_resume/suspend

2021-08-10 Thread Stephen Boyd
Quoting khs...@codeaurora.org (2021-08-10 12:18:02) > On 2021-08-10 11:33, Stephen Boyd wrote: > > Quoting Kuogee Hsieh (2021-08-10 08:29:22) > >> Changes in V2: > >> -- correct Fixes text > >> -- drop commit text > >> > >> Fixes: 601f047

Re: [PATCH v2] drm/msm/dp: add drm debug logs to dp_pm_resume/suspend

2021-08-10 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-08-10 08:29:22) > Changes in V2: > -- correct Fixes text > -- drop commit text > > Fixes: 601f0479c583 ("drm/msm/dp: add logs across DP driver for ease of > debugging") > Signed-off-by: Kuogee Hsieh > --- > drivers/gpu/drm/msm/dp/dp_display.c | 13 + > 1

Re: [PATCH v2] drm/msm/dp: add drm debug logs to dp_pm_resume/suspend

2021-08-10 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-08-10 08:29:22) > Changes in V2: > -- correct Fixes text > -- drop commit text > > Fixes: 601f0479c583 ("drm/msm/dp: add logs across DP driver for ease of > debugging") > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH] drm/msm/dp: add drm debug logs to dp_pm_resume/suspend

2021-08-09 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-08-09 14:58:57) > Add drm debug logs to dp_pm_resume and dp_pm_suspend to help > debug suspend/resume issues. > > Fixes: 355ab7428f09 ("drm/msm/dp: add debug logs to dp_pm_resume/suspend") BTW, I have no idea what commit this is. Best to probably just drop it?

Re: [PATCH] drm/msm/dp: add drm debug logs to dp_pm_resume/suspend

2021-08-09 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-08-09 14:58:57) > Add drm debug logs to dp_pm_resume and dp_pm_suspend to help > debug suspend/resume issues. > > Fixes: 355ab7428f09 ("drm/msm/dp: add debug logs to dp_pm_resume/suspend") > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH v4] drm/msm/dp: update is_connected status base on sink count at dp_pm_resume()

2021-08-04 Thread Stephen Boyd
t; -- delete status local variable from dp_pm_resume() > > Changes in v4: > -- delete un necessary comment at dp_pm_resume() > > Fixes: d9aa6571b28ba ("drm/msm/dp: check sink_count before update > is_connected status") > Signed-off-by: Kuogee Hsieh > --- Tested-by: Stephen Boyd Reviewed-by: Stephen Boyd

Re: [PATCH v3] drm/msm/dp: update is_connected status base on sink count at dp_pm_resume()

2021-08-04 Thread Stephen Boyd
Quoting khs...@codeaurora.org (2021-08-04 08:48:04) > On 2021-08-03 12:05, Stephen Boyd wrote: > > Quoting Kuogee Hsieh (2021-08-03 09:25:13) > >> @@ -1327,14 +1327,26 @@ static int dp_pm_resume(struct device *dev) > >> > >> dp_catalog_ctrl_hpd_config(dp

Re: [v2] drm/msm/disp/dpu1: add safe lut config in dpu driver

2021-08-03 Thread Stephen Boyd
Quoting Kalyan Thota (2021-08-03 03:41:47) > Add safe lut configuration for all the targets in dpu > driver as per QOS recommendation. > > Issue reported on SC7280: > > With wait-for-safe feature in smmu enabled, RT client > buffer levels are checked to be safe before smmu invalidation. > Since

Re: [PATCH v3] drm/msm/dp: update is_connected status base on sink count at dp_pm_resume()

2021-08-03 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-08-03 09:25:13) > Currently at dp_pm_resume() is_connected state is decided base on hpd > connection > status only. This will put is_connected in wrongly "true" state at the > scenario > that dongle attached to DUT but without hmdi cable connecting to it. Fix this >

Re: [PATCH v2] drm/msm/dp: update is_connected status base on sink count at dp_pm_resume()

2021-08-03 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-08-02 13:20:55) > Currently at dp_pm_resume() is_connected state is decided base on hpd > connection > status only. This will put is_connected in wrongly "true" state at the > scenario > that dongle attached to DUT but without hmdi cable connecting to it. Fix this >

Re: [PATCH] drm/msm/dp: update is_connected status base on sink count at dp_pm_resume()

2021-07-30 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-07-28 14:30:54) > Currently at dp_pm_resume() is_connected state is decided base on hpd > connection > status only. This will put is_connected in wrongly "true" state at the > scenario > that dongle attached to DUT but without hmdi cable connecting to it. Fix this >

Re: [PATCH v2] arm64: dts: qcom: sc7280: Add gpu support

2021-07-29 Thread Stephen Boyd
Quoting Akhil P Oommen (2021-07-29 11:57:23) > On 7/29/2021 10:46 PM, Stephen Boyd wrote: > > Quoting Akhil P Oommen (2021-07-28 00:17:45) > >> On 7/27/2021 5:46 AM, Stephen Boyd wrote: > >>> Quoting Akhil P Oommen (2021-07-24 10:29:00) > >>>> Add the

Re: [PATCH v3 1/2] arm64: dts: qcom: sc7280: Add gpu support

2021-07-29 Thread Stephen Boyd
Quoting Rob Clark (2021-07-29 10:35:32) > On Thu, Jul 29, 2021 at 10:19 AM Stephen Boyd wrote: > > > > > > Why is 45000 after 55000? Is it on purpose? If not intended > > please sort by frequency. > > We've used descending order, at least for gpu

Re: [PATCH v3 2/2] arm64: dts: qcom: sc7280: Add gpu thermal zone cooling support

2021-07-29 Thread Stephen Boyd
ff-by: Akhil P Oommen > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3 1/2] arm64: dts: qcom: sc7280: Add gpu support

2021-07-29 Thread Stephen Boyd
Quoting Akhil P Oommen (2021-07-28 04:54:01) > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi > b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 029723a..c88f366 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -592,6 +593,85 @@ >

Re: [PATCH v2] arm64: dts: qcom: sc7280: Add gpu support

2021-07-29 Thread Stephen Boyd
Quoting Akhil P Oommen (2021-07-28 00:17:45) > On 7/27/2021 5:46 AM, Stephen Boyd wrote: > > Quoting Akhil P Oommen (2021-07-24 10:29:00) > >> Add the necessary dt nodes for gpu support in sc7280. > >> > >> Signed-off-by: Akhil P Oommen > >> --

Re: [PATCH v6] drm/msm/dp: add logs across DP driver for ease of debugging

2021-07-27 Thread Stephen Boyd
> - Changed if else if statement, >to not overwrite the ret variable multiple times. > Changes in v6: > - Changed a wrong log message. > Signed-off-by: Maitreyee Rao > --- Reviewed-by: Stephen Boyd It may also be good to add some logging into the dp_pm_resume() and d

Re: [PATCH v2] arm64: dts: qcom: sc7280: Add gpu support

2021-07-26 Thread Stephen Boyd
Quoting Akhil P Oommen (2021-07-24 10:29:00) > Add the necessary dt nodes for gpu support in sc7280. > > Signed-off-by: Akhil P Oommen > --- > This patch has dependency on the GPUCC bindings patch here: >

Re: [PATCH 2/5] drm/msm/dp: Modify prototype of encoder based API

2021-07-26 Thread Stephen Boyd
ruct msm_dp the > operation relates to. > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [PATCH 5/5] drm/msm/dp: Add sc8180x DP controllers

2021-07-26 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-07-24 21:24:36) > The sc8180x has 2 DP and 1 eDP controllers, add support for these to the > DP driver. > > Link: > https://lore.kernel.org/linux-arm-msm/20210511042043.592802-5-bjorn.anders...@linaro.org/ > Signed-off-by: Bjorn Andersson > --- >

Re: [PATCH 4/5] dt-bindings: msm/dp: Add SC8180x compatibles

2021-07-26 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-07-24 21:24:35) > The Qualcomm SC8180x has 2 DP controllers and 1 eDP controller, add > compatibles for these to the msm/dp binding. > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [PATCH 3/5] drm/msm/dp: Support up to 3 DP controllers

2021-07-26 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-07-24 21:24:33) > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index 59ffd6c8f41f..92b7646a1bb7 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -238,8 +251,11 @@ static

Re: [PATCH 1/5] drm/msm/dp: Remove global g_dp_display variable

2021-07-26 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-07-24 21:24:31) > As the Qualcomm DisplayPort driver only supports a single instance of > the driver the commonly used struct dp_display is kept in a global > variable. As we introduce additional instances this obviously doesn't > work. > > Replace this with a

Re: [PATCH v2] drm/msm/dp: signal audio plugged change at dp_pm_resume

2021-07-26 Thread Stephen Boyd
dp_pm_resume() so that audio option will be in > correct state after system resumed. > > Changes in V2: > -- correct Fixes tag commit id. > > Fixes: f591dbb5fb8c ("drm/msm/dp: power off DP phy at suspend") > Signed-off-by: Kuogee Hsieh > Reviewed-by: Stephen Boyd

Re: [PATCH v5] drm/msm/dp: add logs across DP driver for ease of debugging

2021-07-26 Thread Stephen Boyd
Quoting maitreye (2021-07-26 10:36:26) > @@ -509,6 +515,7 @@ static int dp_display_usbpd_attention_cb(struct device > *dev) > DRM_ERROR("invalid dev\n"); > return -EINVAL; > } > + DRM_DEBUG_DP("sink_request: %d\n", sink_request); This one is bad.

Re: [PATCH v2] drm/msm/dp: signal audio plugged change at dp_pm_resume

2021-07-26 Thread Stephen Boyd
dp_pm_resume() so that audio option will be in > correct state after system resumed. > > Changes in V2: > -- correct Fixes tag commit id. > > Fixes: f591dbb5fb8c ("drm/msm/dp: power off DP phy at suspend") > Signed-off-by: Kuogee Hsieh > Reviewed-by: Stephen Boyd

Re: [PATCH v5] drm/msm/dp: add logs across DP driver for ease of debugging

2021-07-26 Thread Stephen Boyd
> - Changed if else if statement, >to not overwrite the ret variable multiple times. > > Signed-off-by: Maitreyee Rao > --- Reviewed-by: Stephen Boyd

Re: [PATCH] arm64: dts: qcom: sc7280: Add gpu support

2021-07-23 Thread Stephen Boyd
Quoting Akhil P Oommen (2021-07-23 04:20:54) > Add the necessary dt nodes for gpu support in sc7280. > > Signed-off-by: Akhil P Oommen > --- > This patch has dependency on the GPUCC bindings patch here: >

Re: [PATCH v4] drm/msm/dp: add logs across DP driver for ease of debugging

2021-07-23 Thread Stephen Boyd
Quoting maitr...@codeaurora.org (2021-07-22 20:53:37) > On 2021-07-22 15:09, Stephen Boyd wrote: > Thank you for the comments . > > Quoting maitr...@codeaurora.org (2021-07-22 14:33:43) > >> Thank you Stephen. > >> > >> On 2021-07-22 13:31, Stephen Boyd wro

Re: [PATCH] drm/msm/dp: signal audio plugged change at dp_pm_resume

2021-07-22 Thread Stephen Boyd
dp_pm_resume() so that audio option will be in > correct state after system resumed. > > Fixes: bd52cfedb5a8 ("drm/msm/dp: power off DP phy at suspend") This should be Fixes: f591dbb5fb8c ("drm/msm/dp: power off DP phy at suspend") > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH v4] drm/msm/dp: add logs across DP driver for ease of debugging

2021-07-22 Thread Stephen Boyd
Quoting maitr...@codeaurora.org (2021-07-22 14:33:43) > Thank you Stephen. > > On 2021-07-22 13:31, Stephen Boyd wrote: > > Quoting maitreye (2021-07-21 16:19:40) > >> From: Maitreyee Rao > >> > >> Add trace points across the MSM DP driver to help de

Re: [PATCH v4] drm/msm/dp: add logs across DP driver for ease of debugging

2021-07-22 Thread Stephen Boyd
Quoting maitreye (2021-07-21 16:19:40) > From: Maitreyee Rao > > Add trace points across the MSM DP driver to help debug > interop issues. > > Changes in v4: > - Changed goto statement and used if else-if I think drm likes to see all the changelog here to see patch evolution. > >

Re: [PATCH v2 2/2] drm/msm/dsi: add support for dsi test pattern generator

2021-07-22 Thread Stephen Boyd
r validation on dual DSI and command mode panel is pending. > If there are any fix ups needed for those, it shall be applied on top > of this change. > > Changes in v2: > - generate the new dsi.xml.h and update the bitfield names > > Signed-off-by: Abhinav Kumar > --- Reviewed-by: Stephen Boyd

Re: [PATCH v2 1/2] drm/msm/dsi: update dsi register header file for tpg

2021-07-22 Thread Stephen Boyd
Quoting Abhinav Kumar (2021-07-21 19:50:31) > Update the DSI controller header XML file to add registers > and bitfields to support rectangular checkered pattern > generator. > > Signed-off-by: Abhinav Kumar > --- Reviewed-by: Stephen Boyd

Re: [PATCH] drm/msm/dp: Initialize the INTF_CONFIG register

2021-07-22 Thread Stephen Boyd
/dp: add displayPort driver support") > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [PATCH 5/5] drm/msm/dp: Allow sub-regions to be specified in DT

2021-07-22 Thread Stephen Boyd
r to support existing DT. > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [PATCH 4/5] drm/msm/dp: Store each subblock in the io region

2021-07-22 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-07-21 19:42:26) > Not all platforms has DP_P0 at offset 0x1000 from the beginning of the > DP block. So dss_io_data into representing each of the sub-regions, to "So dss_io_data into" doesn't make sense to me. Is some word or words missing? > make it possible in the

Re: [PATCH 3/5] drm/msm/dp: Refactor ioremap wrapper

2021-07-22 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-07-21 19:42:25) > In order to deal with multiple memory ranges in the following commit > change the ioremap wrapper to not poke directly into the dss_io_data > struct. > > Signed-off-by: Bjorn Andersson > --- > drivers/gpu/drm/msm/dp/dp_parser.c | 28

Re: [PATCH 2/5] drm/msm/dp: Use devres for ioremap()

2021-07-22 Thread Stephen Boyd
Bjorn Andersson > --- Reviewed-by: Stephen Boyd > drivers/gpu/drm/msm/dp/dp_parser.c | 29 - > 1 file changed, 4 insertions(+), 25 deletions(-) > > diff --git a/drivers/gpu/drm/msm/dp/dp_parser.c > b/drivers/gpu/drm/msm/dp/dp_parser.c > index 0519dd3ac3c3.

Re: [PATCH 1/5] dt-bindings: msm/dp: Change reg definition

2021-07-22 Thread Stephen Boyd
s are specified instead. > It is expected that the implementation will handle existing DTBs, even > though the schema defines the new layout. > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [PATCH v2 4/7] drm/msm/dp: replug event is converted into an unplug followed by an plug events

2021-07-22 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-07-13 08:54:04) > Remove special handling of replug interrupt and instead treat replug event > as a sequential unplug followed by a plugin event. This is needed to meet > the requirements of DP Link Layer CTS test case 4.2.1.3. > > Changes in V2: > -- add fixes statement

Re: [PATCH v2 5/7] drm/msm/dp: return correct edid checksum after corrupted edid checksum read

2021-07-22 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-07-13 08:54:05) > diff --git a/drivers/gpu/drm/msm/dp/dp_panel.c > b/drivers/gpu/drm/msm/dp/dp_panel.c > index 88196f7..0fdb551 100644 > --- a/drivers/gpu/drm/msm/dp/dp_panel.c > +++ b/drivers/gpu/drm/msm/dp/dp_panel.c > @@ -303,7 +303,12 @@ void

Re: [PATCH v2 6/7] drm/msm/dp: do not end dp link training until video is ready

2021-07-22 Thread Stephen Boyd
requirement. This fixes Link Layer > CTS cases 4.3.2.1, 4.3.2.2, 4.3.2.3 and 4.3.2.4. > > Signed-off-by: Kuogee Hsieh > --- Any fixes tag? Reviewed-by: Stephen Boyd

Re: [PATCH v2 7/7] drm/msm/dp: retrain link when loss of symbol lock detected

2021-07-22 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-07-13 08:54:07) > diff --git a/drivers/gpu/drm/msm/dp/dp_ctrl.c > b/drivers/gpu/drm/msm/dp/dp_ctrl.c > index 6a013b0..20951c8 100644 > --- a/drivers/gpu/drm/msm/dp/dp_ctrl.c > +++ b/drivers/gpu/drm/msm/dp/dp_ctrl.c > @@ -1638,6 +1638,25 @@ static bool

Re: [PATCH v2 3/7] drm/msm/dp: reset aux controller after dp_aux_cmd_fifo_tx() failed.

2021-07-22 Thread Stephen Boyd
ug interrupt to get lost. Therefore reset aux > controller only when link is in connection state when dp_aux_cmd_fifo_tx() > fail. This fixes Link Layer CTS cases 4.2.1.1 and 4.2.1.2. > > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH v2 2/7] drm/msm/dp: reduce link rate if failed at link training 1

2021-07-22 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-07-13 08:54:02) > diff --git a/drivers/gpu/drm/msm/dp/dp_ctrl.c > b/drivers/gpu/drm/msm/dp/dp_ctrl.c > index 27fb0f0..92cf331 100644 > --- a/drivers/gpu/drm/msm/dp/dp_ctrl.c > +++ b/drivers/gpu/drm/msm/dp/dp_ctrl.c > @@ -1634,6 +1617,24 @@ void

Re: [PATCH v2 1/7] drm/msm/dp: use dp_ctrl_off_link_stream during PHY compliance test run

2021-07-22 Thread Stephen Boyd
ff() is used for unplug event which is triggered when DP cable is > dis connected. > > Changes in V2: > -- add fixes statement > > Fixes: f21c8a276c2d ("drm/msm/dp: handle irq_hpd with sink_count = 0 > correctly") > > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

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

2021-07-21 Thread Stephen Boyd
Quoting Rajeev Nandan (2021-06-22 05:42:28) > Add support for v2.5.0 DSI block in the SC7280 SoC. > > Signed-off-by: Rajeev Nandan > Reviewed-by: Dmitry Baryshkov > --- Reviewed-by: Stephen Boyd

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

2021-07-21 Thread Stephen Boyd
Quoting Rajeev Nandan (2021-06-22 05:42:27) > 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 > --- Reviewed-by: Stephen Boyd

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

2021-07-21 Thread Stephen Boyd
Quoting Rajeev Nandan (2021-06-22 05:42:26) > The SC7280 SoC uses the 7nm (V4.1) DSI PHY driver. > > Signed-off-by: Rajeev Nandan > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3] drm/msm/dp: add logs across DP driver for ease of debugging

2021-07-20 Thread Stephen Boyd
Quoting maitreye (2021-07-20 15:39:30) > diff --git a/drivers/gpu/drm/msm/dp/dp_link.c > b/drivers/gpu/drm/msm/dp/dp_link.c > index be986da..316e8e6 100644 > --- a/drivers/gpu/drm/msm/dp/dp_link.c > +++ b/drivers/gpu/drm/msm/dp/dp_link.c > @@ -1036,43 +1036,46 @@ int

Re: [PATCH 7/7] drm/msm/dp: retrain link when loss of symbol lock detected

2021-07-15 Thread Stephen Boyd
Quoting khs...@codeaurora.org (2021-07-09 10:16:52) > On 2021-07-08 00:21, Stephen Boyd wrote: > > Quoting Kuogee Hsieh (2021-07-06 10:20:20) > >> Main link symbol locked is achieved at end of link training 2. Some > >> dongle main link symbol may become unlocke

<    4   5   6   7   8   9   10   11   12   13   >