From patchwork Tue Jun 6 16:37:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sui Jingfeng X-Patchwork-Id: 103995 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3541872vqr; Tue, 6 Jun 2023 10:04:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ60IcYrvTW2fukGv9d4nrM72mCraGQ+PkpcOajzukJY9mByJiKl+WY4NeJWT2ywYHGyo0xX X-Received: by 2002:a05:6359:63b0:b0:129:d242:f782 with SMTP id sg48-20020a05635963b000b00129d242f782mr458580rwb.0.1686071053757; Tue, 06 Jun 2023 10:04:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686071053; cv=none; d=google.com; s=arc-20160816; b=FEPz7xAQFSHe1mY7ee+HxYIJFouuH/zrEWH1d2H2ChxM+RD6iPc0+ffJMzTnMAiJiT LbMHAvUC5MHWlGzQQ9Mv7DGBwd5OK/YQMb12ttZPsgdvgsL+aaL9nMcGN18G/+zEi8S/ /fcfQ0+25eJ53ToIRUadg99MbEBru9oMUhcOZGpzfUvcZI/WEs3oCxHC/eVGrXdqAcMp 49HqD6XsCYxNF45U29YnrGXii5G9riJ7YJ/0BLJB/HQpYD4jcBXG4tD8YkU1JuTWOPgV 8UHNcMJ8C7+E50JfmktbJMd6xparWLfGJnqnohFS1AOxf9VNtmlmBFp/YzAwtqCDWiM6 Yaig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=SyGrjcEECaS5YOxEelp2ehC9jYwCw5ro4gr1R6rWI4E=; b=SulEUVJvhZxAGYM6fBlP7TDFMnfOXHXVHKsYqSk2HuRGYalWQUO64GC/HOMwu8Wc19 TZBzz8A5k92jISiVRabVN+1XEoTRfXMRwU4Xn2TI8h6Rmd0OmXsvd3wbPpAwFwDCDD7o c6YzIZqvXnoekgQ05twtqE92pdJwTMzC+5n647dQ3JwzT9AdmBAHhQ2C3jpu/0a5eNtJ pzc6ZEXZUHPrPmmZPe23R0fiI0XcCBxySRv/9wcomMZC3bWdW6l05FKvu5nu/plUS+4l FoA6IzEloSZvnDriLAL6LfT1llSw9zmuB4Fd+VqF1yzsLexkL18u79h64q4eodZ3zujH UERA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pm11-20020a17090b3c4b00b00256078a4c6bsi9485745pjb.78.2023.06.06.10.03.59; Tue, 06 Jun 2023 10:04: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238114AbjFFQiD (ORCPT + 99 others); Tue, 6 Jun 2023 12:38:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233462AbjFFQiB (ORCPT ); Tue, 6 Jun 2023 12:38:01 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8812D10C2 for ; Tue, 6 Jun 2023 09:37:59 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8AxmOndYH9kskMAAA--.278S3; Wed, 07 Jun 2023 00:37:49 +0800 (CST) Received: from openarena.loongson.cn (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Ax6OTdYH9kkb0CAA--.11157S2; Wed, 07 Jun 2023 00:37:49 +0800 (CST) From: Sui Jingfeng To: Paul Kocialkowski , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO Date: Wed, 7 Jun 2023 00:37:49 +0800 Message-Id: <20230606163749.291348-1-suijingfeng@loongson.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8Ax6OTdYH9kkb0CAA--.11157S2 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj9xXoW7Xry8AF4DJryDAw45Zr1kJFc_yoWDAFb_Ww 4qvrnrGF43uryDtFy7AFWrZ34Yyayj9Fs7Z3Zrt3sag347ArnxXa4a9Fy5XF13W3WUZFyq yaykZryYyr1kKosvyTuYvTs0mTUanT9S1TB71UUUUUJqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUbVkYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_JrI_Jryl8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV WUJVW8JwA2z4x0Y4vEx4A2jsIE14v26r1j6r4UM28EF7xvwVC2z280aVCY1x0267AKxVWU JVW8JwAaw2AFwI0_Jrv_JF1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa02 0Ex4CE44I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1l Yx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrw CF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C267AKxVWUXVWU AwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1V AFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xII jxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4 A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI 43ZEXa7IU8fsqJUUUUU== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767973641297798826?= X-GMAIL-MSGID: =?utf-8?q?1767973641297798826?= drm/logicvc driver is depend on REGMAP and REGMAP_MMIO, should select this two kconfig option, otherwise the driver failed to compile on platform without REGMAP_MMIO selected: ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicvc/logicvc-drm.ko] undefined! make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 make: *** [Makefile:1978: modpost] Error 2 Signed-off-by: Sui Jingfeng --- drivers/gpu/drm/logicvc/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/logicvc/Kconfig b/drivers/gpu/drm/logicvc/Kconfig index fa7a88368809..25325f4c0a9d 100644 --- a/drivers/gpu/drm/logicvc/Kconfig +++ b/drivers/gpu/drm/logicvc/Kconfig @@ -2,6 +2,8 @@ config DRM_LOGICVC tristate "LogiCVC DRM" depends on DRM depends on OF || COMPILE_TEST + select REGMAP + select REGMAP_MMIO select DRM_KMS_HELPER select DRM_KMS_DMA_HELPER select DRM_GEM_DMA_HELPER