drm: Switch DRM_DISPLAY_HDCP_HELPER to depends on
authorMaxime Ripard <mripard@kernel.org>
Wed, 27 Mar 2024 10:57:06 +0000 (11:57 +0100)
committerMaxime Ripard <mripard@kernel.org>
Thu, 28 Mar 2024 10:26:51 +0000 (11:26 +0100)
commit3166e7e6d935caaef07605a5c90773fbf9ffeaf4
treea7ed7f8a3d164f13e27310ef37205d5f422a19e7
parent0323287de87d7e6e9c22c57d7440aa353a2298d0
drm: Switch DRM_DISPLAY_HDCP_HELPER to depends on

Most of our helpers have relied on being selected so far through
Kconfig, but that creates issues when we have multiple layers of helpers
with some depending on others.

Indeed, select doesn't select a dependency's dependencies, and thus
isn't super intuitive. Depends on however doesn't have that limitation,
so we can just switch all the drivers that were selecting
DRM_DISPLAY_HDCP_HELPER to depend on it.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20240327-kms-kconfig-helpers-v3-11-eafee11b84b3@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/amd/amdgpu/Kconfig
drivers/gpu/drm/bridge/Kconfig
drivers/gpu/drm/bridge/analogix/Kconfig
drivers/gpu/drm/bridge/cadence/Kconfig
drivers/gpu/drm/display/Kconfig
drivers/gpu/drm/i915/Kconfig
drivers/gpu/drm/xe/Kconfig