Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7593638rwn; Wed, 14 Sep 2022 00:55:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR5M6/nN0k1K/D3IUPhQwR7aC20tTNZDcsxgNI4+dUVKFdvCqG1f1i3Hp6YfHV6v3Zk45aK4 X-Received: by 2002:a17:907:3e89:b0:779:4869:b799 with SMTP id hs9-20020a1709073e8900b007794869b799mr17586770ejc.91.1663142113287; Wed, 14 Sep 2022 00:55:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663142113; cv=none; d=google.com; s=arc-20160816; b=G7JJBYbhVRrZedu2bHJUIbehbuxRjNB60uEjWMlWgbwd+gJZW81xPSOiUtrqAotSNT BM3jXrdR9CGcUOPAVG8UFxldD8YdohJLoGHnMDslGMdN57celh5JG9xpI1YNCchVi7fV Mo5DGqUFGaUW7JbMeXYYPRyGIuaz9kfoOvVBN22fzCG7JXZnVzIRoX/ZAf+hWFzkXmXy OZWQDvQwlUMS7odqbIVXj67EbOvueMQUM1+ARzNxHZmEOcstgzpd7Wi78vKk5D9c5J0d uCSTNXN7QwiFgs+DzS8vpPwHxY8ZOq2l9WeU1H0waOQWl7TEwozJInxaFdt17Urvmbya Hu6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=sjwmhZjr9F1BkG7AcFfDCZj7k1FFtgwX6xqxFP1ezqA=; b=oZ4HhyLwfboYK4e2AtetwqJ4EsZK6Ik4C9uPvbISTelXYb6HsL/0q3onKQdB7s4QP9 E50JOJKFIwa/YRCBeF4dI05qFclrv0pXLF/sXD2jUJDKcdbkJqY5SNaSVxgCeDVgwhRy Z6ABF/w0xgzNwdhcCzdbesIsokBZRL4zTrge4v7D+QSeew2Xohb5EMio1RbpdFIf4MXv xVUfNB3T2KI29czub+KxJiLRc0F+gl39BVgfv1H4D5MZhwjLuEE7OA6hwGaHmrqtXMR0 jfzsuuGYbR/CM+LDAEe4Rbae3OY3EHQA8GG3WzbZkLE5GIXtxopZ/oPzUfEyL1R8vp+f ibjg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di5-20020a170906730500b0074171cca40bsi12532389ejc.962.2022.09.14.00.54.48; Wed, 14 Sep 2022 00:55:13 -0700 (PDT) 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; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230059AbiINGoM (ORCPT + 99 others); Wed, 14 Sep 2022 02:44:12 -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 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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 >