Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7238486rwd; Mon, 19 Jun 2023 21:12:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ75FFcg+pxsHnx3EU1IMD4tcW53+2iQKtdgVYyjxz0f9QQjVHiKbnfZ7dXnpLcn3FhKisj1 X-Received: by 2002:aca:1108:0:b0:3a0:38c2:2654 with SMTP id 8-20020aca1108000000b003a038c22654mr648542oir.58.1687234357186; Mon, 19 Jun 2023 21:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687234357; cv=none; d=google.com; s=arc-20160816; b=OX8SS96nxY6LcLCBOhC8hZuiB5Rw6jdDIUi+G7pHJpDFDSCKRmtIKQan7bd6qJJM73 nw3rUMdEUV9i7LAAqsG8M61jwldnSJyDSwXBvtjdcDS/LtOYYiQHoQjvcfiyC3W1Ehfr V1jA0G2OlvibZf7W70frd4yFvuE7VlThh2HGrQo/Pi0RWbzgbtWzApSxHCT0/9Li8kNR X0Dfv+QgitpPfdX2o1qHevAuJN+h7/kSsA7qXZY2u8tphr5M/4nHZWLUUCrg/5tJLW1Y zIuXvpO2E9fg5drpHzTDYfXi5sAuZVc38mBi6lkg22gf+FS+q3b+3AEC8VaaBrtM2vJG TnNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id; bh=frF52ijbFCXJWG5hWHX8ocswS3FvBfZ0fhEBT9cZj78=; b=BO3gNQjtYADPwkWxOsZ6RltqGWAcIECetkwmOXp+ZEgOAI9djm3JiJie49IprA41xZ EhzjZIglH3nfrEx/90KIuhi1FghW7tdyXTkscQHTxK7Jn/hd4RgTcJ7fvu99PQZ2fxAs 6VUxO4LWxxtZw2hoH3CnCQNdBZ0mNtea3fBiWQVJVT+YixiKl/Jfnj5Qp6mMhIfYHY5+ 6pqdDJhA8S+AbZjSm6Vi8pA/yWbPWM82hN5sjVPda0zuhnOgjRcwOQDM6QmR2SFPxh24 he6xZqri8+xOd4lJREv99sgv6KWZ8uLpvd2JwMwKcuVZRaRCBYS/bZM8gxdMzFgzK3/5 +mfw== 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 m17-20020a170902db1100b001ab1d1a6802si1199260plx.1.2023.06.19.21.12.24; Mon, 19 Jun 2023 21:12:37 -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 S230301AbjFTD4t (ORCPT + 99 others); Mon, 19 Jun 2023 23:56:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230285AbjFTD4s (ORCPT ); Mon, 19 Jun 2023 23:56:48 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 28EBD1A7 for ; Mon, 19 Jun 2023 20:56:44 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8Bx4Oh8I5FkbwoHAA--.12633S3; Tue, 20 Jun 2023 11:56:44 +0800 (CST) Received: from [10.20.42.43] (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8AxauV7I5FkciwhAA--.27771S3; Tue, 20 Jun 2023 11:56:43 +0800 (CST) Message-ID: <50fbc003-fd3c-c7c4-9c6b-76d14a0babfc@loongson.cn> Date: Tue, 20 Jun 2023 11:56:43 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2] drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO Content-Language: en-US To: Paul Kocialkowski Cc: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20230608024207.581401-1-suijingfeng@loongson.cn> From: Sui Jingfeng Organization: Loongson In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: AQAAf8AxauV7I5FkciwhAA--.27771S3 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj93XoW7ZF1kZryDZr18GF1xur13Jrc_yoW8Xr43pF W8ta4jyF4IvFWakF1IyF1aqFy5X3Z5GrWa9Fy2k3Z8u3s8CF1DZr93ZrWYgFy5XrZrAF4x t3Z3Ka45GF47CacCm3ZEXasCq-sJn29KB7ZKAUJUUUU5529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUvIb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK xVW8Jr0_Cr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx 1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1Y6r17McIj6I8E87Iv 67AKxVW8JVWxJwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lc7I2V7IY0VAS07 AlzVAYIcxG8wCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02 F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw 1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7Cj xVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r 4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07jY SoJUUUUU= X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 Hi, On 2023/6/8 15:15, Paul Kocialkowski wrote: > Hi, > > On Thu 08 Jun 23, 10:42, Sui Jingfeng wrote: >> 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 > Thanks for the fix, looks good to me! > > Acked-by: Paul Kocialkowski Thanks a lot, Please don't forget to push this to drm-misc or drm-tip if you has the time, as (even though trivial) it's precious for me. > Cheers, > > Paul > >> --- >> 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 >> -- Jingfeng