From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Abhinav Kumar <quic_abhinavk@quicinc.com>,
Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
Stephen Boyd <swboyd@chromium.org>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Bjorn Andersson <andersson@kernel.org>,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org
Subject: Re: [PATCH v4 04/19] drm/msm/dpu: drop dpu_mdss_cfg::mdp_count field
Date: Tue, 4 Jul 2023 05:20:56 +0300 [thread overview]
Message-ID: <974a294c-d85d-a79f-5b83-bbbac12ff7a2@linaro.org> (raw)
In-Reply-To: <0aafbba0-52dd-96d9-94a6-0452996e1eba@quicinc.com>
On 03/07/2023 05:01, Abhinav Kumar wrote:
>
>
> On 6/19/2023 2:25 PM, Dmitry Baryshkov wrote:
>> There is always a single MDP TOP block. Drop the mdp_count field and
>> stop declaring dpu_mdp_cfg instances as arrays.
>>
>> Tested-by: Marijn Suijten <marijn.suijten@somainline.org>
>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> ---
>
> The change drops mdp_count and stops using the array which is fine and I
> will support that.
>
> But looking at the pattern I saw while using core_revision, both
> DPU_MDP_VSYNC_SEL and DPU_MDP_AUDIO_SELECT can also be dropped from the
> catalog in favor of using core_revision.
>
> Hence for that, I request you not to stop passing dpu_mdss_cfg to
> dpu_hw_mdptop_init as that has the necessary information of core_revision.
Sure, I'll restore it. Please note, however, that it might be better to
pass struct dpu_caps instead of the full struct dpu_mdss_cfg.
>
>> .../msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_6_2_sc7180.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_6_3_sm6115.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_6_4_sm6350.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_6_9_sm6375.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_7_0_sm8350.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 7 +---
>> .../msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 7 +---
>> .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 -
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c | 38 +++----------------
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.h | 8 ++--
>> drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4 +-
>> 19 files changed, 41 insertions(+), 115 deletions(-)
--
With best wishes
Dmitry
next prev parent reply other threads:[~2023-07-04 2:21 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-19 21:25 [PATCH v4 00/19] drm/msm/dpu: another catalog rework Dmitry Baryshkov
2023-06-19 21:25 ` [PATCH v4 01/19] drm/msm: enumerate DSI interfaces Dmitry Baryshkov
2023-06-19 21:25 ` [PATCH v4 02/19] drm/msm/dpu: always use MSM_DP/DSI_CONTROLLER_n Dmitry Baryshkov
2023-07-03 0:53 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 03/19] drm/msm/dpu: simplify peer LM handling Dmitry Baryshkov
2023-07-03 1:34 ` Abhinav Kumar
2023-07-03 1:36 ` Dmitry Baryshkov
2023-07-03 1:49 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 04/19] drm/msm/dpu: drop dpu_mdss_cfg::mdp_count field Dmitry Baryshkov
2023-06-26 12:28 ` Marijn Suijten
2023-07-03 2:01 ` Abhinav Kumar
2023-07-04 2:20 ` Dmitry Baryshkov [this message]
2023-07-04 4:04 ` Abhinav Kumar
2023-07-04 10:06 ` Dmitry Baryshkov
2023-07-04 11:52 ` Dmitry Baryshkov
2023-07-04 16:09 ` Abhinav Kumar
2023-07-04 17:28 ` Dmitry Baryshkov
2023-07-04 19:01 ` Abhinav Kumar
2023-07-12 0:41 ` [Freedreno] " Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 05/19] drm/msm/dpu: drop enum dpu_mdp and MDP_TOP value Dmitry Baryshkov
2023-07-03 2:06 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 06/19] drm/msm/dpu: expand .clk_ctrls definitions Dmitry Baryshkov
2023-07-03 2:21 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 07/19] drm/msm/dpu: drop zero features from dpu_mdp_cfg data Dmitry Baryshkov
2023-07-03 2:28 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 08/19] drm/msm/dpu: drop zero features from dpu_ctl_cfg data Dmitry Baryshkov
2023-07-03 15:58 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 09/19] drm/msm/dpu: correct indentation for CTL definitions Dmitry Baryshkov
2023-07-03 16:01 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 10/19] drm/msm/dpu: inline SSPP_BLK macros Dmitry Baryshkov
2023-06-27 8:33 ` Marijn Suijten
2023-07-03 16:09 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 11/19] drm/msm/dpu: inline DSPP_BLK macros Dmitry Baryshkov
2023-06-27 8:34 ` Marijn Suijten
2023-07-03 16:14 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 12/19] drm/msm/dpu: inline LM_BLK macros Dmitry Baryshkov
2023-06-27 8:34 ` Marijn Suijten
2023-07-03 18:46 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 13/19] drm/msm/dpu: inline DSC_BLK and DSC_BLK_1_2 macros Dmitry Baryshkov
2023-06-27 8:29 ` Marijn Suijten
2023-07-03 18:52 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 14/19] drm/msm/dpu: inline MERGE_3D_BLK macros Dmitry Baryshkov
2023-06-27 8:34 ` Marijn Suijten
2023-07-03 20:29 ` Abhinav Kumar
2023-07-03 20:58 ` Dmitry Baryshkov
2023-07-03 20:59 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 15/19] drm/msm/dpu: inline various PP_BLK_* macros Dmitry Baryshkov
2023-06-27 8:35 ` Marijn Suijten
2023-07-03 21:01 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 16/19] drm/msm/dpu: inline WB_BLK macros Dmitry Baryshkov
2023-06-27 8:35 ` Marijn Suijten
2023-07-03 21:04 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 17/19] drm/msm/dpu: inline INTF_BLK and INTF_BLK_DSI_TE macros Dmitry Baryshkov
2023-06-27 8:35 ` Marijn Suijten
2023-07-03 21:06 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 18/19] drm/msm/dpu: drop empty features mask MERGE_3D_SM8150_MASK Dmitry Baryshkov
2023-07-03 21:08 ` Abhinav Kumar
2023-06-19 21:25 ` [PATCH v4 19/19] drm/msm/dpu: drop empty features mask INTF_SDM845_MASK Dmitry Baryshkov
2023-07-03 21:12 ` Abhinav Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=974a294c-d85d-a79f-5b83-bbbac12ff7a2@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=quic_abhinavk@quicinc.com \
--cc=robdclark@gmail.com \
--cc=sean@poorly.run \
--cc=swboyd@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).