Hello
This patchset remove several headers which are not used by any source
file.
Regards
Change since v1:
- splited in multiple patchs
Change since v2
- Use --irreversible-delete for format-patch
Corentin Labbe (13):
drm/amd/include: remove unused asic_reg/oss headers
drm/amd/include: remove unused asic_reg/bif headers
drm/amd/include: remove unused asic_reg/dce headers
drm/amd/include: remove unused asic_reg/gca headers
drm/amd/include: remove unused asic_reg/gmc headers
drm/amd/include: remove unused asic_reg/smu headers
drm/amd/include: remove unused asic_reg/umc headers
drm/amd/include: remove unused asic_reg/uvd headers
drm/amd/include: remove unused asic_reg/vce headers
drm/amd/include: remove unused asic_reg/sdma headers
drm/amd/include: remove unused asic_reg/nbif headers
drm/amd/include: remove unused displayobject.h header
drm/amd/powerplay: remove unused headers
.../drm/amd/include/asic_reg/bif/bif_5_0_enum.h | 1198 --
.../drm/amd/include/asic_reg/bif/bif_5_1_enum.h | 1068 -
.../drm/amd/include/asic_reg/dce/dce_11_2_enum.h | 6813 ------
.../drm/amd/include/asic_reg/dce/dce_8_0_enum.h | 1117 -
.../gpu/drm/amd/include/asic_reg/gca/gfx_8_1_d.h | 2791 ---
.../drm/amd/include/asic_reg/gca/gfx_8_1_enum.h | 6808 ------
.../drm/amd/include/asic_reg/gca/gfx_8_1_sh_mask.h | 21368 -------------------
.../drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h | 1198 --
.../drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h | 1068 -
.../amd/include/asic_reg/nbif/nbif_6_1_sh_mask.h | 10281 ---------
.../drm/amd/include/asic_reg/oss/oss_2_4_enum.h | 1340 --
.../drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h | 1464 --
.../drm/amd/include/asic_reg/oss/oss_3_0_enum.h | 1497 --
.../amd/include/asic_reg/sdma0/sdma0_4_0_default.h | 286 -
.../amd/include/asic_reg/sdma1/sdma1_4_0_default.h | 282 -
.../gpu/drm/amd/include/asic_reg/smu/smu_6_0_d.h | 148 -
.../drm/amd/include/asic_reg/smu/smu_6_0_sh_mask.h | 715 -
.../gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h | 1344 --
.../drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h | 1191 --
.../amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h | 5648 -----
.../drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h | 1205 --
.../drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h | 1246 --
.../drm/amd/include/asic_reg/smu/smu_7_1_3_enum.h | 1282 --
.../drm/amd/include/asic_reg/smu/smu_8_0_enum.h | 1072 -
.../drm/amd/include/asic_reg/umc/umc_6_0_default.h | 31 -
.../drm/amd/include/asic_reg/umc/umc_6_0_offset.h | 52 -
.../drm/amd/include/asic_reg/uvd/uvd_4_0_sh_mask.h | 795 -
.../drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h | 1211 --
.../drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h | 1081 -
.../gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h | 64 -
.../drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h | 99 -
drivers/gpu/drm/amd/include/displayobject.h | 249 -
.../gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h | 412 -
drivers/gpu/drm/amd/powerplay/inc/pp_feature.h | 67 -
34 files changed, 76491 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_0_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_1_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_11_2_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_8_0_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_d.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_sh_mask.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/nbif/nbif_6_1_sh_mask.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_4_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma0/sdma0_4_0_default.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma1/sdma1_4_0_default.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_d.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_sh_mask.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_3_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_8_0_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_default.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_offset.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_4_0_sh_mask.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h
delete mode 100644 drivers/gpu/drm/amd/include/displayobject.h
delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h
delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_feature.h
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../amd/include/asic_reg/sdma0/sdma0_4_0_default.h | 286 ---------------------
.../amd/include/asic_reg/sdma1/sdma1_4_0_default.h | 282 --------------------
2 files changed, 568 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma0/sdma0_4_0_default.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma1/sdma1_4_0_default.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/sdma0/sdma0_4_0_default.h b/drivers/gpu/drm/amd/include/asic_reg/sdma0/sdma0_4_0_default.h
deleted file mode 100644
index 4be3cb5c4556..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/sdma1/sdma1_4_0_default.h b/drivers/gpu/drm/amd/include/asic_reg/sdma1/sdma1_4_0_default.h
deleted file mode 100644
index 934733762ddf..000000000000
--
2.13.6
displayobject.h is not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
drivers/gpu/drm/amd/include/displayobject.h | 249 ----------------------------
1 file changed, 249 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/displayobject.h
diff --git a/drivers/gpu/drm/amd/include/displayobject.h b/drivers/gpu/drm/amd/include/displayobject.h
deleted file mode 100644
index 67e23ff9cbd4..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../amd/include/asic_reg/nbif/nbif_6_1_sh_mask.h | 10281 -------------------
1 file changed, 10281 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/nbif/nbif_6_1_sh_mask.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/nbif/nbif_6_1_sh_mask.h b/drivers/gpu/drm/amd/include/asic_reg/nbif/nbif_6_1_sh_mask.h
deleted file mode 100644
index c7518b84f559..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h | 64 --------------
.../drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h | 99 ----------------------
2 files changed, 163 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h b/drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h
deleted file mode 100644
index 2176548e9203..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h b/drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h
deleted file mode 100644
index ea5b26b11cb1..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h | 412 ---------------------
drivers/gpu/drm/amd/powerplay/inc/pp_feature.h | 67 ----
2 files changed, 479 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h
delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_feature.h
diff --git a/drivers/gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h
deleted file mode 100644
index b8f4b73c322e..000000000000
diff --git a/drivers/gpu/drm/amd/powerplay/inc/pp_feature.h b/drivers/gpu/drm/amd/powerplay/inc/pp_feature.h
deleted file mode 100644
index 0faf6a25c18b..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../drm/amd/include/asic_reg/uvd/uvd_4_0_sh_mask.h | 795 -------------
.../drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h | 1211 --------------------
.../drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h | 1081 -----------------
3 files changed, 3087 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_4_0_sh_mask.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_4_0_sh_mask.h b/drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_4_0_sh_mask.h
deleted file mode 100644
index 8ee3149df5b7..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h b/drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h
deleted file mode 100644
index 981086f8ee4e..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h b/drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h
deleted file mode 100644
index ecf47ba55c2d..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../gpu/drm/amd/include/asic_reg/gca/gfx_8_1_d.h | 2791 ---
.../drm/amd/include/asic_reg/gca/gfx_8_1_enum.h | 6808 ------
.../drm/amd/include/asic_reg/gca/gfx_8_1_sh_mask.h | 21368 -------------------
3 files changed, 30967 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_d.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_sh_mask.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_d.h b/drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_d.h
deleted file mode 100644
index 2d672b3d2fed..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_enum.h b/drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_enum.h
deleted file mode 100644
index f9022097fbe9..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_sh_mask.h b/drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_sh_mask.h
deleted file mode 100644
index 397705a6b3a2..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../gpu/drm/amd/include/asic_reg/smu/smu_6_0_d.h | 148 -
.../drm/amd/include/asic_reg/smu/smu_6_0_sh_mask.h | 715 ---
.../gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h | 1344 -----
.../drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h | 1191 -----
.../amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h | 5648 --------------------
.../drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h | 1205 -----
.../drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h | 1246 -----
.../drm/amd/include/asic_reg/smu/smu_7_1_3_enum.h | 1282 -----
.../drm/amd/include/asic_reg/smu/smu_8_0_enum.h | 1072 ----
9 files changed, 13851 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_d.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_sh_mask.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_3_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_8_0_enum.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_d.h b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_d.h
deleted file mode 100644
index 6b10be61efc3..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_sh_mask.h b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_sh_mask.h
deleted file mode 100644
index 7d3925b7266e..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h
deleted file mode 100644
index 57588b11ff1a..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h
deleted file mode 100644
index 61face1d0d8d..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h
deleted file mode 100644
index cd7893065a4b..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h
deleted file mode 100644
index c1a7aba19223..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h
deleted file mode 100644
index 73bbf506b1c9..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_3_enum.h b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_3_enum.h
deleted file mode 100644
index f19c4208d963..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_8_0_enum.h b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_8_0_enum.h
deleted file mode 100644
index e1540c181bf8..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../drm/amd/include/asic_reg/bif/bif_5_0_enum.h | 1198 --------------------
.../drm/amd/include/asic_reg/bif/bif_5_1_enum.h | 1068 -----------------
2 files changed, 2266 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_0_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_1_enum.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_0_enum.h b/drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_0_enum.h
deleted file mode 100644
index 46b75f4bbc36..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_1_enum.h b/drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_1_enum.h
deleted file mode 100644
index d8d5ae0b341f..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h | 1198 --------------------
.../drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h | 1068 -----------------
2 files changed, 2266 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h b/drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h
deleted file mode 100644
index 05b80f2bb147..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h b/drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h
deleted file mode 100644
index bc18e4d1f20e..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../drm/amd/include/asic_reg/umc/umc_6_0_default.h | 31 -------------
.../drm/amd/include/asic_reg/umc/umc_6_0_offset.h | 52 ----------------------
2 files changed, 83 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_default.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_offset.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_default.h b/drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_default.h
deleted file mode 100644
index 128a18f1e362..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_offset.h b/drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_offset.h
deleted file mode 100644
index 6985dbba39f5..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../drm/amd/include/asic_reg/dce/dce_11_2_enum.h | 6813 --------------------
.../drm/amd/include/asic_reg/dce/dce_8_0_enum.h | 1117 ----
2 files changed, 7930 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_11_2_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_8_0_enum.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/dce/dce_11_2_enum.h b/drivers/gpu/drm/amd/include/asic_reg/dce/dce_11_2_enum.h
deleted file mode 100644
index b2ea4202d7bd..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/dce/dce_8_0_enum.h b/drivers/gpu/drm/amd/include/asic_reg/dce/dce_8_0_enum.h
deleted file mode 100644
index 6bea30ef3df5..000000000000
--
2.13.6
All thoses headers are not used by any source files.
Lets just remove them.
Signed-off-by: Corentin Labbe <[email protected]>
---
.../drm/amd/include/asic_reg/oss/oss_2_4_enum.h | 1340 ------------------
.../drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h | 1464 -------------------
.../drm/amd/include/asic_reg/oss/oss_3_0_enum.h | 1497 --------------------
3 files changed, 4301 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_4_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_enum.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_4_enum.h b/drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_4_enum.h
deleted file mode 100644
index 37adf0df0fd3..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h b/drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h
deleted file mode 100644
index 627cff10fcce..000000000000
diff --git a/drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_enum.h b/drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_enum.h
deleted file mode 100644
index 09338d82afba..000000000000
--
2.13.6
This will break umr since we source the headers from the kernel. The
kernel might not use them but the different IP blocks have deltas that
umr is aware of.
One might argue that we should then publish the headers somewhere else
that is public but the kernel is our vehicle right now.
Thoughts Alex/Christian?
Tom
On 14/02/18 09:46 AM, Corentin Labbe wrote:
> Hello
>
> This patchset remove several headers which are not used by any source
> file.
>
> Regards
>
> Change since v1:
> - splited in multiple patchs
>
> Change since v2
> - Use --irreversible-delete for format-patch
>
> Corentin Labbe (13):
> drm/amd/include: remove unused asic_reg/oss headers
> drm/amd/include: remove unused asic_reg/bif headers
> drm/amd/include: remove unused asic_reg/dce headers
> drm/amd/include: remove unused asic_reg/gca headers
> drm/amd/include: remove unused asic_reg/gmc headers
> drm/amd/include: remove unused asic_reg/smu headers
> drm/amd/include: remove unused asic_reg/umc headers
> drm/amd/include: remove unused asic_reg/uvd headers
> drm/amd/include: remove unused asic_reg/vce headers
> drm/amd/include: remove unused asic_reg/sdma headers
> drm/amd/include: remove unused asic_reg/nbif headers
> drm/amd/include: remove unused displayobject.h header
> drm/amd/powerplay: remove unused headers
>
> .../drm/amd/include/asic_reg/bif/bif_5_0_enum.h | 1198 --
> .../drm/amd/include/asic_reg/bif/bif_5_1_enum.h | 1068 -
> .../drm/amd/include/asic_reg/dce/dce_11_2_enum.h | 6813 ------
> .../drm/amd/include/asic_reg/dce/dce_8_0_enum.h | 1117 -
> .../gpu/drm/amd/include/asic_reg/gca/gfx_8_1_d.h | 2791 ---
> .../drm/amd/include/asic_reg/gca/gfx_8_1_enum.h | 6808 ------
> .../drm/amd/include/asic_reg/gca/gfx_8_1_sh_mask.h | 21368 -------------------
> .../drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h | 1198 --
> .../drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h | 1068 -
> .../amd/include/asic_reg/nbif/nbif_6_1_sh_mask.h | 10281 ---------
> .../drm/amd/include/asic_reg/oss/oss_2_4_enum.h | 1340 --
> .../drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h | 1464 --
> .../drm/amd/include/asic_reg/oss/oss_3_0_enum.h | 1497 --
> .../amd/include/asic_reg/sdma0/sdma0_4_0_default.h | 286 -
> .../amd/include/asic_reg/sdma1/sdma1_4_0_default.h | 282 -
> .../gpu/drm/amd/include/asic_reg/smu/smu_6_0_d.h | 148 -
> .../drm/amd/include/asic_reg/smu/smu_6_0_sh_mask.h | 715 -
> .../gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h | 1344 --
> .../drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h | 1191 --
> .../amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h | 5648 -----
> .../drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h | 1205 --
> .../drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h | 1246 --
> .../drm/amd/include/asic_reg/smu/smu_7_1_3_enum.h | 1282 --
> .../drm/amd/include/asic_reg/smu/smu_8_0_enum.h | 1072 -
> .../drm/amd/include/asic_reg/umc/umc_6_0_default.h | 31 -
> .../drm/amd/include/asic_reg/umc/umc_6_0_offset.h | 52 -
> .../drm/amd/include/asic_reg/uvd/uvd_4_0_sh_mask.h | 795 -
> .../drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h | 1211 --
> .../drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h | 1081 -
> .../gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h | 64 -
> .../drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h | 99 -
> drivers/gpu/drm/amd/include/displayobject.h | 249 -
> .../gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h | 412 -
> drivers/gpu/drm/amd/powerplay/inc/pp_feature.h | 67 -
> 34 files changed, 76491 deletions(-)
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_0_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_1_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_11_2_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_8_0_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_d.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_sh_mask.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/nbif/nbif_6_1_sh_mask.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_4_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma0/sdma0_4_0_default.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma1/sdma1_4_0_default.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_d.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_sh_mask.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_3_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_8_0_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_default.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_offset.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_4_0_sh_mask.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h
> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h
> delete mode 100644 drivers/gpu/drm/amd/include/displayobject.h
> delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h
> delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_feature.h
>
On Wed, Feb 14, 2018 at 2:35 PM, Tom St Denis <[email protected]> wrote:
> This will break umr since we source the headers from the kernel. The kernel
> might not use them but the different IP blocks have deltas that umr is aware
> of.
>
> One might argue that we should then publish the headers somewhere else that
> is public but the kernel is our vehicle right now.
>
> Thoughts Alex/Christian?
I also like having them there for debugging so I can use the defines
for accessing registers and bitfields without having to look them up
and add local defines or magic numbers. The non-register headers can
be removed however since they are mostly leftover from code cleanups.
Alex
>
> Tom
>
>
>
> On 14/02/18 09:46 AM, Corentin Labbe wrote:
>>
>> Hello
>>
>> This patchset remove several headers which are not used by any source
>> file.
>>
>> Regards
>>
>> Change since v1:
>> - splited in multiple patchs
>>
>> Change since v2
>> - Use --irreversible-delete for format-patch
>>
>> Corentin Labbe (13):
>> drm/amd/include: remove unused asic_reg/oss headers
>> drm/amd/include: remove unused asic_reg/bif headers
>> drm/amd/include: remove unused asic_reg/dce headers
>> drm/amd/include: remove unused asic_reg/gca headers
>> drm/amd/include: remove unused asic_reg/gmc headers
>> drm/amd/include: remove unused asic_reg/smu headers
>> drm/amd/include: remove unused asic_reg/umc headers
>> drm/amd/include: remove unused asic_reg/uvd headers
>> drm/amd/include: remove unused asic_reg/vce headers
>> drm/amd/include: remove unused asic_reg/sdma headers
>> drm/amd/include: remove unused asic_reg/nbif headers
>> drm/amd/include: remove unused displayobject.h header
>> drm/amd/powerplay: remove unused headers
>>
>> .../drm/amd/include/asic_reg/bif/bif_5_0_enum.h | 1198 --
>> .../drm/amd/include/asic_reg/bif/bif_5_1_enum.h | 1068 -
>> .../drm/amd/include/asic_reg/dce/dce_11_2_enum.h | 6813 ------
>> .../drm/amd/include/asic_reg/dce/dce_8_0_enum.h | 1117 -
>> .../gpu/drm/amd/include/asic_reg/gca/gfx_8_1_d.h | 2791 ---
>> .../drm/amd/include/asic_reg/gca/gfx_8_1_enum.h | 6808 ------
>> .../drm/amd/include/asic_reg/gca/gfx_8_1_sh_mask.h | 21368
>> -------------------
>> .../drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h | 1198 --
>> .../drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h | 1068 -
>> .../amd/include/asic_reg/nbif/nbif_6_1_sh_mask.h | 10281 ---------
>> .../drm/amd/include/asic_reg/oss/oss_2_4_enum.h | 1340 --
>> .../drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h | 1464 --
>> .../drm/amd/include/asic_reg/oss/oss_3_0_enum.h | 1497 --
>> .../amd/include/asic_reg/sdma0/sdma0_4_0_default.h | 286 -
>> .../amd/include/asic_reg/sdma1/sdma1_4_0_default.h | 282 -
>> .../gpu/drm/amd/include/asic_reg/smu/smu_6_0_d.h | 148 -
>> .../drm/amd/include/asic_reg/smu/smu_6_0_sh_mask.h | 715 -
>> .../gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h | 1344 --
>> .../drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h | 1191 --
>> .../amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h | 5648 -----
>> .../drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h | 1205 --
>> .../drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h | 1246 --
>> .../drm/amd/include/asic_reg/smu/smu_7_1_3_enum.h | 1282 --
>> .../drm/amd/include/asic_reg/smu/smu_8_0_enum.h | 1072 -
>> .../drm/amd/include/asic_reg/umc/umc_6_0_default.h | 31 -
>> .../drm/amd/include/asic_reg/umc/umc_6_0_offset.h | 52 -
>> .../drm/amd/include/asic_reg/uvd/uvd_4_0_sh_mask.h | 795 -
>> .../drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h | 1211 --
>> .../drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h | 1081 -
>> .../gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h | 64 -
>> .../drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h | 99 -
>> drivers/gpu/drm/amd/include/displayobject.h | 249 -
>> .../gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h | 412 -
>> drivers/gpu/drm/amd/powerplay/inc/pp_feature.h | 67 -
>> 34 files changed, 76491 deletions(-)
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_0_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_1_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/dce/dce_11_2_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/dce/dce_8_0_enum.h
>> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_d.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_1_sh_mask.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/nbif/nbif_6_1_sh_mask.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_4_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/sdma0/sdma0_4_0_default.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/sdma1/sdma1_4_0_default.h
>> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_d.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/smu/smu_6_0_sh_mask.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_3_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/smu/smu_8_0_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_default.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_0_offset.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_4_0_sh_mask.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h
>> delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h
>> delete mode 100644
>> drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h
>> delete mode 100644 drivers/gpu/drm/amd/include/displayobject.h
>> delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h
>> delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_feature.h
>>
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
On Wed, Feb 14, 2018 at 9:46 AM, Corentin Labbe <[email protected]> wrote:
> All thoses headers are not used by any source files.
> Lets just remove them.
>
> Signed-off-by: Corentin Labbe <[email protected]>
Applied. Thanks!
Alex
> ---
> .../gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h | 412 ---------------------
> drivers/gpu/drm/amd/powerplay/inc/pp_feature.h | 67 ----
> 2 files changed, 479 deletions(-)
> delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h
> delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_feature.h
>
> diff --git a/drivers/gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h
> deleted file mode 100644
> index b8f4b73c322e..000000000000
> diff --git a/drivers/gpu/drm/amd/powerplay/inc/pp_feature.h b/drivers/gpu/drm/amd/powerplay/inc/pp_feature.h
> deleted file mode 100644
> index 0faf6a25c18b..000000000000
> --
> 2.13.6
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel