Re: [Freedreno] [PATCH] drm/msm/dp: Add "qcom, sc7280-dp" to support display port.

2021-12-06 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-12-03 14:02:39) > Signed-off-by: Kuogee Hsieh > --- > drivers/gpu/drm/msm/dp/dp_display.c | 1 + > 1 file changed, 1 insertion(+) One nit Reviewed-by: Stephen Boyd > > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index

Re: [Freedreno] [PATCH] drm/msm/dp: Add "qcom, sc7280-dp" to support display port.

2021-12-06 Thread Dmitry Baryshkov
On 04/12/2021 01:02, Kuogee Hsieh wrote: Signed-off-by: Kuogee Hsieh Reviewed by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index d44f18b..91582d3

[Freedreno] [PATCH v2] drm/msm/dp: Add "qcom, sc7280-dp" to support display port.

2021-12-06 Thread Kuogee Hsieh
Changes in v2: -- move "qcom,sc7280-dp" before "qcom,sc7280-edp" Signed-off-by: Kuogee Hsieh Reviewed-by: Stephen Boyd Reviewed by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/dr

Re: [Freedreno] [PATCH v5] drm/msm/dp: employ bridge mechanism for display enable and disable

2021-12-06 Thread Abhinav Kumar
On 11/29/2021 9:04 AM, Kuogee Hsieh wrote: Currently the msm_dp_*** functions implement the same sequence which would happen when drm_bridge is used. hence get rid of this intermediate layer and align with the drm_bridge usage to avoid customized implementation. Signed-off-by: Kuogee Hsieh

Re: [Freedreno] [PATCH 2/2] drm/msm/hdmi: switch to drm_bridge_connector

2021-12-06 Thread Abhinav Kumar
On 11/25/2021 4:50 AM, Dmitry Baryshkov wrote: On 19/10/2021 02:54, abhin...@codeaurora.org wrote: On 2021-10-16 07:21, Dmitry Baryshkov wrote: On Sat, 16 Oct 2021 at 01:25, wrote: Hi Dmitry On 2021-10-14 17:11, Dmitry Baryshkov wrote: > Merge old hdmi_bridge and hdmi_connector implement

[Freedreno] [PATCH AUTOSEL 5.15 01/24] drm/msm: Fix null ptr access msm_ioctl_gem_submit()

2021-12-06 Thread Sasha Levin
From: Akhil P Oommen [ Upstream commit 26d776fd0f79f093a5d0ce1a4c7c7a992bc3264c ] Fix the below null pointer dereference in msm_ioctl_gem_submit(): 26545.260705: Call trace: 26545.263223:kref_put+0x1c/0x60 26545.266452:msm_ioctl_gem_submit+0x254/0x744 26545.270937:drm_ioctl_ke

[Freedreno] [PATCH AUTOSEL 5.15 02/24] drm/msm/a6xx: Fix uinitialized use of gpu_scid

2021-12-06 Thread Sasha Levin
From: Akhil P Oommen [ Upstream commit 9ba873e66ed317a1ff645d5e52c2e72597ff3d18 ] Avoid a possible uninitialized use of gpu_scid variable to fix the below smatch warning: drivers/gpu/drm/msm/adreno/a6xx_gpu.c:1480 a6xx_llc_activate() error: uninitialized symbol 'gpu_scid'. Repor

[Freedreno] [PATCH AUTOSEL 5.15 03/24] drm/msm/dsi: set default num_data_lanes

2021-12-06 Thread Sasha Levin
From: Philip Chen [ Upstream commit cd92cc187c053ab010a1570e2d61d68394a5c725 ] If "data_lanes" property of the dsi output endpoint is missing in the DT, num_data_lanes would be 0 by default, which could cause dsi_host_attach() to fail if dsi->lanes is set to a non-zero value by the bridge driver

[Freedreno] [PATCH AUTOSEL 5.15 04/24] drm/msm/dp: Avoid unpowered AUX xfers that caused crashes

2021-12-06 Thread Sasha Levin
From: Douglas Anderson [ Upstream commit d03fcc1de0863b1188ceb867cfa84a578fdc96bc ] If you happened to try to access `/dev/drm_dp_aux` devices provided by the MSM DP AUX driver too early at bootup you could go boom. Let's avoid that by only allowing AUX transfers when the controller is powered u

[Freedreno] [PATCH AUTOSEL 5.10 01/15] drm/msm/dsi: set default num_data_lanes

2021-12-06 Thread Sasha Levin
From: Philip Chen [ Upstream commit cd92cc187c053ab010a1570e2d61d68394a5c725 ] If "data_lanes" property of the dsi output endpoint is missing in the DT, num_data_lanes would be 0 by default, which could cause dsi_host_attach() to fail if dsi->lanes is set to a non-zero value by the bridge driver

