From patchwork Thu Mar 12 05:42:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 11433461 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 66E1F14B4 for ; Thu, 12 Mar 2020 08:09:23 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4860F206F1 for ; Thu, 12 Mar 2020 08:09:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="UkwhbhqO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4860F206F1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BF3016EA67; Thu, 12 Mar 2020 08:08:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by gabe.freedesktop.org (Postfix) with ESMTPS id 03AE96E048; Thu, 12 Mar 2020 05:42:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=gFogYY0/ImH1QufcGk6my12bIHUguG4a5p71bzDoCOs=; b=UkwhbhqOAz87LxbUSVhtkWzVvM MBrHjo2j2hz1s7U8WycJh4oUvDONSmz86VBpGj57m+963BcjnHP/SCwe1hOqgFvOTEFw7sZNo6TDg UD9k83tzSyfQBRZNnDi3+5NblrKyGk37ipjwHkihxAyVEiREaj0SN7N2fgTneyAMc+UMg90hgpz9k UByP278mvDVthyNfX5v5affR6EyQWVwRXTIbvwdzXmCG4vXUeyjeqrKRmF5lNyeafkYk3Mi7N5cIp +ajv7BfLamoJfVBdpFnlsFFFHXOPfuEIQpL8+y0gKMLoTBUEMyvvuKze4F0SrsAcRfsDqX5Yr07og a7uqDCiQ==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jCGcP-0004dW-EG; Thu, 12 Mar 2020 05:42:53 +0000 To: LKML , dri-devel From: Randy Dunlap Subject: [PATCH] drm: amd/acp: fix broken menu structure Message-ID: <6c252c3d-5d0a-2a2f-4b8c-60d7622d1146@infradead.org> Date: Wed, 11 Mar 2020 22:42:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Language: en-US X-Mailman-Approved-At: Thu, 12 Mar 2020 08:08:13 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maruthi Bayyavarapu , "amd-gfx@lists.freedesktop.org" , Alex Deucher , Andrew Morton , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Randy Dunlap 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 Cc: Alex Deucher Cc: Christian König Cc: David (ChunMing) Zhou Cc: Maruthi Bayyavarapu 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"