diff mbox series

drm: amd/acp: fix broken menu structure

Message ID 6c252c3d-5d0a-2a2f-4b8c-60d7622d1146@infradead.org (mailing list archive)
State New, archived
Headers show
Series drm: amd/acp: fix broken menu structure | expand

Commit Message

Randy Dunlap March 12, 2020, 5:42 a.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix the Kconfig dependencies so that the menu is presented
correctly by adding a dependency on DRM_AMDGPU to the "menu"
Kconfig statement.  This makes a continuous dependency on
DRM_AMDGPU in the DRM AMD menus and eliminates a broken menu
structure.

Fixes: a8fe58cec351 ("drm/amd: add ACP driver support")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: David (ChunMing) Zhou <David1.Zhou@amd.com>
Cc: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Cc: amd-gfx@lists.freedesktop.org
---
 drivers/gpu/drm/amd/acp/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Comments

Alex Deucher March 12, 2020, 2:15 p.m. UTC | #1
Applied.  thanks!

Alex

On Thu, Mar 12, 2020 at 4:09 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix the Kconfig dependencies so that the menu is presented
> correctly by adding a dependency on DRM_AMDGPU to the "menu"
> Kconfig statement.  This makes a continuous dependency on
> DRM_AMDGPU in the DRM AMD menus and eliminates a broken menu
> structure.
>
> Fixes: a8fe58cec351 ("drm/amd: add ACP driver support")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Alex Deucher <alexander.deucher@amd.com>
> Cc: Christian König <christian.koenig@amd.com>
> Cc: David (ChunMing) Zhou <David1.Zhou@amd.com>
> Cc: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
> Cc: amd-gfx@lists.freedesktop.org
> ---
>  drivers/gpu/drm/amd/acp/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
>
> --- linux-next.orig/drivers/gpu/drm/amd/acp/Kconfig
> +++ linux-next/drivers/gpu/drm/amd/acp/Kconfig
> @@ -1,5 +1,6 @@
>  # SPDX-License-Identifier: MIT
>  menu "ACP (Audio CoProcessor) Configuration"
> +       depends on DRM_AMDGPU
>
>  config DRM_AMD_ACP
>         bool "Enable AMD Audio CoProcessor IP support"
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
diff mbox series

Patch

--- linux-next.orig/drivers/gpu/drm/amd/acp/Kconfig
+++ linux-next/drivers/gpu/drm/amd/acp/Kconfig
@@ -1,5 +1,6 @@ 
 # SPDX-License-Identifier: MIT
 menu "ACP (Audio CoProcessor) Configuration"
+	depends on DRM_AMDGPU
 
 config DRM_AMD_ACP
 	bool "Enable AMD Audio CoProcessor IP support"