From patchwork Thu Jun 8 02:42:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sui Jingfeng X-Patchwork-Id: 104809 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7469vqr; Wed, 7 Jun 2023 20:04:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rBdvhDsp0alqaxiR5XgrBPmGrsfOeXOjtpjsbFKVUyqEK7Km/BptFEV23bK7Kut6LIjvC X-Received: by 2002:a05:6a00:3919:b0:64c:aa98:a69f with SMTP id fh25-20020a056a00391900b0064caa98a69fmr4321341pfb.1.1686193443202; Wed, 07 Jun 2023 20:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686193443; cv=none; d=google.com; s=arc-20160816; b=uSwOstTiTKrnhUUAN34um5J84GYGlINLUbkxaropf7Mq6W9mPVlKrJS+2pc8fmJJc+ 6RBXAdWV1o7q0Phw6cauIesnQJalI2m/JnBHlZ8cNRIQRxIbHIWcQReTUd2Kt6gnoRnj FFNINOaKBWR8d9CvkGztPHSuXEccmPvgPI7uELrVtlOCama+DeVDiaTf5KiAVhWUp3uQ 5l/XLbuwuYDlc8fgUypQetcQRrD+FxYkAlW58tGMyzeuiyVnpZEUuYrORulPQyi+jSzS ZPMRvbufa8lIlNLp8/RZpVYohYocOocmm+6EOnyafpQzL86zHA9iOAflPvtvc+vEcv4Q ZUhQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y16-20020aa79e10000000b0063b13efdd06si61746pfq.345.2023.06.07.20.03.51; Wed, 07 Jun 2023 20:04: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 S233608AbjFHCmQ (ORCPT + 99 others); Wed, 7 Jun 2023 22:42:16 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768101975968834395?= X-GMAIL-MSGID: =?utf-8?q?1768101975968834395?= 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 Acked-by: Paul Kocialkowski --- 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