From patchwork Tue Mar 7 17:46:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 65763 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2574598wrd; Tue, 7 Mar 2023 09:59:21 -0800 (PST) X-Google-Smtp-Source: AK7set/JyiIgDYk1IKL7LurPdk6jCfWB1ZTzLimYJu6/c4jV7F4j9KUukN50Q60Llanri+AyGFyj X-Received: by 2002:a17:906:4783:b0:8af:2107:6ce5 with SMTP id cw3-20020a170906478300b008af21076ce5mr20607195ejc.35.1678211961000; Tue, 07 Mar 2023 09:59:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678211960; cv=none; d=google.com; s=arc-20160816; b=uGS99bdfmG9kYPb/gLAeoumeEgdk7JOft23evkBrf2M7rSqKGJP9yKmsezkpnMdvE8 WDy3wFbOKySClwfD6qLIebXtUmjODLsAaQVML431p5sfpC3XDfRsfg4fx+/1fpeNYnxN FD+f+pLjd1/KlYt7iJqbb+SnGJLrYv0vcObwdudN/mmOvJg9kwJ8/QU/AnSE8Cj+K9o0 L/VBJXIhdEeONYI9sU0lwuuOwkn0PKQlOfLUDqrDdhfC0H1ChIof5xlPKtVGdkTTuDVI gXIOdZJNV0W/aJtJaAgvKqa9dyxq2SstVsE5f9aK/exO/5K6xkBqkRf4i8SZDp6enPi8 vwxw== 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=kEQsvK3MQxnkVxlI0sD7IiDrMvuokvi8WefyhXs11HM=; b=dZSsrsXf2MPCSx4oJfykicKbtMjl2FhX2PGMCSHnuWw3523aAFYmkbuOgaZvpEq+l6 dKZ1S9s2jr+ZTHNi5MAXGkiKdeIxWnL7L/5XY9y10MWzx/JG+D5c76UF346g19L0QE92 oCG2AW7Vohtjb77CwCSfTDGlpPdFoVBVHeJTGymKWVwLqK5jiQGJFXloaYyRYy/ZJ9Zc yYwmyZlFzSrPOg/VzuqijDKlHLH4QBsUSTsq7kfF7aDUoWGlvacKkv88Qqighuqxn4Zx xmdIt0pvfwN3zn8VaiadStnbyriBiVUdZTPYm6tXmwH51CpIqamSJ5nmcrGQxLlGmS9P CfmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Q7unhmla; 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 b15-20020a05640202cf00b0049fc45a6102si2483398edx.381.2023.03.07.09.58.57; Tue, 07 Mar 2023 09:59:20 -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=Q7unhmla; 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 S232267AbjCGRwb (ORCPT + 99 others); Tue, 7 Mar 2023 12:52:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231958AbjCGRv6 (ORCPT ); Tue, 7 Mar 2023 12:51:58 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB71DA4B28; Tue, 7 Mar 2023 09:46:33 -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=kEQsvK3MQxnkVxlI0sD7IiDrMvuokvi8WefyhXs11HM=; b=Q7unhmlaPKTnVfqQx9l4VGvx/k OxcEG8ujTo3Jtr3wGonwqkyHoAmvyZE5YlNhMVSma9Vwm2vVISUahP8bq7eDhnuFwj1Zg9elJtiZ0 9VB5TWOdO2TuZcLNMMxYd0UT4aQZIcODeWKf2uODP6lLFWtg06P42NClrlfqKEjf58hVeKpODH1il OnhsO4mh/Q5cgw6n9guiVnGMPXW8uMclXL6r8uSCtSH1sYrRpN6rf4eYtLfL7t6xxWU7GtjOjEp+c A3hQW2HP8EnnYxMEqBr67DKdBuuPnEpq/Ev8U365Zu9cfw6BsNaEkeUzg19+8lVHEGXSNgfj5zcTr Fp3UEWZQ==; 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 1pZbOQ-001sqm-TV; Tue, 07 Mar 2023 17:46:30 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Rob Clark , Paul Gazzillo , Necip Fazil Yildiran , Chia-I Wu , Abhinav Kumar , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH] drm/msm: fix PM_DEVFREQ kconfig dependency warning Date: Tue, 7 Mar 2023 09:46:27 -0800 Message-Id: <20230307174627.23787-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,URIBL_BLOCKED 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?1759732785243147646?= X-GMAIL-MSGID: =?utf-8?q?1759732785243147646?= Since DEVFREQ_GOV_SIMPLE_ONDEMAND depends on PM_DEVFREQ, the latter should either be selected or DRM_MSM should depend on PM_DEVFREQ. Since most drivers select PM_DEVFREQ instead of depending on it, add a select here to satisfy kconfig. WARNING: unmet direct dependencies detected for DEVFREQ_GOV_SIMPLE_ONDEMAND Depends on [n]: PM_DEVFREQ [=n] Selected by [y]: - DRM_MSM [=y] && HAS_IOMEM [=y] && DRM [=y] && (ARCH_QCOM || SOC_IMX5 || COMPILE_TEST [=y]) && COMMON_CLK [=y] && IOMMU_SUPPORT [=y] && (QCOM_OCMEM [=n] || QCOM_OCMEM [=n]=n) && (QCOM_LLCC [=n] || QCOM_LLCC [=n]=n) && (QCOM_COMMAND_DB [=y] || QCOM_COMMAND_DB [=y]=n) Fixes: 6563f60f14cb ("drm/msm/gpu: Add devfreq tuning debugfs") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Link: lore.kernel.org/r/202303071922.wJqDWQpe-lkp@intel.com Cc: Rob Clark Cc: Paul Gazzillo Cc: Necip Fazil Yildiran Cc: Chia-I Wu Cc: Abhinav Kumar Cc: Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Tested-by: Fabio Estevam --- 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 @@ -23,6 +23,7 @@ config DRM_MSM select SHMEM select TMPFS select QCOM_SCM + select PM_DEVFREQ select DEVFREQ_GOV_SIMPLE_ONDEMAND select WANT_DEV_COREDUMP select SND_SOC_HDMI_CODEC if SND_SOC