Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D229C6FD1E for ; Tue, 7 Mar 2023 19:35:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234227AbjCGTfW (ORCPT ); Tue, 7 Mar 2023 14:35:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234272AbjCGTew (ORCPT ); Tue, 7 Mar 2023 14:34:52 -0500 Received: from mail-oa1-x31.google.com (mail-oa1-x31.google.com [IPv6:2001:4860:4864:20::31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB6C8AFBAA; Tue, 7 Mar 2023 11:21:47 -0800 (PST) Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-17638494edbso16177893fac.10; Tue, 07 Mar 2023 11:21:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678216907; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zhRiVT/qBtmkjy7WxqhkqSdjANQulevS1fkYVnIeB8I=; b=Od1ozCy+5nFpaAn16UDS5EgVldYYsLMTpa5G8VLkLZclgAPeP8UfHk2L0ntM8oJAN8 h4KAv2HFOE2i2y5BSReAp9mO2KOun1n4OT/or29Dx92Og088SGbykzTjyDGlfgxin4E9 kb40QGVp01EPScKCduxS58CqLUM4Gtnzmr/RY2ADMv2uQLVggPgL5H1eQtGssPEyL1KF G3jDosjwHNKBFiBsn4FdCppC9Bx/nKdWzmbroCQFy0kfJQkA3m4ba3cIxZzzskpYivXD X4IOXkyIqvMS0Mga5d1qXhOVDerHeY7w+Lo4EyKIrhgHSJ4o1kN+LNkMYIySgJG5n2kg u3mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678216907; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zhRiVT/qBtmkjy7WxqhkqSdjANQulevS1fkYVnIeB8I=; b=kqAMwKdrGT5AKwdtvgFCa7byHKNlk0n/vS3zuSf17EfyXMGYIeon3hcstQBTyFTYmI GtkIB3GEEyzRU2aLflhxNG634GVSznZpfHa49JF2MKVa5UOLT+4MqnF8EG1tsd0eGpMQ R+0RH0coeY3jIjyxFOuE3tjgwrsIye7dOGbHNDGYvTpq4aelQV0gVL7pEKx09O0qusO/ Z3jnVzEQqDpWugR3ZEsczHEsYijki/G/Cq61ZQm80UzF8t98ow8kdgN7lH8tuoEVWFQn wiimWaK6TMMd3G8bqTjRbBgvwu0N6o98UyE8ypD7O9efUMHEprE89ZuAZNHvbR4CnxNr pmvg== X-Gm-Message-State: AO0yUKVICulnalsBlRQJnX+zcNJRYW2Yes3+yop+0HYW0/VMDQ3MQqbU Kr7LIevYYsv5BNm4gEDT2KAlMgwecYjFEVZXnko= X-Google-Smtp-Source: AK7set/z3NJWfYPgz3oGl/RPEjJKQCI8IMnZlfRg60l9fl5OgNDCuxjK5GrQrqP6rkl81nleyRQqyvXI5sxEKvhuZaI= X-Received: by 2002:a05:6870:d346:b0:172:426c:8304 with SMTP id h6-20020a056870d34600b00172426c8304mr4153366oag.3.1678216907057; Tue, 07 Mar 2023 11:21:47 -0800 (PST) MIME-Version: 1.0 References: <20230307174627.23787-1-rdunlap@infradead.org> In-Reply-To: From: Rob Clark Date: Tue, 7 Mar 2023 11:21:35 -0800 Message-ID: Subject: Re: [Freedreno] [PATCH] drm/msm: fix PM_DEVFREQ kconfig dependency warning To: Fabio Estevam Cc: Randy Dunlap , Rob Clark , kernel test robot , Paul Gazzillo , Necip Fazil Yildiran , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Abhinav Kumar , linux-arm-msm@vger.kernel.org, Dmitry Baryshkov , freedreno@lists.freedesktop.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 7, 2023 at 10:48=E2=80=AFAM Fabio Estevam = wrote: > > On Tue, Mar 7, 2023 at 2:46=E2=80=AFPM Randy Dunlap wrote: > > > > 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_ONDE= MAND > > Depends on [n]: PM_DEVFREQ [=3Dn] > > Selected by [y]: > > - DRM_MSM [=3Dy] && HAS_IOMEM [=3Dy] && DRM [=3Dy] && (ARCH_QCOM || S= OC_IMX5 || COMPILE_TEST [=3Dy]) && COMMON_CLK [=3Dy] && IOMMU_SUPPORT [=3Dy= ] && (QCOM_OCMEM [=3Dn] || QCOM_OCMEM [=3Dn]=3Dn) && (QCOM_LLCC [=3Dn] || Q= COM_LLCC [=3Dn]=3Dn) && (QCOM_COMMAND_DB [=3Dy] || QCOM_COMMAND_DB [=3Dy]= =3Dn) > > > > 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 > > This fixes the warning after running 'make imx_v6_v7_defconfig', thanks: > > Tested-by: Fabio Estevam https://patchwork.freedesktop.org/patch/523353 is the fix we actually want.. I thought I'd already pulled that into msm-fixes but it seems like it got lost somewhere.. I'll rectify that BR, -R