[Freedreno] [PATCH AUTOSEL 5.4 01/10] drm/msm/dsi: set default num_data_lanes

2021-12-06 Thread Sasha Levin
From: Philip Chen [ Upstream commit cd92cc187c053ab010a1570e2d61d68394a5c725 ] If "data_lanes" property of the dsi output endpoint is missing in the DT, num_data_lanes would be 0 by default, which could cause dsi_host_attach() to fail if dsi->lanes is set to a non-zero value by the bridge driver

[Freedreno] [PATCH AUTOSEL 4.19 1/7] drm/msm/dsi: set default num_data_lanes

2021-12-06 Thread Sasha Levin
From: Philip Chen [ Upstream commit cd92cc187c053ab010a1570e2d61d68394a5c725 ] If "data_lanes" property of the dsi output endpoint is missing in the DT, num_data_lanes would be 0 by default, which could cause dsi_host_attach() to fail if dsi->lanes is set to a non-zero value by the bridge driver

[Freedreno] [PATCH AUTOSEL 4.14 1/6] drm/msm/dsi: set default num_data_lanes

2021-12-06 Thread Sasha Levin
From: Philip Chen [ Upstream commit cd92cc187c053ab010a1570e2d61d68394a5c725 ] If "data_lanes" property of the dsi output endpoint is missing in the DT, num_data_lanes would be 0 by default, which could cause dsi_host_attach() to fail if dsi->lanes is set to a non-zero value by the bridge driver

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

2021-12-06 Thread Bjorn Andersson
On Thu 07 Oct 03:17 PDT 2021, Heikki Krogerus wrote: > On Wed, Oct 06, 2021 at 01:26:35PM -0700, Prashant Malani wrote: > > (CC+ Heikki) [..] > > On Wed, Oct 6, 2021 at 8:19 AM Doug Anderson wrote: [..] > void drm_connector_oob_hotplug_event(struct fwnode_handle > *connector_fwnode); > >

Re: [Freedreno] [PATCH 2/2] drm/msm/hdmi: switch to drm_bridge_connector

2021-12-06 Thread Dmitry Baryshkov
On Mon, 6 Dec 2021 at 23:42, Abhinav Kumar wrote: > > > > On 11/25/2021 4:50 AM, Dmitry Baryshkov wrote: > > On 19/10/2021 02:54, abhin...@codeaurora.org wrote: > >> On 2021-10-16 07:21, Dmitry Baryshkov wrote: > >>> On Sat, 16 Oct 2021 at 01:25, wrote: > > Hi Dmitry > > On 20

Re: [Freedreno] [PATCH 2/2] drm/msm/hdmi: switch to drm_bridge_connector

2021-12-06 Thread Abhinav Kumar
Hi Dmitry On 12/6/2021 2:47 PM, Dmitry Baryshkov wrote: On Mon, 6 Dec 2021 at 23:42, Abhinav Kumar wrote: On 11/25/2021 4:50 AM, Dmitry Baryshkov wrote: On 19/10/2021 02:54, abhin...@codeaurora.org wrote: On 2021-10-16 07:21, Dmitry Baryshkov wrote: On Sat, 16 Oct 2021 at 01:25, wrote:

Re: [Freedreno] [PATCH 2/2] drm/msm/hdmi: switch to drm_bridge_connector

2021-12-06 Thread Dmitry Baryshkov
On Tue, 7 Dec 2021 at 01:58, Abhinav Kumar wrote: > > Hi Dmitry > > On 12/6/2021 2:47 PM, Dmitry Baryshkov wrote: > > On Mon, 6 Dec 2021 at 23:42, Abhinav Kumar > > wrote: > >> > >> > >> > >> On 11/25/2021 4:50 AM, Dmitry Baryshkov wrote: > >>> On 19/10/2021 02:54, abhin...@codeaurora.org wrote:

Re: [Freedreno] [PATCH 2/2] drm/msm/hdmi: switch to drm_bridge_connector

2021-12-06 Thread Abhinav Kumar
On 12/6/2021 4:21 PM, Dmitry Baryshkov wrote: On Tue, 7 Dec 2021 at 01:58, Abhinav Kumar wrote: Hi Dmitry On 12/6/2021 2:47 PM, Dmitry Baryshkov wrote: On Mon, 6 Dec 2021 at 23:42, Abhinav Kumar wrote: On 11/25/2021 4:50 AM, Dmitry Baryshkov wrote: On 19/10/2021 02:54, abhin...@code