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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4303AECAAD3 for ; Wed, 14 Sep 2022 06:44:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230064AbiINGoO (ORCPT ); Wed, 14 Sep 2022 02:44:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbiINGoK (ORCPT ); Wed, 14 Sep 2022 02:44:10 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47AB645045 for ; Tue, 13 Sep 2022 23:44:06 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MS9gW0V8jz14QWJ; Wed, 14 Sep 2022 14:40:07 +0800 (CST) Received: from [10.174.179.215] (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 14 Sep 2022 14:44:03 +0800 Subject: Re: [PATCH -next] drm/hisilicon/hibmc: Fix COMPILE_TEST building without MMU To: , , , , , , , , CC: , References: <20220823020920.11008-1-yuehaibing@huawei.com> From: YueHaibing Message-ID: <584a67fa-cc1d-a30b-ccac-847f717b6d90@huawei.com> Date: Wed, 14 Sep 2022 14:44:03 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20220823020920.11008-1-yuehaibing@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ping... On 2022/8/23 10:09, YueHaibing wrote: > WARNING: unmet direct dependencies detected for DRM_TTM > Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && MMU [=n] > Selected by [y]: > - DRM_TTM_HELPER [=y] && HAS_IOMEM [=y] && DRM [=y] > - DRM_HISI_HIBMC [=y] && HAS_IOMEM [=y] && DRM [=y] && PCI [=y] && (ARM64 || COMPILE_TEST [=y]) > > Add missing MMU dependency to fix this. > > Fixes: a0f25a6bb319 ("drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled") > Signed-off-by: YueHaibing > --- > drivers/gpu/drm/hisilicon/hibmc/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/hisilicon/hibmc/Kconfig b/drivers/gpu/drm/hisilicon/hibmc/Kconfig > index 073adfe438dd..e5ef1b573732 100644 > --- a/drivers/gpu/drm/hisilicon/hibmc/Kconfig > +++ b/drivers/gpu/drm/hisilicon/hibmc/Kconfig > @@ -1,7 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0-only > config DRM_HISI_HIBMC > tristate "DRM Support for Hisilicon Hibmc" > - depends on DRM && PCI && (ARM64 || COMPILE_TEST) > + depends on DRM && PCI && (ARM64 || COMPILE_TEST) && MMU > select DRM_KMS_HELPER > select DRM_VRAM_HELPER > select DRM_TTM >