* [PATCH 1/5] drm: rockchip: remove reference to non-existing config DRM_RGB
2021-08-18 12:41 [PATCH 0/5] Kconfig symbol clean-up on gpu Lukas Bulwahn
@ 2021-08-18 12:41 ` Lukas Bulwahn
2021-08-18 12:41 ` [PATCH 2/5] drm: amdgpu: remove obsolete reference to config CHASH Lukas Bulwahn
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Lukas Bulwahn @ 2021-08-18 12:41 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Daniel Vetter, dri-devel
Cc: Sandy Huang, Heiko Stübner, Emma Anholt,
Christian König, Arnd Bergmann, Tomi Valkeinen,
linux-arm-kernel, linux-rockchip, kernel-janitors, linux-kernel,
Lukas Bulwahn
commit 1f0f01515172 ("drm/rockchip: Add support for Rockchip Soc RGB
output interface") accidently adds to select the non-existing config
DRM_RGB in ./drivers/gpu/drm/rockchip/Kconfig.
Luckily, ./scripts/checkkconfigsymbols.py warns on non-existing configs:
DRM_RGB
Referencing files: drivers/gpu/drm/rockchip/Kconfig
So, remove the reference to the non-existing config DRM_RGB.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
drivers/gpu/drm/rockchip/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig
index 558f1b58bd69..9f1ecefc3933 100644
--- a/drivers/gpu/drm/rockchip/Kconfig
+++ b/drivers/gpu/drm/rockchip/Kconfig
@@ -9,7 +9,6 @@ config DRM_ROCKCHIP
select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP
select DRM_DW_HDMI if ROCKCHIP_DW_HDMI
select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI
- select DRM_RGB if ROCKCHIP_RGB
select GENERIC_PHY if ROCKCHIP_DW_MIPI_DSI
select GENERIC_PHY_MIPI_DPHY if ROCKCHIP_DW_MIPI_DSI
select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
--
2.26.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/5] drm: amdgpu: remove obsolete reference to config CHASH
2021-08-18 12:41 [PATCH 0/5] Kconfig symbol clean-up on gpu Lukas Bulwahn
2021-08-18 12:41 ` [PATCH 1/5] drm: rockchip: remove reference to non-existing config DRM_RGB Lukas Bulwahn
@ 2021-08-18 12:41 ` Lukas Bulwahn
2021-08-18 21:51 ` Alex Deucher
2021-08-18 12:41 ` [PATCH 3/5] drm: v3d: correct reference to config ARCH_BRCMSTB Lukas Bulwahn
2021-08-18 12:41 ` [PATCH 5/5] drm: omap: remove obsolete selection of OMAP2_DSS in config DRM_OMAP Lukas Bulwahn
3 siblings, 1 reply; 6+ messages in thread
From: Lukas Bulwahn @ 2021-08-18 12:41 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Daniel Vetter, dri-devel
Cc: Sandy Huang, Heiko Stübner, Emma Anholt,
Christian König, Arnd Bergmann, Tomi Valkeinen,
linux-arm-kernel, linux-rockchip, kernel-janitors, linux-kernel,
Lukas Bulwahn
Commit 04ed8459f334 ("drm/amdgpu: remove chash") removes the chash
architecture and its corresponding config CHASH.
There is still a reference to CHASH in the config DRM_AMDGPU in
./drivers/gpu/drm/Kconfig.
Remove this obsolete reference to config CHASH.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
drivers/gpu/drm/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index f3bc90baca61..8fc40317f2b7 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -257,7 +257,6 @@ config DRM_AMDGPU
select HWMON
select BACKLIGHT_CLASS_DEVICE
select INTERVAL_TREE
- select CHASH
help
Choose this option if you have a recent AMD Radeon graphics card.
--
2.26.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/5] drm: amdgpu: remove obsolete reference to config CHASH
2021-08-18 12:41 ` [PATCH 2/5] drm: amdgpu: remove obsolete reference to config CHASH Lukas Bulwahn
@ 2021-08-18 21:51 ` Alex Deucher
0 siblings, 0 replies; 6+ messages in thread
From: Alex Deucher @ 2021-08-18 21:51 UTC (permalink / raw)
To: Lukas Bulwahn
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Daniel Vetter, Maling list - DRI developers,
Sandy Huang, Heiko Stübner, Emma Anholt,
Christian König, Arnd Bergmann, Tomi Valkeinen,
linux-arm-kernel, linux-rockchip, kernel-janitors, LKML
Applied. Thanks!
Alex
On Wed, Aug 18, 2021 at 8:41 AM Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote:
>
> Commit 04ed8459f334 ("drm/amdgpu: remove chash") removes the chash
> architecture and its corresponding config CHASH.
>
> There is still a reference to CHASH in the config DRM_AMDGPU in
> ./drivers/gpu/drm/Kconfig.
>
> Remove this obsolete reference to config CHASH.
>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> ---
> drivers/gpu/drm/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
> index f3bc90baca61..8fc40317f2b7 100644
> --- a/drivers/gpu/drm/Kconfig
> +++ b/drivers/gpu/drm/Kconfig
> @@ -257,7 +257,6 @@ config DRM_AMDGPU
> select HWMON
> select BACKLIGHT_CLASS_DEVICE
> select INTERVAL_TREE
> - select CHASH
> help
> Choose this option if you have a recent AMD Radeon graphics card.
>
> --
> 2.26.2
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 3/5] drm: v3d: correct reference to config ARCH_BRCMSTB
2021-08-18 12:41 [PATCH 0/5] Kconfig symbol clean-up on gpu Lukas Bulwahn
2021-08-18 12:41 ` [PATCH 1/5] drm: rockchip: remove reference to non-existing config DRM_RGB Lukas Bulwahn
2021-08-18 12:41 ` [PATCH 2/5] drm: amdgpu: remove obsolete reference to config CHASH Lukas Bulwahn
@ 2021-08-18 12:41 ` Lukas Bulwahn
2021-08-18 12:41 ` [PATCH 5/5] drm: omap: remove obsolete selection of OMAP2_DSS in config DRM_OMAP Lukas Bulwahn
3 siblings, 0 replies; 6+ messages in thread
From: Lukas Bulwahn @ 2021-08-18 12:41 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Daniel Vetter, dri-devel
Cc: Sandy Huang, Heiko Stübner, Emma Anholt,
Christian König, Arnd Bergmann, Tomi Valkeinen,
linux-arm-kernel, linux-rockchip, kernel-janitors, linux-kernel,
Lukas Bulwahn
Commit 57692c94dcbe ("drm/v3d: Introduce a new DRM driver for Broadcom V3D
V3.x+") adds the config DRM_V3D, which depends on "ARCH_BCMSTB".
Although, a bit confusing: all Broadcom architectures in
./arch/arm/mach-bcm/Kconfig have the prefix "ARCH_BCM", except for
ARCH_BRCMSTB, i.e., the config for Broadcom BCM7XXX based boards.
So, correct the reference ARCH_BCMSTB to the intended ARCH_BRCMSTB.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
drivers/gpu/drm/v3d/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/v3d/Kconfig b/drivers/gpu/drm/v3d/Kconfig
index 9a5c44606337..e973ec487484 100644
--- a/drivers/gpu/drm/v3d/Kconfig
+++ b/drivers/gpu/drm/v3d/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config DRM_V3D
tristate "Broadcom V3D 3.x and newer"
- depends on ARCH_BCM || ARCH_BCMSTB || COMPILE_TEST
+ depends on ARCH_BCM || ARCH_BRCMSTB || COMPILE_TEST
depends on DRM
depends on COMMON_CLK
depends on MMU
--
2.26.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 5/5] drm: omap: remove obsolete selection of OMAP2_DSS in config DRM_OMAP
2021-08-18 12:41 [PATCH 0/5] Kconfig symbol clean-up on gpu Lukas Bulwahn
` (2 preceding siblings ...)
2021-08-18 12:41 ` [PATCH 3/5] drm: v3d: correct reference to config ARCH_BRCMSTB Lukas Bulwahn
@ 2021-08-18 12:41 ` Lukas Bulwahn
3 siblings, 0 replies; 6+ messages in thread
From: Lukas Bulwahn @ 2021-08-18 12:41 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Daniel Vetter, dri-devel
Cc: Sandy Huang, Heiko Stübner, Emma Anholt,
Christian König, Arnd Bergmann, Tomi Valkeinen,
linux-arm-kernel, linux-rockchip, kernel-janitors, linux-kernel,
Lukas Bulwahn
Commit 55b68fb856b5 ("drm/omap: squash omapdrm sub-modules into one")
removes the config OMAP2_DSS in ./drivers/gpu/drm/omapdrm/dss/Kconfig,
while moving the other configs into./drivers/gpu/drm/omapdrm/Kconfig, but
misses to remove an obsolete selection of OMAP2_DSS in config DRM_OMAP.
Hence, ./scripts/checkkconfigsymbols.py warns:
OMAP2_DSS
Referencing files: drivers/gpu/drm/omapdrm/Kconfig
Remove this reference in an obsolete selection.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
drivers/gpu/drm/omapdrm/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/omapdrm/Kconfig b/drivers/gpu/drm/omapdrm/Kconfig
index e7281da5bc6a..d6e4df291d6f 100644
--- a/drivers/gpu/drm/omapdrm/Kconfig
+++ b/drivers/gpu/drm/omapdrm/Kconfig
@@ -3,7 +3,6 @@ config DRM_OMAP
tristate "OMAP DRM"
depends on DRM
depends on ARCH_OMAP2PLUS || ARCH_MULTIPLATFORM
- select OMAP2_DSS
select DRM_KMS_HELPER
select VIDEOMODE_HELPERS
select HDMI
--
2.26.2
^ permalink raw reply related [flat|nested] 6+ messages in thread