Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3032310rwa; Mon, 22 Aug 2022 19:44:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR5V97QNEjgpvUr4Vl7oNEUv0A7uhBi5Rvo50APTaNeCPPjQY0Zj0FBCBUxD5w0PVqRmDGPF X-Received: by 2002:a63:1857:0:b0:41c:4217:426e with SMTP id 23-20020a631857000000b0041c4217426emr18950028pgy.285.1661222667879; Mon, 22 Aug 2022 19:44:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661222667; cv=none; d=google.com; s=arc-20160816; b=AHkLj7+lMFzsRwY9n+46sYWSxS+Z6rS8sGY1vn3mA4a8zy63OxHO+yjqqeLGDRpxjR 2bmElKKS8RRdxMu4nqiCYJWWZpMFAobXHVpkSjAGZDb14aLnuulQjxn1sVUOo8W2Zp4e BuqcsL6WiUylkjGaZvMp7lPJ5xbqm7B5UdYuGxmGeoNSJnV9t1mIUMDmuLdW/t+ACvAI O5/ik4WILm7SQpqzh0gmHbrC1RgpubSt0j0Yjw7yw8FtYq0jUkUUG32ddqp/cLuaYtlz DDGnTLwIuYA7oDrSxmFscqpgmRrr57DtFiZP60PJ8IDUQgPy0VzGrfQvvRZWEUXHol6P t/Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=CREl6/qcs3RMbxRZfzLlnW4D0i29zBJZYO4mkSkI30E=; b=lcn910dKHOeQsvmETUmwoZXK8aXUGeoPBT2xaG7RrMYSqswzgjr7AalqdyldASvuTy JudI6Gw9kbhHZ3FkrGziSnKZ3hWYokMHBzRjC7i1ZaGgVeJzmLW6DTXGjyyna6xVDnYD VB1zSiFBqPG9L4iT3Puej6IPg2KL/5Wawuftw4e2qfRwnBIRWcMQTzuJ2W6dR8llUm/x iFYxJNfejbgVNtdIybyQJliVZQLVKqFTk5m5lIrhCNQ9SRcsmKPcbLvQJpgbNjlPSBlC FzldGefu7B2kBN09vkoSRB6Or6uN+rl6biD8NXKBBVT/Fs7XCV9YJs6BVxwUoMHPbfei jZTA== 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 y18-20020a634952000000b0041b72fda9b5si14647165pgk.311.2022.08.22.19.44.16; Mon, 22 Aug 2022 19:44:27 -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 S239423AbiHWCPv (ORCPT + 99 others); Mon, 22 Aug 2022 22:15:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239583AbiHWCPr (ORCPT ); Mon, 22 Aug 2022 22:15:47 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AA415142F for ; Mon, 22 Aug 2022 19:15:46 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4MBXpk0m6qzGphy; Tue, 23 Aug 2022 10:14:06 +0800 (CST) Received: from localhost (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.24; Tue, 23 Aug 2022 10:15:44 +0800 From: YueHaibing To: , , , , , , , , CC: , , YueHaibing Subject: [PATCH -next] drm/hisilicon/hibmc: Fix COMPILE_TEST building without MMU Date: Tue, 23 Aug 2022 10:09:20 +0800 Message-ID: <20220823020920.11008-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain 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.2 required=5.0 tests=BAYES_00,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 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 -- 2.17.1