Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp88769rwd; Wed, 7 Jun 2023 20:02:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4DMrLn8ONLXFujHPrEvUXH5JKZtLB0kjsD4MEZc8yKIGjtj4EORzIWNqJDsqLZmGsfczf5 X-Received: by 2002:a9d:750a:0:b0:6af:9219:25ae with SMTP id r10-20020a9d750a000000b006af921925aemr7291497otk.11.1686193323543; Wed, 07 Jun 2023 20:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686193323; cv=none; d=google.com; s=arc-20160816; b=Zi50kSgczcKvIPTKbZHT+NnKc/pefdYaSUgRbOL+/dtnb2RNjb5H2DmGrEdjFgfYBD 4OCrzY9IUlVUpHWOwDHN3LDfaJfrQNUlg1mYDzAFXqM2fL0LI5vJExKTjKPVu3SXRQED OAbYpu5hI20/b78H2rA683XzDvLnzLduXjU7dydj3KGxCeOO+Ky5PRPNIxPhdTNwR9/q ttzta3KPV+S+zyWcoElWjxLErtUdRl6gvuKGKhupqhroewJHoV9/fK0/QamzP4oSubS3 dscYnjMVl5ODfZ1XaiVgCmiFpseEKGFr8E/mkhsgnqvIRx2IG39P03U9esNTJpfbfpsT snwQ== 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=QWgaXKfJ4uaCj7CoMskPgutGQBkZxQfsxlPCzu+A51M=; b=l42K02E5aDFa9avq+sAWzVVa3+5hj/uXoRMnmpEiwEXE0rHUiqKcjHeIIDhZxxD4zN UW+Ww57qov4l1zOuozGV5qYhXS8q1savsFGiZEoSDpr0VwqWpnLaprdDRbzOtlhQqvfT +AW5lsqy6LG3e2k5ZXW63MJcUpoVZgSA8EKlGy/bZRicTzbL7xve4J78lO/wgN3FOOgx 7rMK7LGvbbNq8yOODvUkc5vh5Gem05Ql5V1ob/SMS2fn1m3EejpMiLV5utkgTU/3pGa3 Be83FjgMvgCvIZzndgMItlzZOf/MLEsMrz+79xxY+7gEgv0wfbzpojECgpQ+QsdLqdLa a5Ig== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u189-20020a6385c6000000b005306389dbeesi239776pgd.612.2023.06.07.20.01.50; Wed, 07 Jun 2023 20:02:03 -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 S233604AbjFHCmP (ORCPT + 99 others); Wed, 7 Jun 2023 22:42:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231698AbjFHCmN (ORCPT ); Wed, 7 Jun 2023 22:42:13 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 85E631FFA for ; Wed, 7 Jun 2023 19:42:12 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8AxHusAQIFkpFQAAA--.1205S3; Thu, 08 Jun 2023 10:42:08 +0800 (CST) Received: from openarena.loongson.cn (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxVeT_P4FkcEsGAA--.20555S2; Thu, 08 Jun 2023 10:42:07 +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 v2] drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO Date: Thu, 8 Jun 2023 10:42:07 +0800 Message-Id: <20230608024207.581401-1-suijingfeng@loongson.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8DxVeT_P4FkcEsGAA--.20555S2 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj9xXoW7Xry8AF4DJryDAw45Zr1kJFc_yoWDCrc_Gw 4vvrnrGF43uryDKFy7AFWrZryYya18uFs7ZFnrt3s5K347Ar13Xaya9ry5Xr13W3WUuF4D AaykZFyjyrs7WosvyTuYvTs0mTUanT9S1TB71UUUUUDqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb28YFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_Jrv_JF1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6r4UJVWxJr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27w Aqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE 14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x 0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E 7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcV C0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF 04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07jYSoJUUUUU= 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 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..1df22a852a23 100644 --- a/drivers/gpu/drm/logicvc/Kconfig +++ b/drivers/gpu/drm/logicvc/Kconfig @@ -5,5 +5,7 @@ config DRM_LOGICVC select DRM_KMS_HELPER select DRM_KMS_DMA_HELPER select DRM_GEM_DMA_HELPER + select REGMAP + select REGMAP_MMIO help DRM display driver for the logiCVC programmable logic block from Xylon -- 2.25.1