From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
Abhinav Kumar <quic_abhinavk@quicinc.com>
Cc: 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,
Jeykumar Sankaran <quic_jeykumar@quicinc.com>
Subject: [PATCH v3 0/9] drm/msm/dpu: simplify QoS/CDP programming
Date: Fri, 19 May 2023 01:22:29 +0300 [thread overview]
Message-ID: <20230518222238.3815293-1-dmitry.baryshkov@linaro.org> (raw)
Merge SSPP and WB code programming QoS and CDP. This allows us to drop
intermediate structures and duplicate code.
Changes since v2:
- Moved SSPP_VIG_CSC_10_OP_MODE close to other CSC10 defines (Jeykumar)
Changes since v1:
- Fixed kerneldoc for _dpu_plane_set_qos_ctrl()
- Fixed danger_safe_en programming conditions (Jeykumar)
- Simplified the code surrounding setup_cdp() calls (Jeykumar)
Dmitry Baryshkov (9):
drm/msm/dpu: fix SSPP register definitions
drm/msm/dpu: simplify CDP programming
drm/msm/dpu: fix the condition for (not) applying QoS to CURSOR SSPP
drm/msm/dpu: rearrange QoS setting code
drm/msm/dpu: drop DPU_PLANE_QOS_VBLANK_CTRL
drm/msm/dpu: simplify qos_ctrl handling
drm/msm/dpu: drop DPU_PLANE_QOS_PANIC_CTRL
drm/msm/dpu: remove struct dpu_hw_pipe_qos_cfg
drm/msm/dpu: use common helper for WB and SSPP QoS setup
.../drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 21 +--
.../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 4 -
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c | 140 +++++----------
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h | 52 ++----
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c | 52 ++++++
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h | 32 ++--
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c | 48 +----
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.h | 27 +--
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 165 +++++-------------
9 files changed, 192 insertions(+), 349 deletions(-)
--
2.39.2
next reply other threads:[~2023-05-18 22:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-18 22:22 Dmitry Baryshkov [this message]
2023-05-18 22:22 ` [PATCH v3 1/9] drm/msm/dpu: fix SSPP register definitions Dmitry Baryshkov
2023-05-24 22:05 ` Jeykumar Sankaran
2023-05-18 22:22 ` [PATCH v3 2/9] drm/msm/dpu: simplify CDP programming Dmitry Baryshkov
2023-05-18 22:22 ` [PATCH v3 3/9] drm/msm/dpu: fix the condition for (not) applying QoS to CURSOR SSPP Dmitry Baryshkov
2023-05-18 22:22 ` [PATCH v3 4/9] drm/msm/dpu: rearrange QoS setting code Dmitry Baryshkov
2023-05-18 22:22 ` [PATCH v3 5/9] drm/msm/dpu: drop DPU_PLANE_QOS_VBLANK_CTRL Dmitry Baryshkov
2023-05-18 22:22 ` [PATCH v3 6/9] drm/msm/dpu: simplify qos_ctrl handling Dmitry Baryshkov
2023-05-18 22:22 ` [PATCH v3 7/9] drm/msm/dpu: drop DPU_PLANE_QOS_PANIC_CTRL Dmitry Baryshkov
2023-05-18 22:22 ` [PATCH v3 8/9] drm/msm/dpu: remove struct dpu_hw_pipe_qos_cfg Dmitry Baryshkov
2023-05-18 22:22 ` [PATCH v3 9/9] drm/msm/dpu: use common helper for WB and SSPP QoS setup Dmitry Baryshkov
2023-06-04 3:01 ` [PATCH v3 0/9] drm/msm/dpu: simplify QoS/CDP programming Dmitry Baryshkov
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=20230518222238.3815293-1-dmitry.baryshkov@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=quic_abhinavk@quicinc.com \
--cc=quic_jeykumar@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).