Skip to content

Kconfig symbol clean-up on gpu

Lukas Bulwahn dri-devel kernel-janitors linux-arm-kernel linux-rockchip lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v15 patches 1 replyApplied

Changes in v2 from the cover letter

- adjusted sources in drivers/gpu/drm/Kconfig
for drm: zte: remove obsolete DRM Support for ZTE SoCs after report by kernel test robot
- removed Tomi from recipient list as email is unreachable.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm: rockchip: remove reference to non-existing config DRM_RGBdrivers/gpu/drm/rockchip/Kconfig+0 -10 replies
2/5drm: amdgpu: remove obsolete reference to config CHASHdrivers/gpu/drm/Kconfig+0 -10 replies
3/5drm: v3d: correct reference to config ARCH_BRCMSTBdrivers/gpu/drm/v3d/Kconfig+1 -10 replies
4/5drm: zte: remove obsolete DRM Support for ZTE SoCsdrivers/gpu/drm/Kconfig drivers/gpu/drm/Makefile drivers/gpu/drm/zte/Kconfig +16 more+0 -39620 replies
5/5drm: omap: remove obsolete selection of OMAP2_DSS in config DRM_OMAPdrivers/gpu/drm/omapdrm/Kconfig+0 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] Kconfig symbol clean-up on gpu

Dear DRM maintainers,

The script ./scripts/checkkconfigsymbols.py warns on invalid references to Kconfig symbols (often, minor typos, name confusions or outdated references).

This patch series addresses all issues reported by ./scripts/checkkconfigsymbols.py in ./drivers/gpu/ for Kconfig and Makefile files. Issues in the Kconfig and Makefile files indicate some shortcomings in the overall build definitions, and often are true actionable issues to address.

These issues can be identified and filtered by:

./scripts/checkkconfigsymbols.py | grep -E "drivers/gpu/.*(Kconfig|Makefile)" -B 1 -A 1

After applying this patch series on linux-next (next-20210817), the command above yields just one further issues to address:

DRM_AMD_DC_DCE11_0
Referencing files: drivers/gpu/drm/amd/display/dc/dce100/Makefile

Conclusion: No action required.
Rationale:
drivers/gpu/drm/amd/display/dc/dce100/Makefile refers to DRM_AMD_DC_DCE11_0 in a comment, after an "ifdef 0".

Please pick this patch series into your drm-next tree.

Note that patch "drm: amdgpu: remove obsolete reference to config CHASH" was already picked and applied by Alex Deucher.

Best regards,

Lukas

v1 -> v2:
- adjusted sources in drivers/gpu/drm/Kconfig
for drm: zte: remove obsolete DRM Support for ZTE SoCs after report by kernel test robot
- removed Tomi from recipient list as email is unreachable.

Lukas Bulwahn (5):
drm: rockchip: remove reference to non-existing config DRM_RGB
drm: amdgpu: remove obsolete reference to config CHASH
drm: v3d: correct reference to config ARCH_BRCMSTB
drm: zte: remove obsolete DRM Support for ZTE SoCs
drm: omap: remove obsolete selection of OMAP2_DSS in config DRM_OMAP

 drivers/gpu/drm/Kconfig              |   3 -
 drivers/gpu/drm/Makefile             |   1 -
 drivers/gpu/drm/omapdrm/Kconfig      |   1 -
 drivers/gpu/drm/rockchip/Kconfig     |   1 -
 drivers/gpu/drm/v3d/Kconfig          |   2 +-
 drivers/gpu/drm/zte/Kconfig          |  10 -
 drivers/gpu/drm/zte/Makefile         |  10 -
 drivers/gpu/drm/zte/zx_common_regs.h |  28 -
 drivers/gpu/drm/zte/zx_drm_drv.c     | 184 ------
 drivers/gpu/drm/zte/zx_drm_drv.h     |  34 -
 drivers/gpu/drm/zte/zx_hdmi.c        | 760 ----------------------
 drivers/gpu/drm/zte/zx_hdmi_regs.h   |  66 --
 drivers/gpu/drm/zte/zx_plane.c       | 537 ----------------
 drivers/gpu/drm/zte/zx_plane.h       |  26 -
 drivers/gpu/drm/zte/zx_plane_regs.h  | 120 ----
 drivers/gpu/drm/zte/zx_tvenc.c       | 400 ------------
 drivers/gpu/drm/zte/zx_tvenc_regs.h  |  27 -
 drivers/gpu/drm/zte/zx_vga.c         | 527 ---------------
 drivers/gpu/drm/zte/zx_vga_regs.h    |  33 -
 drivers/gpu/drm/zte/zx_vou.c         | 921 ---------------------------
 drivers/gpu/drm/zte/zx_vou.h         |  64 --
 drivers/gpu/drm/zte/zx_vou_regs.h    | 212 ------
 22 files changed, 1 insertion(+), 3966 deletions(-)
 delete mode 100644 drivers/gpu/drm/zte/Kconfig
 delete mode 100644 drivers/gpu/drm/zte/Makefile
 delete mode 100644 drivers/gpu/drm/zte/zx_common_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_drm_drv.c
 delete mode 100644 drivers/gpu/drm/zte/zx_drm_drv.h
 delete mode 100644 drivers/gpu/drm/zte/zx_hdmi.c
 delete mode 100644 drivers/gpu/drm/zte/zx_hdmi_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_plane.c
 delete mode 100644 drivers/gpu/drm/zte/zx_plane.h
 delete mode 100644 drivers/gpu/drm/zte/zx_plane_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_tvenc.c
 delete mode 100644 drivers/gpu/drm/zte/zx_tvenc_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vga.c
 delete mode 100644 drivers/gpu/drm/zte/zx_vga_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vou.c
 delete mode 100644 drivers/gpu/drm/zte/zx_vou.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vou_regs.h
Signature · 1 line
2.26.2