Re: [Freedreno] [PATCH 11/12] drm/msm/dpu: gracefully handle null fb commits for writeback

2022-04-14 Thread Dmitry Baryshkov
On 15/04/2022 02:17, Abhinav Kumar wrote: On 2/4/2022 2:43 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: kms_writeback test cases also verify with a null fb for the writeback connector job. In addition there are also other commit paths which can result in kickoffs

Re: [Freedreno] [PATCH 04/12] drm/msm/dpu: add changes to support writeback in hw_ctl

2022-04-14 Thread Abhinav Kumar
Sorry for multiple replies on this, I missed responding to one question. On 4/14/2022 5:27 PM, Abhinav Kumar wrote: On 4/14/2022 5:19 PM, Dmitry Baryshkov wrote: On 15/04/2022 03:01, Abhinav Kumar wrote: On 4/14/2022 4:25 PM, Dmitry Baryshkov wrote: On 15/04/2022 00:50, Abhinav Kumar

Re: [Freedreno] [PATCH 04/12] drm/msm/dpu: add changes to support writeback in hw_ctl

2022-04-14 Thread Abhinav Kumar
On 4/14/2022 5:19 PM, Dmitry Baryshkov wrote: On 15/04/2022 03:01, Abhinav Kumar wrote: On 4/14/2022 4:25 PM, Dmitry Baryshkov wrote: On 15/04/2022 00:50, Abhinav Kumar wrote: On 2/4/2022 2:19 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Add changes to

Re: [Freedreno] [PATCH 04/12] drm/msm/dpu: add changes to support writeback in hw_ctl

2022-04-14 Thread Dmitry Baryshkov
On 15/04/2022 03:01, Abhinav Kumar wrote: On 4/14/2022 4:25 PM, Dmitry Baryshkov wrote: On 15/04/2022 00:50, Abhinav Kumar wrote: On 2/4/2022 2:19 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Add changes to support writeback module in the dpu_hw_ctl interface. In

Re: [Freedreno] [PATCH 04/12] drm/msm/dpu: add changes to support writeback in hw_ctl

2022-04-14 Thread Abhinav Kumar
On 4/14/2022 4:25 PM, Dmitry Baryshkov wrote: On 15/04/2022 00:50, Abhinav Kumar wrote: On 2/4/2022 2:19 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Add changes to support writeback module in the dpu_hw_ctl interface. In addition inroduce a reset_intf_cfg op to

