Skip to contentSkip to conversation

drm/msm/dpu: drop unused SSPP sub-block information

PATCH Superseded Dmitry Baryshkov 2 participants 5 messages Apr 29, 2023

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/msm/dpu: drop unused SSPP sub-block information

The driver doesn't support hsic/memcolor, pcc and igc SSPP subblocks. Drop corresponding definitions.

---
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 8 --------
 1 file changed, 8 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -8
index 3e92c2c66716..db6488a6929d 100644
@@ -384,10 +384,6 @@ struct dpu_caps {
  * @qseed_ver: qseed version
  * @scaler_blk:
  * @csc_blk:
- * @hsic:
- * @memcolor:
- * @pcc_blk:
- * @igc_blk:
  * @format_list: Pointer to list of supported formats
  * @num_formats: Number of supported formats
  * @virt_format_list: Pointer to list of supported formats for virtual planes
@@ -404,10 +400,6 @@ struct dpu_sspp_sub_blks {
 	u32 qseed_ver;
 	struct dpu_scaler_blk scaler_blk;
 	struct dpu_pp_blk csc_blk;
-	struct dpu_pp_blk hsic_blk;
-	struct dpu_pp_blk memcolor_blk;
-	struct dpu_pp_blk pcc_blk;
-	struct dpu_pp_blk igc_blk;
 
 	const u32 *format_list;
 	u32 num_formats;
Signature · 1 line
2.39.2
#1 lore raw
Quoted 24 lines · Dmitry Baryshkov

The driver doesn't support hsic/memcolor, pcc and igc SSPP subblocks. Drop corresponding definitions.

---
  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 8 --------
  1 file changed, 8 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -4
index 3e92c2c66716..db6488a6929d 100644
@@ -384,10 +384,6 @@ struct dpu_caps {
   * @qseed_ver: qseed version
   * @scaler_blk:
   * @csc_blk:
- * @hsic:
- * @memcolor:
- * @pcc_blk:
- * @igc_blk:
   * @format_list: Pointer to list of supported formats
   * @num_formats: Number of supported formats
   * @virt_format_list: Pointer to list of supported formats for virtual planes

drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h struct dpu_sspp_sub_blks { · line 410

Quoted 7 lines
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -4
@@ -404,10 +400,6 @@ struct dpu_sspp_sub_blks {
  	u32 qseed_ver;
  	struct dpu_scaler_blk scaler_blk;
  	struct dpu_pp_blk csc_blk;
-	struct dpu_pp_blk hsic_blk;
-	struct dpu_pp_blk memcolor_blk;
-	struct dpu_pp_blk pcc_blk;
-	struct dpu_pp_blk igc_blk;

I have included IGC in this patch https://patchwork.freedesktop.org/patch/534725/?series=117130&rev=1

So that one can be dropped from this patch?

Rest is fine.

Quoted 3 lines
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -0
  	const u32 *format_list;
  	u32 num_formats;
#2 lore raw
Quoted 37 lines · Abhinav Kumar
Quoted 24 lines · Dmitry Baryshkov

The driver  doesn't support hsic/memcolor, pcc and igc SSPP subblocks. Drop corresponding definitions.

---
  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 8 --------

  1 file changed, 8 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -4
index 3e92c2c66716..db6488a6929d 100644
@@ -384,10 +384,6 @@ struct dpu_caps {
    * @qseed_ver: qseed version
    * @scaler_blk:
    * @csc_blk:
- * @hsic:
- * @memcolor:
- * @pcc_blk:
- * @igc_blk:
    * @format_list: Pointer to list of supported formats
    * @num_formats: Number of supported formats
    * @virt_format_list: Pointer to list of supported formats for virtual planes

drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h struct dpu_sspp_sub_blks { · line 410

Quoted 7 lines
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -4
@@ -404,10 +400,6 @@ struct dpu_sspp_sub_blks {
       u32 qseed_ver;
       struct dpu_scaler_blk scaler_blk;
       struct dpu_pp_blk csc_blk;
-    struct dpu_pp_blk hsic_blk;
-    struct dpu_pp_blk memcolor_blk;
-    struct dpu_pp_blk pcc_blk;
-    struct dpu_pp_blk igc_blk;

I have included IGC in this patch https://patchwork.freedesktop.org/patch/534725/?series=117130&rev=1

Quoted 1 line

So that one can be dropped from this patch?

It will get dropped while applying because of the conflict.

Quoted 5 lines

Rest is fine.

Quoted 2 lines
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -0
       const u32 *format_list;
       u32 num_formats;
Signature · 2 lines
With best wishes
Dmitry
#3 lore raw
Quoted 38 lines · Dmitry Baryshkov
Quoted 37 lines · Abhinav Kumar
Quoted 24 lines · Dmitry Baryshkov

The driver  doesn't support hsic/memcolor, pcc and igc SSPP subblocks. Drop corresponding definitions.

---
  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 8 --------

  1 file changed, 8 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -4
index 3e92c2c66716..db6488a6929d 100644
@@ -384,10 +384,6 @@ struct dpu_caps {
    * @qseed_ver: qseed version
    * @scaler_blk:
    * @csc_blk:
- * @hsic:
- * @memcolor:
- * @pcc_blk:
- * @igc_blk:
    * @format_list: Pointer to list of supported formats
    * @num_formats: Number of supported formats
    * @virt_format_list: Pointer to list of supported formats for virtual planes

drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h struct dpu_sspp_sub_blks { · line 410

Quoted 7 lines
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -4
@@ -404,10 +400,6 @@ struct dpu_sspp_sub_blks {
       u32 qseed_ver;
       struct dpu_scaler_blk scaler_blk;
       struct dpu_pp_blk csc_blk;
-    struct dpu_pp_blk hsic_blk;
-    struct dpu_pp_blk memcolor_blk;
-    struct dpu_pp_blk pcc_blk;
-    struct dpu_pp_blk igc_blk;

I have included IGC in this patch https://patchwork.freedesktop.org/patch/534725/?series=117130&rev=1

Quoted 4 lines
Quoted 1 line

So that one can be dropped from this patch?

It will get dropped while applying because of the conflict.

Knowing that its going to conflict, why not fix one of the patches now, preferably this one since I was handling GC/IGC together in that series.

Quoted 6 lines
Quoted 5 lines

Rest is fine.

Quoted 2 lines
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -0
       const u32 *format_list;
       u32 num_formats;
#4 lore raw
Quoted 45 lines · Abhinav Kumar
Quoted 41 lines · Dmitry Baryshkov
Quoted 40 lines · Abhinav Kumar
Quoted 26 lines · Dmitry Baryshkov

The driver doesn't support hsic/memcolor, pcc and igc SSPP subblocks. Drop corresponding definitions.

---
  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 8 --------
  1 file changed, 8 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -4
index 3e92c2c66716..db6488a6929d 100644
@@ -384,10 +384,6 @@ struct dpu_caps {
   * @qseed_ver: qseed version
   * @scaler_blk:
   * @csc_blk:
- * @hsic:
- * @memcolor:
- * @pcc_blk:
- * @igc_blk:
   * @format_list: Pointer to list of supported formats
   * @num_formats: Number of supported formats
   * @virt_format_list: Pointer to list of supported formats for

virtual planes

drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h struct dpu_sspp_sub_blks { · line 410

Quoted 7 lines
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -4
@@ -404,10 +400,6 @@ struct dpu_sspp_sub_blks {
      u32 qseed_ver;
      struct dpu_scaler_blk scaler_blk;
      struct dpu_pp_blk csc_blk;
-    struct dpu_pp_blk hsic_blk;
-    struct dpu_pp_blk memcolor_blk;
-    struct dpu_pp_blk pcc_blk;
-    struct dpu_pp_blk igc_blk;

I have included IGC in this patch
https://patchwork.freedesktop.org/patch/534725/?series=117130&rev=1

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

So that one can be dropped from this patch?

It will get dropped while applying because of the conflict.

Knowing that its going to conflict, why not fix one of the patches now, preferably this one since I was handling GC/IGC together in that series.

Because it requires me to pull in additional patches into the dev branch. No problem, I'll do it.

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

Rest is fine.

Quoted 2 lines
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -0
      const u32 *format_list;
      u32 num_formats;
Signature · 2 lines
With best wishes
Dmitry