Re: [PATCH 0/2] Add MSM8996/MSM8953 dpu catalog

2024-09-25 Thread barnabas . czeman
On 2024-08-01 21:25, Dmitry Baryshkov wrote: On Fri, Jun 28, 2024 at 04:39:38PM GMT, Barnabás Czémán wrote: This patch series add dpu support for MSM8996/MSM8953 devices. Note, by default these platforms are still handled by the MDP5 driver unless the `msm.prefer_mdp5=false' parameter is provid

Re: [PATCH 0/2] Add MSM8996/MSM8953 dpu catalog

2024-09-25 Thread Dmitry Baryshkov
On Wed, 25 Sept 2024 at 23:28, wrote: > > On 2024-08-01 21:25, Dmitry Baryshkov wrote: > > On Fri, Jun 28, 2024 at 04:39:38PM GMT, Barnabás Czémán wrote: > >> This patch series add dpu support for MSM8996/MSM8953 devices. > >> > >> Note, by default these platforms are still handled by the MDP5 dri

Re: [PATCH v2 05/22] drm/msm/dpu: move resource allocation to CRTC

2024-09-25 Thread Abhinav Kumar
On 9/25/2024 2:11 PM, Dmitry Baryshkov wrote: On Wed, 25 Sept 2024 at 22:39, Jessica Zhang wrote: On 9/24/2024 4:13 PM, Dmitry Baryshkov wrote: On Tue, Sep 24, 2024 at 03:59:21PM GMT, Jessica Zhang wrote: From: Dmitry Baryshkov All resource allocation is centered around the LMs. Then

Re: [PATCH v2 05/22] drm/msm/dpu: move resource allocation to CRTC

2024-09-25 Thread Jessica Zhang
On 9/24/2024 4:13 PM, Dmitry Baryshkov wrote: On Tue, Sep 24, 2024 at 03:59:21PM GMT, Jessica Zhang wrote: From: Dmitry Baryshkov All resource allocation is centered around the LMs. Then other blocks (except DSCs) are allocated basing on the LMs that was selected, and LM powers up the CRTC

Re: [PATCH v2 05/22] drm/msm/dpu: move resource allocation to CRTC

2024-09-25 Thread Dmitry Baryshkov
On Wed, 25 Sept 2024 at 22:39, Jessica Zhang wrote: > > > > On 9/24/2024 4:13 PM, Dmitry Baryshkov wrote: > > On Tue, Sep 24, 2024 at 03:59:21PM GMT, Jessica Zhang wrote: > >> From: Dmitry Baryshkov > >> > >> All resource allocation is centered around the LMs. Then other blocks > >> (except DSCs)

Re: [PATCH v2 01/22] drm: add clone mode check for CRTC

2024-09-25 Thread Jessica Zhang
On 9/25/2024 1:12 AM, Jani Nikula wrote: On Tue, 24 Sep 2024, Jessica Zhang wrote: Add helper to check if the given CRTC state is in clone mode Signed-off-by: Jessica Zhang --- include/drm/drm_crtc.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/drm/drm_crtc.h b/inc

Re: [PATCH v4 00/11] Preemption support for A7XX

2024-09-25 Thread Rob Clark
On Tue, Sep 24, 2024 at 8:22 AM Akhil P Oommen wrote: > > On Tue, Sep 24, 2024 at 07:47:12AM -0700, Rob Clark wrote: > > On Tue, Sep 24, 2024 at 4:54 AM Antonino Maniscalco > > wrote: > > > > > > On 9/20/24 7:09 PM, Akhil P Oommen wrote: > > > > On Wed, Sep 18, 2024 at 09:46:33AM +0200, Neil Arms

Re: [PATCH v2 02/22] drm: Add valid clones check

2024-09-25 Thread Maxime Ripard
On Tue, Sep 24, 2024 at 03:59:18PM GMT, Jessica Zhang wrote: > Check that all encoders attached to a given CRTC are valid > possible_clones of each other. > > Signed-off-by: Jessica Zhang > --- > drivers/gpu/drm/drm_atomic_helper.c | 23 +++ > 1 file changed, 23 insertions(+)

Re: [PATCH v2 01/22] drm: add clone mode check for CRTC

2024-09-25 Thread Maxime Ripard
On Wed, Sep 25, 2024 at 02:06:35AM GMT, Dmitry Baryshkov wrote: > On Tue, Sep 24, 2024 at 03:59:17PM GMT, Jessica Zhang wrote: > > Add helper to check if the given CRTC state is in clone mode > > > > Signed-off-by: Jessica Zhang > > --- > > include/drm/drm_crtc.h | 7 +++ > > 1 file change

Re: [PATCH v2 14/22] drm/msm/dpu: Require modeset if clone mode status changes

2024-09-25 Thread Dmitry Baryshkov
On Tue, Sep 24, 2024 at 05:05:43PM GMT, Abhinav Kumar wrote: > > > On 9/24/2024 4:25 PM, Dmitry Baryshkov wrote: > > On Tue, Sep 24, 2024 at 03:59:30PM GMT, Jessica Zhang wrote: > > > If the clone mode enabled status is changing, a modeset needs to happen > > > so that the resources can be reassi

Re: [PATCH v2 16/22] drm/msm/dpu: Configure CWB in writeback encoder

2024-09-25 Thread Dmitry Baryshkov
On Tue, Sep 24, 2024 at 05:14:49PM GMT, Jessica Zhang wrote: > > > On 9/24/2024 4:41 PM, Dmitry Baryshkov wrote: > > On Tue, Sep 24, 2024 at 03:59:32PM GMT, Jessica Zhang wrote: > > > Cache the CWB block mask in the DPU virtual encoder and configure CWB > > > according to the CWB block mask withi

Re: [PATCH v2 01/22] drm: add clone mode check for CRTC

2024-09-25 Thread Jani Nikula
On Tue, 24 Sep 2024, Jessica Zhang wrote: > Add helper to check if the given CRTC state is in clone mode > > Signed-off-by: Jessica Zhang > --- > include/drm/drm_crtc.h | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h > index 8b48a19

Re: [PATCH v2 06/22] drm/msm/dpu: fill CRTC resources in dpu_crtc.c

2024-09-25 Thread Dmitry Baryshkov
On Tue, Sep 24, 2024 at 05:37:30PM GMT, Jessica Zhang wrote: > > > On 9/24/2024 4:16 PM, Dmitry Baryshkov wrote: > > On Tue, Sep 24, 2024 at 03:59:22PM GMT, Jessica Zhang wrote: > > > From: Dmitry Baryshkov > > > > > > Stop poking into CRTC state from dpu_encoder.c, fill CRTC HW resources > > >

[PATCH AUTOSEL 6.11 168/244] drm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs

2024-09-25 Thread Sasha Levin
From: Konrad Dybcio [ Upstream commit 16007768551d5bfe53426645401435ca8d2ef54f ] There are some cases, such as the one uncovered by Commit 46d4ef68 ("drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails") where msm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL); is

[PATCH AUTOSEL 6.10 140/197] drm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs

2024-09-25 Thread Sasha Levin
From: Konrad Dybcio [ Upstream commit 16007768551d5bfe53426645401435ca8d2ef54f ] There are some cases, such as the one uncovered by Commit 46d4ef68 ("drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails") where msm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL); is

[PATCH AUTOSEL 6.6 099/139] drm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs

2024-09-25 Thread Sasha Levin
From: Konrad Dybcio [ Upstream commit 16007768551d5bfe53426645401435ca8d2ef54f ] There are some cases, such as the one uncovered by Commit 46d4ef68 ("drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails") where msm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL); is

Re: [RFC PATCH] drm: allow encoder mode_set even when connectors change for crtc

2024-09-25 Thread Maxime Ripard
Hi, On Wed, Sep 11, 2024 at 05:54:44PM GMT, Abhinav Kumar wrote: > On 9/10/2024 1:40 AM, Maxime Ripard wrote: > > Hi, > > > > On Mon, Sep 09, 2024 at 12:59:47PM GMT, Abhinav Kumar wrote: > > > On 9/9/2024 6:37 AM, Maxime Ripard wrote: > > > > Hi, > > > > > > > > On Thu, Sep 05, 2024 at 03:11:24P