Re: [Freedreno] [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-14 Thread Dmitry Baryshkov
On 15/04/2022 01:06, Kuogee Hsieh wrote: On 4/8/2022 4:59 PM, Dmitry Baryshkov wrote: On Fri, 8 Apr 2022 at 23:30, Kuogee Hsieh wrote: On 4/8/2022 5:27 AM, Dmitry Baryshkov wrote: On 07/04/2022 00:28, Kuogee Hsieh wrote: dp_hpd_plug_handle() is responsible for setting up main link and

Re: [Freedreno] [PATCH 04/12] drm/msm/dpu: add changes to support writeback in hw_ctl

2022-04-14 Thread Dmitry Baryshkov
On 15/04/2022 00:50, Abhinav Kumar wrote: On 2/4/2022 2:19 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Add changes to support writeback module in the dpu_hw_ctl interface. In addition inroduce a reset_intf_cfg op to reset the interface bits for the currently active

Re: [Freedreno] [PATCH 11/12] drm/msm/dpu: gracefully handle null fb commits for writeback

2022-04-14 Thread Abhinav Kumar
On 2/4/2022 2:43 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: kms_writeback test cases also verify with a null fb for the writeback connector job. In addition there are also other commit paths which can result in kickoffs without a valid framebuffer like while

Re: [Freedreno] [PATCH 06/12] drm/msm/dpu: make changes to dpu_encoder to support virtual encoder

2022-04-14 Thread Abhinav Kumar
Hi Marijn Thank you for your suggestion. I will address it and add your "Reported by". Thanks Abhinav On 4/14/2022 3:26 PM, Marijn Suijten wrote: On 2022-02-04 13:17:19, Abhinav Kumar wrote: Make changes to dpu_encoder to support virtual encoder needed to support writeback for dpu.

Re: [Freedreno] [PATCH 06/12] drm/msm/dpu: make changes to dpu_encoder to support virtual encoder

2022-04-14 Thread Marijn Suijten
On 2022-02-04 13:17:19, Abhinav Kumar wrote: > Make changes to dpu_encoder to support virtual encoder needed > to support writeback for dpu. > > Signed-off-by: Abhinav Kumar > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 57 > + > 1 file changed, 42

Re: [Freedreno] [PATCH 10/12] drm/msm/dpu: initialize dpu encoder and connector for writeback

2022-04-14 Thread Abhinav Kumar
On 2/4/2022 2:34 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Initialize dpu encoder and connector for writeback if the target supports it in the catalog. Signed-off-by: Abhinav Kumar ---   drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 37 -  

Re: [Freedreno] [PATCH 08/12] drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback

2022-04-14 Thread Abhinav Kumar
On 2/4/2022 3:19 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Introduce the dpu_encoder_phys_* for the writeback interface to handle writeback specific hardware programming. Signed-off-by: Abhinav Kumar Mostly looks ok, see minor comments bellow. ---  

Re: [Freedreno] [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-14 Thread Kuogee Hsieh
On 4/8/2022 4:59 PM, Dmitry Baryshkov wrote: On Fri, 8 Apr 2022 at 23:30, Kuogee Hsieh wrote: On 4/8/2022 5:27 AM, Dmitry Baryshkov wrote: On 07/04/2022 00:28, Kuogee Hsieh wrote: dp_hpd_plug_handle() is responsible for setting up main link and send uevent to notify user space framework

Re: [Freedreno] [PATCH v7 1/4] drm/msm/dp: Add eDP support via aux_bus

2022-04-14 Thread Doug Anderson
Hi, On Thu, Apr 14, 2022 at 2:16 PM Dmitry Baryshkov wrote: > > > Hmm, interesting. Probably for DRM_BRIDGE_OP_MODES that will work? > > It's definitely worth confirming but from my reading of the code it > > _probably_ wouldn't hurt. > > > > One thing someone would want to confirm would be what

Re: [Freedreno] [PATCH 06/12] drm/msm/dpu: make changes to dpu_encoder to support virtual encoder

2022-04-14 Thread Abhinav Kumar
On 2/4/2022 3:36 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Make changes to dpu_encoder to support virtual encoder needed to support writeback for dpu. This patch will change significantly if Signed-off-by: Abhinav Kumar ---  

Re: [Freedreno] [PATCH 05/12] drm/msm/dpu: add an API to reset the encoder related hw blocks

2022-04-14 Thread Abhinav Kumar
On 2/4/2022 3:46 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Add an API to reset the encoder related hw blocks to ensure a proper teardown of the pipeline. At the moment this is being used only for the writeback encoder but eventually we can start using this for all

[Freedreno] [PATCH v5] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Kuogee Hsieh
Current DP driver implementation, event thread is kept running after DP display is unbind. This patch fix this problem by disabling DP irq and stop event thread to exit gracefully at dp_display_unbind(). Changes in v2: -- start event thread at dp_display_bind() Changes in v3: -- disable all HDP

Re: [Freedreno] [PATCH 04/12] drm/msm/dpu: add changes to support writeback in hw_ctl

2022-04-14 Thread Abhinav Kumar
On 2/4/2022 2:19 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Add changes to support writeback module in the dpu_hw_ctl interface. In addition inroduce a reset_intf_cfg op to reset the interface bits for the currently active interfaces in the ctl path.

Re: [Freedreno] [PATCH v5 03/10] drm/hdcp: Update property value on content type and user changes

2022-04-14 Thread Rodrigo Vivi
On Thu, Apr 14, 2022 at 03:58:02PM +, Sean Paul wrote: > On Tue, Apr 12, 2022 at 09:25:59AM -0400, Rodrigo Vivi wrote: > > On Mon, Apr 11, 2022 at 08:47:32PM +, Sean Paul wrote: > > > From: Sean Paul > > > > > > This patch updates the connector's property value in 2 cases which were > >

Re: [Freedreno] [PATCH v4] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Dmitry Baryshkov
On 15/04/2022 00:26, Kuogee Hsieh wrote: Current DP driver implementation, event thread is kept running after DP display is unbind. This patch fix this problem by disabling DP irq and stop event thread to exit gracefully at dp_display_unbind(). Changes in v2: -- start event thread at

Re: [Freedreno] [PATCH 03/12] drm/msm/dpu: add writeback blocks to DPU RM

2022-04-14 Thread Abhinav Kumar
On 2/4/2022 3:43 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Add writeback blocks to DPU resource manager so that writeback encoders can request for writeback hardware blocks through RM and their usage can be tracked. Signed-off-by: Abhinav Kumar [please excuse

Re: [Freedreno] [PATCH 02/12] drm/msm/dpu: add dpu_hw_wb abstraction for writeback blocks

2022-04-14 Thread Abhinav Kumar
Hi Dmitry Thanks for the review. Finally got back to this series after getting acks on the drm_writeback core changes. On 2/4/2022 2:56 PM, Dmitry Baryshkov wrote: On 05/02/2022 00:17, Abhinav Kumar wrote: Add the dpu_hw_wb abstraction to program registers related to the writeback block.

[Freedreno] [PATCH v4] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Kuogee Hsieh
Current DP driver implementation, event thread is kept running after DP display is unbind. This patch fix this problem by disabling DP irq and stop event thread to exit gracefully at dp_display_unbind(). Changes in v2: -- start event thread at dp_display_bind() Changes in v3: -- disable all HDP

Re: [Freedreno] [PATCH v4 04/10] drm/msm/gem: Split out inuse helper

2022-04-14 Thread Dmitry Baryshkov
On 12/04/2022 00:58, Rob Clark wrote: From: Rob Clark Prep for a following patch, where it gets a bit more complicated. Signed-off-by: Rob Clark Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/msm_gem.c | 2 +- drivers/gpu/drm/msm/msm_gem.h | 1 +

Re: [Freedreno] [PATCH v4 03/10] drm/msm/gem: Convert some missed GEM_WARN_ON()s

2022-04-14 Thread Dmitry Baryshkov
On 12/04/2022 00:58, Rob Clark wrote: From: Rob Clark Signed-off-by: Rob Clark Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/msm_gem_vma.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_gem_vma.c

Re: [Freedreno] [PATCH v7 1/4] drm/msm/dp: Add eDP support via aux_bus

2022-04-14 Thread Dmitry Baryshkov
On 14/04/2022 23:09, Doug Anderson wrote: Hi, On Thu, Apr 14, 2022 at 12:40 PM Stephen Boyd wrote: Quoting Dmitry Baryshkov (2022-04-14 12:16:14) I think it's too verbose and a bit incorrect. Not sure which part you're asserting is incorrect, but shorter is OK w/ me too. I was

[Freedreno] [PATCH] drm/msm/dp: tear down main link at unplug handle immediately

2022-04-14 Thread Kuogee Hsieh
Two stages are required to setup up main link to be ready to transmit video stream. Stage 1: dp_hpd_plug_handle() perform link training to set up main link stage 2: user space framework (msm_dp_display_enable()) to enable pixel clock and transfer main link to video ready state. At current

Re: [Freedreno] [PATCH v7 0/4] Add support for the eDP panel over aux_bus

2022-04-14 Thread Dmitry Baryshkov
On 14/04/2022 23:19, Abhinav Kumar wrote: On 4/14/2022 1:03 PM, Dmitry Baryshkov wrote: On 14/04/2022 23:00, Abhinav Kumar wrote: Hi Dmitry On 4/14/2022 12:43 PM, Stephen Boyd wrote: Quoting Dmitry Baryshkov (2022-04-14 12:20:31) On 14/04/2022 19:40, Doug Anderson wrote: Hi, On Thu, Apr

Re: [Freedreno] [PATCH v7 0/4] Add support for the eDP panel over aux_bus

2022-04-14 Thread Abhinav Kumar
On 4/14/2022 1:03 PM, Dmitry Baryshkov wrote: On 14/04/2022 23:00, Abhinav Kumar wrote: Hi Dmitry On 4/14/2022 12:43 PM, Stephen Boyd wrote: Quoting Dmitry Baryshkov (2022-04-14 12:20:31) On 14/04/2022 19:40, Doug Anderson wrote: Hi, On Thu, Apr 14, 2022 at 5:19 AM Sankeerth Billakanti

Re: [Freedreno] [RFC PATCH v2 4/5] drm/msm/dp: replace dp_connector with drm_bridge_connector

2022-04-14 Thread Abhinav Kumar
On 3/16/2022 9:45 AM, Sankeerth Billakanti (QUIC) wrote: Subject: Re: [RFC PATCH v2 4/5] drm/msm/dp: replace dp_connector with drm_bridge_connector Date: Wed, 23 Feb 2022 16:40:56 -0800 From: Kuogee Hsieh To: Stephen Boyd , Dmitry Baryshkov CC: Abhinav Kumar , Bjorn Andersson , Rob Clark ,

Re: [Freedreno] [RFC PATCH v2 5/5] drm/msm/dp: remove extra wrappers and public functions

2022-04-14 Thread Abhinav Kumar
On 3/16/2022 9:31 AM, Sankeerth Billakanti (QUIC) wrote: Subject: [RFC PATCH v2 5/5] drm/msm/dp: remove extra wrappers and public functions Date: Sat, 12 Feb 2022 01:40:06 +0300 From: Dmitry Baryshkov To: Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar , Kuogee Hsieh CC: Stephen

Re: [Freedreno] [PATCH v7 1/4] drm/msm/dp: Add eDP support via aux_bus

2022-04-14 Thread Doug Anderson
Hi, On Thu, Apr 14, 2022 at 12:40 PM Stephen Boyd wrote: > > Quoting Dmitry Baryshkov (2022-04-14 12:16:14) > > > > I think it's too verbose and a bit incorrect. Not sure which part you're asserting is incorrect, but shorter is OK w/ me too. > > This is a bit saner: > > /* > > * These ops

Re: [Freedreno] [PATCH v7 0/4] Add support for the eDP panel over aux_bus

2022-04-14 Thread Dmitry Baryshkov
On 14/04/2022 23:00, Abhinav Kumar wrote: Hi Dmitry On 4/14/2022 12:43 PM, Stephen Boyd wrote: Quoting Dmitry Baryshkov (2022-04-14 12:20:31) On 14/04/2022 19:40, Doug Anderson wrote: Hi, On Thu, Apr 14, 2022 at 5:19 AM Sankeerth Billakanti wrote: This series adds support for generic eDP

Re: [Freedreno] [PATCH v7 0/4] Add support for the eDP panel over aux_bus

2022-04-14 Thread Abhinav Kumar
Hi Dmitry On 4/14/2022 12:43 PM, Stephen Boyd wrote: Quoting Dmitry Baryshkov (2022-04-14 12:20:31) On 14/04/2022 19:40, Doug Anderson wrote: Hi, On Thu, Apr 14, 2022 at 5:19 AM Sankeerth Billakanti wrote: This series adds support for generic eDP panel over aux_bus. These changes are

Re: [Freedreno] [PATCH v3] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Dmitry Baryshkov
On 14/04/2022 20:25, Kuogee Hsieh wrote: Current DP driver implementation, event thread is kept running after DP display is unbind. This patch fix this problem by disabling DP irq and stop event thread to exit gracefully at dp_display_unbind(). Changes in v2: -- start event thread at

Re: [Freedreno] [PATCH v3] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-04-14 10:25:37) > Current DP driver implementation, event thread is kept running > after DP display is unbind. This patch fix this problem by disabling > DP irq and stop event thread to exit gracefully at dp_display_unbind(). > > Changes in v2: > -- start event thread at

Re: [Freedreno] [PATCH v7 0/4] Add support for the eDP panel over aux_bus

2022-04-14 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2022-04-14 12:20:31) > On 14/04/2022 19:40, Doug Anderson wrote: > > Hi, > > > > On Thu, Apr 14, 2022 at 5:19 AM Sankeerth Billakanti > > wrote: > >> > >> This series adds support for generic eDP panel over aux_bus. > >> > >> These changes are dependent on the following

Re: [Freedreno] [PATCH v7 1/4] drm/msm/dp: Add eDP support via aux_bus

2022-04-14 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2022-04-14 12:16:14) > > I think it's too verbose and a bit incorrect. > This is a bit saner: > /* > * These ops do not make sense for eDP, since they are provided > * by the panel-bridge corresponding to the attached eDP panel. > */ > > My question was whether we

Re: [Freedreno] [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-14 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-04-14 09:34:55) > > On 4/13/2022 5:02 PM, Stephen Boyd wrote: > > The subject is still misleading. It is fixing something. It may be > > enhancing it as well but it is clearly fixing it first. > > [...] > > I'd prefer this part to be a different patch. It can come after

Re: [Freedreno] [PATCH v7 0/4] Add support for the eDP panel over aux_bus

2022-04-14 Thread Dmitry Baryshkov
On 14/04/2022 19:40, Doug Anderson wrote: Hi, On Thu, Apr 14, 2022 at 5:19 AM Sankeerth Billakanti wrote: This series adds support for generic eDP panel over aux_bus. These changes are dependent on the following series:

Re: [Freedreno] [PATCH v7 1/4] drm/msm/dp: Add eDP support via aux_bus

2022-04-14 Thread Dmitry Baryshkov
On 14/04/2022 19:39, Doug Anderson wrote: Hi, On Thu, Apr 14, 2022 at 5:20 AM Sankeerth Billakanti wrote: @@ -1530,6 +1532,60 @@ void msm_dp_debugfs_init(struct msm_dp *dp_display, struct drm_minor *minor) } } +static int dp_display_get_next_bridge(struct msm_dp *dp) +{ +

[Freedreno] [PATCH v2 2/3] drm/msm/a6xx: Add speedbin support for A619 GPU

2022-04-14 Thread Konrad Dybcio
There are various SKUs of A619, ranging from 565 MHz to 850 MHz, depending on the bin. Add support for distinguishing them, so that proper frequency ranges can be applied, depending on the HW. Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +-

[Freedreno] [PATCH v2 1/3] drm/msm/adreno: Add A619 support

2022-04-14 Thread Konrad Dybcio
Add support for the Adreno 619 GPU, as found in Snapdragon 690 (SM6350), 480 (SM4350) and 750G (SM7225). Signed-off-by: Konrad Dybcio --- Changes in v2: - Don't reserve icache/dcache regions on legacy GMUs, as that is apparently not necessary and simply a downstream leftover.

[Freedreno] [PATCH v2 3/3] drm/msm/adreno: Fix up formatting

2022-04-14 Thread Konrad Dybcio
Leading spaces are not something checkpatch likes, and it says so when they are present. Use tabs consistently to indent function body and unwrap a 83-char-long line, as 100 is cool nowadays. Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 17 - 1 file

[Freedreno] [PATCH v3] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Kuogee Hsieh
Current DP driver implementation, event thread is kept running after DP display is unbind. This patch fix this problem by disabling DP irq and stop event thread to exit gracefully at dp_display_unbind(). Changes in v2: -- start event thread at dp_display_bind() Changes in v3: -- disable all HDP

Re: [Freedreno] [PATCH v2] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Kuogee Hsieh
On 4/13/2022 4:19 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-04-13 14:04:25) Current DP driver implementation, event thread is kept running after DP display is unbind. This patch fix this problem by disabling DP irq and stop event thread to exit gracefully at dp_display_unbind().

Re: [Freedreno] [PATCH v7 4/4] Support the eDP modes given by panel

2022-04-14 Thread Doug Anderson
Hi, On Thu, Apr 14, 2022 at 5:20 AM Sankeerth Billakanti wrote: > > The eDP controller does not have a reliable way keep panel > powered on to read the sink capabilities. So, the controller > driver cannot validate if a mode can be supported by the > source. We will rely on the panel driver to

Re: [Freedreno] [PATCH v7 3/4] drm/msm/dp: wait for hpd high before aux transaction

2022-04-14 Thread Doug Anderson
Hi, On Thu, Apr 14, 2022 at 5:20 AM Sankeerth Billakanti wrote: > > The source device should ensure the sink is ready before proceeding to > read the sink capability or perform any aux transactions. The sink > will indicate its readiness by asserting the HPD line. The controller > driver needs

Re: [Freedreno] [PATCH v7 2/4] drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP

2022-04-14 Thread Doug Anderson
Hi, On Thu, Apr 14, 2022 at 5:20 AM Sankeerth Billakanti wrote: > > The panel-edp enables the eDP panel power during probe, get_modes > and enable. Technically the panel-edp powers on the panel in pre_enable() > The eDP connect and disconnect interrupts for the eDP/DP > controller are

Re: [Freedreno] [PATCH v7 0/4] Add support for the eDP panel over aux_bus

2022-04-14 Thread Doug Anderson
Hi, On Thu, Apr 14, 2022 at 5:19 AM Sankeerth Billakanti wrote: > > This series adds support for generic eDP panel over aux_bus. > > These changes are dependent on the following series: > https://patchwork.kernel.org/project/linux-arm-msm/list/?series=613654=* You're basically depending on the

Re: [Freedreno] [PATCH v7 1/4] drm/msm/dp: Add eDP support via aux_bus

2022-04-14 Thread Doug Anderson
Hi, On Thu, Apr 14, 2022 at 5:20 AM Sankeerth Billakanti wrote: > > @@ -1530,6 +1532,60 @@ void msm_dp_debugfs_init(struct msm_dp *dp_display, > struct drm_minor *minor) > } > } > > +static int dp_display_get_next_bridge(struct msm_dp *dp) > +{ > + int rc; > + struct

Re: [Freedreno] [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-14 Thread Kuogee Hsieh
On 4/13/2022 5:02 PM, Stephen Boyd wrote: The subject is still misleading. It is fixing something. It may be enhancing it as well but it is clearly fixing it first. Quoting Kuogee Hsieh (2022-04-06 14:28:13) dp_hpd_plug_handle() is responsible for setting up main link and send uevent to

Re: [Freedreno] [PATCH v5 00/10] drm/hdcp: Pull HDCP auth/exchange/check into helpers

2022-04-14 Thread Sean Paul
On Tue, Apr 12, 2022 at 09:41:35AM -0400, Rodrigo Vivi wrote: > On Mon, Apr 11, 2022 at 08:47:29PM +, Sean Paul wrote: > > From: Sean Paul > > > > Rebased set from November. Fixed a nit from Stephen in the msm patch and > > moved hdcp registers into the trogdor dtsi file to avoid differences

Re: [Freedreno] [PATCH v5 03/10] drm/hdcp: Update property value on content type and user changes

2022-04-14 Thread Sean Paul
On Tue, Apr 12, 2022 at 09:25:59AM -0400, Rodrigo Vivi wrote: > On Mon, Apr 11, 2022 at 08:47:32PM +, Sean Paul wrote: > > From: Sean Paul > > > > This patch updates the connector's property value in 2 cases which were > > previously missed: > > > > 1- Content type changes. The value should

[Freedreno] [PATCH v7 4/4] Support the eDP modes given by panel

2022-04-14 Thread Sankeerth Billakanti
The eDP controller does not have a reliable way keep panel powered on to read the sink capabilities. So, the controller driver cannot validate if a mode can be supported by the source. We will rely on the panel driver to populate only the supported modes for now. Signed-off-by: Sankeerth

[Freedreno] [PATCH v7 3/4] drm/msm/dp: wait for hpd high before aux transaction

2022-04-14 Thread Sankeerth Billakanti
The source device should ensure the sink is ready before proceeding to read the sink capability or perform any aux transactions. The sink will indicate its readiness by asserting the HPD line. The controller driver needs to wait for the hpd line to be asserted by the sink before it performs any

[Freedreno] [PATCH v7 2/4] drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP

2022-04-14 Thread Sankeerth Billakanti
The panel-edp enables the eDP panel power during probe, get_modes and enable. The eDP connect and disconnect interrupts for the eDP/DP controller are directly dependent on panel power. As eDP display can be assumed as always connected, the controller driver can skip the eDP connect and disconnect

[Freedreno] [PATCH v7 1/4] drm/msm/dp: Add eDP support via aux_bus

2022-04-14 Thread Sankeerth Billakanti
This patch adds support for generic eDP sink through aux_bus. The eDP/DP controller driver should support aux transactions originating from the panel-edp driver and hence should be initialized and ready. The panel bridge supporting the panel should be ready before the bridge connector is

[Freedreno] [PATCH v7 0/4] Add support for the eDP panel over aux_bus

2022-04-14 Thread Sankeerth Billakanti
This series adds support for generic eDP panel over aux_bus. These changes are dependent on the following series: https://patchwork.kernel.org/project/linux-arm-msm/list/?series=613654=* Sankeerth Billakanti (4): drm/msm/dp: Add eDP support via aux_bus drm/msm/dp: Support only IRQ_HPD and