drm/msm/dpu: Drop unused qseed_type from catalog dpu_caps
authorMarijn Suijten <marijn.suijten@somainline.org>
Fri, 1 Dec 2023 23:40:27 +0000 (01:40 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 5 Dec 2023 00:35:48 +0000 (03:35 +0300)
The SSPP scaler subblk is responsible for reporting its version (via the
.id field, feature bits on the parent SSPP block, and since recently
also from reading a register to supersede a read-but-unset version field
in the catalog), leaving this global qseed_type field logically unused.
Remove this dead code to lighten the catalog and bringup-overhead.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/570109/
Link: https://lore.kernel.org/r/20231201234234.2065610-4-dmitry.baryshkov@linaro.org
15 files changed:
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_2_sc7180.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_3_sm6115.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_9_sm6375.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h

index aa1867943c9fdc4af691a783072150c0dbd0d3fe..4dcc9f804ac12385606c7b0152a48c6c3cad9820 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps msm8998_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0x7,
-       .qseed_type = DPU_SSPP_SCALER_QSEED3,
        .has_src_split = true,
        .has_dim_layer = true,
        .has_idle_pc = true,
index 38ac0c1a134bff28add4eb3bf97fe7a2c68ab6e3..03159d359500f9561504db70d04d1e996e3b9246 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sdm845_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0xb,
-       .qseed_type = DPU_SSPP_SCALER_QSEED3,
        .has_src_split = true,
        .has_dim_layer = true,
        .has_idle_pc = true,
index c022e57864a435d7af808a086b47dd99687e975a..4184c18d81f38df25405da691249c8dec5456b4d 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sm8150_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0xb,
-       .qseed_type = DPU_SSPP_SCALER_QSEED3,
        .has_src_split = true,
        .has_dim_layer = true,
        .has_idle_pc = true,
index cb0758f0829dee85327b1a9061d72a41c0bc803c..83fb7312bc9790b9a72e99443cc3beada25005ea 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sc8180x_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0xb,
-       .qseed_type = DPU_SSPP_SCALER_QSEED3,
        .has_src_split = true,
        .has_dim_layer = true,
        .has_idle_pc = true,
index 94278a3e3483c625a00406c8621f6293e144d152..885a2bec825845979774bd9c2f5ac3395675f81a 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sm8250_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0xb,
-       .qseed_type = DPU_SSPP_SCALER_QSEED4,
        .has_src_split = true,
        .has_dim_layer = true,
        .has_idle_pc = true,
index c0d88ddccb28c6cf2ae608a678a7352aef6b3d4f..c9d1f1292b3daea8e336094d780f27806822ce70 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sc7180_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0x9,
-       .qseed_type = DPU_SSPP_SCALER_QSEED4,
        .has_dim_layer = true,
        .has_idle_pc = true,
        .max_linewidth = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
index 57ce14c18defb7979dbc0c6625bd47b1b05aa058..320b8f23364f138498f05dff46ff047c3b2605e3 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sm6115_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_LINE_WIDTH,
        .max_mixer_blendstages = 0x4,
-       .qseed_type = DPU_SSPP_SCALER_QSEED4,
        .has_dim_layer = true,
        .has_idle_pc = true,
        .max_linewidth = 2160,
index 62db84bd15f24acf025162c5cb6f48c53c5a227d..6c6bc754aeb7055179c0fbd6ea16de5f579b32f2 100644 (file)
@@ -11,7 +11,6 @@
 static const struct dpu_caps sm6350_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0x7,
-       .qseed_type = DPU_SSPP_SCALER_QSEED4,
        .has_src_split = true,
        .has_dim_layer = true,
        .has_idle_pc = true,
index 5a3aad364c7894152a626a2b8adedb7cd843c2af..77703f663e2594d7f0df8c149e854312b3033481 100644 (file)
@@ -11,7 +11,6 @@
 static const struct dpu_caps sm6375_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_LINE_WIDTH,
        .max_mixer_blendstages = 0x4,
-       .qseed_type = DPU_SSPP_SCALER_QSEED4,
        .has_dim_layer = true,
        .has_idle_pc = true,
        .max_linewidth = 2160,
index 5aaa24281906e6448b42aaa774901fb3193e13af..03181ba891d59199d4ab9e67ac3afdd109075ea3 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sm8350_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0xb,
-       .qseed_type = DPU_SSPP_SCALER_QSEED4,
        .has_src_split = true,
        .has_dim_layer = true,
        .has_idle_pc = true,
index 15942fa5a8e06f3e24bc8976d8692e5a0b82d4d1..42bb47181ba1ca32f6a083e007117dfd8a3d6b7d 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sc7280_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0x7,
-       .qseed_type = DPU_SSPP_SCALER_QSEED4,
        .has_dim_layer = true,
        .has_idle_pc = true,
        .max_linewidth = 2400,
index 1ccd1edd693c54748a6c474fedbe064e8e33907a..6da122df0b8888359683559bbb5aeed9057f7da6 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sc8280xp_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 11,
-       .qseed_type = DPU_SSPP_SCALER_QSEED4,
        .has_src_split = true,
        .has_dim_layer = true,
        .has_idle_pc = true,
index 72b0f547242fe6877e26354f78ed6531c2a8e306..330d48b1ea02809267373219edc3afdea4ba8014 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sm8450_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0xb,
-       .qseed_type = DPU_SSPP_SCALER_QSEED4,
        .has_src_split = true,
        .has_dim_layer = true,
        .has_idle_pc = true,
index 69b80af6566a6819ac8ddac7f57a2feddd672706..2b5b342ea0b2567c380d3e30f20c601b269c591d 100644 (file)
@@ -10,7 +10,6 @@
 static const struct dpu_caps sm8550_dpu_caps = {
        .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
        .max_mixer_blendstages = 0xb,
-       .qseed_type = DPU_SSPP_SCALER_QSEED4,
        .has_src_split = true,
        .has_dim_layer = true,
        .has_idle_pc = true,
index 62445075306aff2d0f8bd3a3dab47c09fba8e158..1bf2d2d64f2a9076758bb61ce0a33db2db7a3c94 100644 (file)
@@ -342,7 +342,6 @@ struct dpu_rotation_cfg {
  * @max_mixer_width    max layer mixer line width support.
  * @max_mixer_blendstages max layer mixer blend stages or
  *                       supported z order
- * @qseed_type         qseed2 or qseed3 support.
  * @has_src_split      source split feature status
  * @has_dim_layer      dim layer feature status
  * @has_idle_pc        indicate if idle power collapse feature is supported
@@ -355,7 +354,6 @@ struct dpu_rotation_cfg {
 struct dpu_caps {
        u32 max_mixer_width;
        u32 max_mixer_blendstages;
-       u32 qseed_type;
        bool has_src_split;
        bool has_dim_layer;
        bool has_idle_pc;