From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 50FC4C35FFC for ; Sun, 23 Mar 2025 02:30:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E031F10E176; Sun, 23 Mar 2025 02:30:22 +0000 (UTC) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8241B10E176; Sun, 23 Mar 2025 02:30:21 +0000 (UTC) Received: from mail.maildlp.com (unknown [172.19.163.17]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4ZL0Qp2sy0z1g2Cb; Sun, 23 Mar 2025 10:25:38 +0800 (CST) Received: from dggpemf500002.china.huawei.com (unknown [7.185.36.57]) by mail.maildlp.com (Postfix) with ESMTPS id 6120D1A0188; Sun, 23 Mar 2025 10:30:13 +0800 (CST) Received: from [10.174.179.113] (10.174.179.113) by dggpemf500002.china.huawei.com (7.185.36.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Sun, 23 Mar 2025 10:30:12 +0800 Message-ID: <8370ea3f-38c5-4dd2-82fd-e89d53d88b8a@huawei.com> Date: Sun, 23 Mar 2025 10:30:12 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH -next] drm/xe: Fix unmet direct dependencies warning To: Lucas De Marchi CC: , , , , , , , References: <20250322095521.4153684-1-yuehaibing@huawei.com> <2p7zbqflqj4khxmwofotnn5no5vo54yq5wq7z3j6etntkg3b4v@wym3efsfrx4o> Content-Language: en-US From: Yue Haibing In-Reply-To: <2p7zbqflqj4khxmwofotnn5no5vo54yq5wq7z3j6etntkg3b4v@wym3efsfrx4o> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.179.113] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemf500002.china.huawei.com (7.185.36.57) X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On 2025/3/22 20:51, Lucas De Marchi wrote: > On Sat, Mar 22, 2025 at 05:55:21PM +0800, Yue Haibing wrote: >> WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS >>  Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n] >>  Selected by [m]: >>  - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=m] && DRM_XE [=m] && DRM_XE [=m]=m [=m] && HAS_IOPORT [=y] >> >> FB_IOMEM_HELPERS depends on FB_CORE, Select it before FB_IOMEM_HELPERS. >> >> Fixes: 44e694958b95 ("drm/xe/display: Implement display support") >> Signed-off-by: Yue Haibing >> --- >> drivers/gpu/drm/xe/Kconfig | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig >> index 7d7995196702..fcf324f37d2d 100644 >> --- a/drivers/gpu/drm/xe/Kconfig >> +++ b/drivers/gpu/drm/xe/Kconfig >> @@ -53,6 +53,7 @@ config DRM_XE >> config DRM_XE_DISPLAY >>     bool "Enable display support" >>     depends on DRM_XE && DRM_XE=m && HAS_IOPORT >> +    select FB_CORE > > other places in drm, including i915 where this is coming from, use: > >     select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION > > ... and don't explicitly select FB_CORE. I think that is sufficient > following the chain of selects which ends up with DRM_CLIENT_LIB > selecting FB_CORE when DRM_FBDEV_EMULATION is set. Does that fixes it > for you? Thanks, it works for this, will send v2 soon. > > Lucas De Marchi >