From patchwork Sun Feb 19 18:54:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 59203 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp971638wrn; Sun, 19 Feb 2023 11:11:48 -0800 (PST) X-Google-Smtp-Source: AK7set8x1Jzc1J8Y6IfllQ+xlhjoqGHc5LRKMDaLZ+qqHmdQq/9q0N8o2slRVzXK10GYyYB51MHH X-Received: by 2002:a17:906:4e90:b0:8a5:8620:575 with SMTP id v16-20020a1709064e9000b008a586200575mr7726913eju.3.1676833907942; Sun, 19 Feb 2023 11:11:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676833907; cv=none; d=google.com; s=arc-20160816; b=BL8eCn6zR/ibTuGtHMAFpNP+8oetv6sPW0SDZPCHJyDoWfSA4XuuFuQlrRcujIQlr9 qPaEO87bW5B13if30EkLgZ4UNnoTF8NTQPE9gqszzuyUxTEj9JMc7q4/ZnF3fOsgFo26 q6qnJ+na+zKYMcJvxSSQ4CPNI2hwbXb4Qh5oOkL+Ct5PHq+tiwRnGYDJukiWCbAuMPgn c3EjFl+DriRUcH9TeG/TF0/dmU1JY9Yw562waTKveXp/VXsZOnsno4jU9JHCGT4qp5cT ZbAp2h67m5u1wBrfU215ZOss3TvKxk2fdAyVvcNn/scV/yH0YeslyCF8rMCYSZw1eC6d l1lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EHcshz6cjW6WkRq14AhR5wHVfjV+n+xUkp2vaUbofek=; b=RT7yxArJulkuYmrgX5ok/AkUJHzfgfzsw2pwpdrm/UrzLoR3APvgpoHBd7VEBS5GZb d2qdvi2WD3R6dOAls3acxh4Oq0uHUVhmv0YN6YY0MnDieDEHjWN2m+KKK45qNnh9N5ZZ X6Dlkgf7e68FvwzZN/QpHOyUicBnM5J2Umx9DyROnQUg0viktlRzESJpuCW5IVM8LnA2 7qNlXEC8FBHSrYs5UzWLnRdyFIgzwEr6/89jfKrxmolCr1V3hbcroRNq1eJmsdZzqWqf Eft9/7ApK/ckkLG6dut5TLBSTGpAKrtc1PRlrr4gvN47mqg4oB3y1FYrOo7/kRr9xveu kS3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=KusykDXs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ui4-20020a170907c90400b008b12d7f9788si11727624ejc.789.2023.02.19.11.11.20; Sun, 19 Feb 2023 11:11:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=KusykDXs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231224AbjBSSyH (ORCPT + 99 others); Sun, 19 Feb 2023 13:54:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230286AbjBSSyF (ORCPT ); Sun, 19 Feb 2023 13:54:05 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD03810F0; Sun, 19 Feb 2023 10:54:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=EHcshz6cjW6WkRq14AhR5wHVfjV+n+xUkp2vaUbofek=; b=KusykDXsjTQJygaBZXY7PS+dzS VwFoE2RjJtmei9DKR/eoV12SgHnhFzEKb1aU8iLhAwT4HXXaZ5hv72BSmeM8hkqMtZxza35SA13XT kQNUzoNUrVj17Bo7rr7ajknQUA2pHjEQreZr03coGIiu7Oan2wkGuV4g8o1z872KZi/GcGJwCkAXU 6CVR6Vj7iZ+J2t5egE6rSWqsY5EGTzb/xDnzQhw9pITolu1u5LWkGWa6XziC+BVuKZAq46HcD6jtp 1aqKzwPXGsyuX4MA6dpMHg44NnbdAWaRo4ZtYoHtZASq+3Tk3frS35eUKasoHM4U/W0+3lHLvKqur lXWQKDLg==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pTop0-0028yF-O3; Sun, 19 Feb 2023 18:54:03 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH] drm/msm: fix new Konfig dependency warning Date: Sun, 19 Feb 2023 10:54:01 -0800 Message-Id: <20230219185401.10479-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758287791686541602?= X-GMAIL-MSGID: =?utf-8?q?1758287791686541602?= DEVFREQ_GOV_SIMPLE_ONDEMAND depends on PM_DEVFREQ, so in order to select the former safely, this symbol should also depend on PM_DEVFREQ to avoid a Kconfig dependency warning. WARNING: unmet direct dependencies detected for DEVFREQ_GOV_SIMPLE_ONDEMAND Depends on [n]: PM_DEVFREQ [=n] Selected by [m]: - DRM_MSM [=m] && HAS_IOMEM [=y] && DRM [=m] && (ARCH_QCOM || SOC_IMX5 || COMPILE_TEST [=y]) && COMMON_CLK [=y] && IOMMU_SUPPORT [=y] && (QCOM_OCMEM [=n] || QCOM_OCMEM [=n]=n) && (QCOM_LLCC [=y] || QCOM_LLCC [=y]=n) && (QCOM_COMMAND_DB [=n] || QCOM_COMMAND_DB [=n]=n) Fixes: 6563f60f14cb ("drm/msm/gpu: Add devfreq tuning debugfs") Signed-off-by: Randy Dunlap Cc: Rob Clark Cc: Abhinav Kumar Cc: Dmitry Baryshkov Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org --- drivers/gpu/drm/msm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -- a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig --- a/drivers/gpu/drm/msm/Kconfig +++ b/drivers/gpu/drm/msm/Kconfig @@ -9,6 +9,7 @@ config DRM_MSM depends on QCOM_OCMEM || QCOM_OCMEM=n depends on QCOM_LLCC || QCOM_LLCC=n depends on QCOM_COMMAND_DB || QCOM_COMMAND_DB=n + depends on PM_DEVFREQ select IOMMU_IO_PGTABLE select QCOM_MDT_LOADER if ARCH_QCOM select REGULATOR