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 20AE0C678D5 for ; Tue, 7 Mar 2023 19:02:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231615AbjCGTB6 (ORCPT ); Tue, 7 Mar 2023 14:01:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233485AbjCGTBe (ORCPT ); Tue, 7 Mar 2023 14:01:34 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 168421B561; Tue, 7 Mar 2023 10:47:59 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id l1so14181693pjt.2; Tue, 07 Mar 2023 10:47:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678214877; 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=jwJJAAvs/O2Ca860Au7W009ZUX+Nz2nCyjxJ9JUiC9c=; b=SVrq4PHqefwMBQ12zcN68KF1qUQUGalmroUn03q8CKB5uCanpnIky7V5MDAywkhaQc rfWePlJqpiUUwUwthCl/WtukJCqbZ3JuBI6+eknfA2XEIvuYaOuDamtx6Cik85H8b6DU Z2/2ZBP/J1Ln5/l0/TyZr1ElRzuXl8bhd+x9ODtYviTiXhes7D43f2o0HtFBVHVzHYxy 9Ntl3rJ/L3TNCVUMSU5CspoGFDxDe+eIYSvCx028dYAPtCcp3FI8T5MPZOuxNjWDhsqd NQC1T5n+foWtRctX8F79tp6bxw3EvDEot4Ud02NZ0L2O5nr3XCwjV+i7mebrg+mo0B+G 06zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678214877; 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=jwJJAAvs/O2Ca860Au7W009ZUX+Nz2nCyjxJ9JUiC9c=; b=bebGyWhttjUFOXEi7xgrAlwErTEicWjBBEfPiXDm14nuam0MedDpQLMoWOrwb9dNtC x7bzjA6B21RBZgspRFA/xnQjgHIiccRdi47FgMaeELicqa9duVKs2rwDTdV11IWlSlyU +/ZADFtYPmgOxSS3/R4fPIYj9SxnT8CpIDlSn4g7Yh1UxVl3KK9rG8ikUAbCqSsNXU6h fn5yZ05E8p9dNUb5K/YfR6zZ51nDgSvusq9HMiBa0ZcgaX9PVU4YWzz3mr7I//hXmOwE rUYYBlGWP6O3xuSlsRvwnmydzNGYuLpipnS/li1bpFamKXH9Ni4SakdDdC4dYwb1A3LX nH3Q== X-Gm-Message-State: AO0yUKWdCl601PThNlqsqjubqp0ZrtfkhFnNtjGIMrK2XjNO17iY61Y3 00OG3/Gj9cN2BBVhF5xqLhNy1/TpVSRhxt9yIAQ= X-Google-Smtp-Source: AK7set+RWbXBtnhVn5pdmO9M9UUd3hPQ/2kW4nJHVBb8wuIz7KYo9ibEge6VEuCkpeefEFX3i8aWJxysRMlUJCdmgf0= X-Received: by 2002:a17:902:efc3:b0:19a:6b55:a44d with SMTP id ja3-20020a170902efc300b0019a6b55a44dmr8397723plb.1.1678214877558; Tue, 07 Mar 2023 10:47:57 -0800 (PST) MIME-Version: 1.0 References: <20230307174627.23787-1-rdunlap@infradead.org> In-Reply-To: <20230307174627.23787-1-rdunlap@infradead.org> From: Fabio Estevam Date: Tue, 7 Mar 2023 15:47:46 -0300 Message-ID: Subject: Re: [PATCH] drm/msm: fix PM_DEVFREQ kconfig dependency warning To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, Rob Clark , kernel test robot , Paul Gazzillo , Necip Fazil Yildiran , Abhinav Kumar , dri-devel@lists.freedesktop.org, 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 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_ONDEMA= ND > Depends on [n]: PM_DEVFREQ [=3Dn] > Selected by [y]: > - DRM_MSM [=3Dy] && HAS_IOMEM [=3Dy] && DRM [=3Dy] && (ARCH_QCOM || SOC= _IMX5 || COMPILE_TEST [=3Dy]) && COMMON_CLK [=3Dy] && IOMMU_SUPPORT [=3Dy] = && (QCOM_OCMEM [=3Dn] || QCOM_OCMEM [=3Dn]=3Dn) && (QCOM_LLCC [=3Dn] || QCO= M_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