From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
Abhinav Kumar <quic_abhinavk@quicinc.com>,
Marijn Suijten <marijn.suijten@somainline.org>
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
Subject: [PATCH 7/7] drm/msm/dpu: merge dpu_csc_blk and dpu_dsc_blk into dpu_simple_blk
Date: Fri, 23 Jun 2023 16:58:44 +0300 [thread overview]
Message-ID: <20230623135844.1113908-8-dmitry.baryshkov@linaro.org> (raw)
In-Reply-To: <20230623135844.1113908-1-dmitry.baryshkov@linaro.org>
Merge struct dpu_csc_blk and struct dpu_dsc_blk into new struct
dpu_simple_blk, which contains just base and length.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h
index 7cb9ef940225..4b3fb104c412 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h
@@ -283,11 +283,6 @@ struct dpu_scaler_blk {
u32 version;
};
-struct dpu_csc_blk {
- u32 base;
- u32 len;
-};
-
/**
* struct dpu_pp_blk : Pixel processing sub-blk information
* @base: offset of this sub-block relative to the block offset
@@ -301,11 +296,11 @@ struct dpu_pp_blk {
};
/**
- * struct dpu_dsc_blk - DSC Encoder sub-blk information
+ * struct dpu_simple_blk - DSC Encoder sub-blk information
* @base: offset of this sub-block relative to the block offset
* @len: register block length of this sub-block
*/
-struct dpu_dsc_blk {
+struct dpu_simple_blk {
u32 base;
u32 len;
};
@@ -403,7 +398,7 @@ struct dpu_sspp_sub_blks {
u32 max_per_pipe_bw;
u32 qseed_ver;
struct dpu_scaler_blk scaler_blk;
- struct dpu_pp_blk csc_blk;
+ struct dpu_simple_blk csc_blk;
const u32 *format_list;
u32 num_formats;
@@ -444,8 +439,8 @@ struct dpu_pingpong_sub_blks {
* @ctl: DSC controller sub-block
*/
struct dpu_dsc_sub_blks {
- struct dpu_dsc_blk enc;
- struct dpu_dsc_blk ctl;
+ struct dpu_simple_blk enc;
+ struct dpu_simple_blk ctl;
};
/**
--
2.39.2
next prev parent reply other threads:[~2023-06-23 13:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-23 13:58 [PATCH 0/7] drm/msm/dpu: simplify DPU sub-blocks info Dmitry Baryshkov
2023-06-23 13:58 ` [PATCH 1/7] drm/msm/dpu: drop the `id' field from DPU_HW_SUBBLK_INFO Dmitry Baryshkov
2023-06-23 13:58 ` [PATCH 2/7] drm/msm/dpu: drop the field `name' " Dmitry Baryshkov
2023-06-23 13:58 ` [PATCH 3/7] drm/msm/dpu: Drop unused num argument from relevant macros Dmitry Baryshkov
2023-06-23 13:58 ` [PATCH 4/7] drm/msm/dpu: drop the `smart_dma_priority' field from struct dpu_sspp_sub_blks Dmitry Baryshkov
2023-06-23 13:58 ` [PATCH 5/7] drm/msm/dpu: deduplicate some (most) of SSPP sub-blocks Dmitry Baryshkov
2023-06-23 13:58 ` [PATCH 6/7] drm/msm/dpu: drop DPU_HW_SUBBLK_INFO macro Dmitry Baryshkov
2023-06-23 13:58 ` Dmitry Baryshkov [this message]
2023-06-23 18:03 ` [PATCH 0/7] drm/msm/dpu: simplify DPU sub-blocks info 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=20230623135844.1113908-8-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=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).