Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2450566rda; Wed, 25 Oct 2023 03:12:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFXDbZknyqnJSZgamjsCMYAMf3XyVTDDLcwyZ2WIB8Mip5Br5Eczio8CTqRj5jS/pYwdtDb X-Received: by 2002:a05:6902:188f:b0:d9a:bddd:f714 with SMTP id cj15-20020a056902188f00b00d9abdddf714mr18498050ybb.9.1698228739916; Wed, 25 Oct 2023 03:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698228739; cv=none; d=google.com; s=arc-20160816; b=s50nvqnI+EI/9L4JT+QJrZIND1zKiRXHla3nGq41VPTSWBG+oZ9dK2JrbfsxzJ6IkB z2na5ylnIa+csTT+GrB3QJ391J/FJSQx/ZLj4tcMayHxo5+Jbpx+5OZWQlvayZ3EBh8V I7ND6Nk+iGuPjTi71z0NsL+stse9VU+cP7dW3DN4+D4cx52ERX0spBoOOS+kRLFeSuCu iE72qBHsfip/AxN2Ulqx2OxLvmzrB1KLO13wPQfmPwitcVu+kqGxbRP3ukf7uZaiJtHm nfffF/XlpIu8VGoyCLUnspSDISYO/bwETeu71qzbqguIupSdxEGvxAJbJGgLeHlPUdAX y/Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jMgzyZYNsSoPrwlsfPulfu89a5fDVLfcw7ByX5WjeTo=; fh=Ks0I30Ga/ysljugTCG/Kr1E/mrGYxKK6ysXCvo1xoWw=; b=UJxH6QpORX4ZfqHJTPkzE75QSszEM3y7SRtbghIHsxaP6gI7LBK7hRWatXp+0lg9Xi DAmi7J6V+KTBFJhqPh/azNtRGL6weBp9VEDfNYOEXATX8Y7mrabFvgw+ioeUg85SwyXY LJSV13OLohA1oMEzJzBO0oV14lvE1EbNOpTX9L3r6SYfXVl4ZER86TsIZOqd/zp1PqVw t7dWTt8xOZBZvv3S2IBfPSSpFgrl5E+uyBhNRCNkbMtV+P6Dr/jJTS+AY1WN3TFPpeSB qjBmLISmilXkOKqIWe5sGHJF5pxfbeaUUpMP+6P1U31p1nAB9wbfp5Hq6B4dFO1mmRDZ 777Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ddT6BDRR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id p144-20020a25d896000000b00d9adecded1bsi10398302ybg.627.2023.10.25.03.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 03:12:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ddT6BDRR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 135A580B79E8; Wed, 25 Oct 2023 03:12:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234026AbjJYKMF (ORCPT + 99 others); Wed, 25 Oct 2023 06:12:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232082AbjJYKMD (ORCPT ); Wed, 25 Oct 2023 06:12:03 -0400 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C254DD for ; Wed, 25 Oct 2023 03:11:58 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 2A37F20008; Wed, 25 Oct 2023 10:11:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1698228716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jMgzyZYNsSoPrwlsfPulfu89a5fDVLfcw7ByX5WjeTo=; b=ddT6BDRR9O7epnBawoXXQ8dPgmHv24ToL0cgK8xuNm0EhnMN8LW8Evwdc9RCyNyIFyGZYL X/w7FYx5V3wCLGtxZSB0jtPtCapnSpYFVAEybX7yJrA39Mt0pcjoXOoRCy/nvCaAibSVYN /30pYO0xrmP1Ox5TwOawuSlun9zJm+0kZmJUHWM0jsmPGBkOdSuBppCyubzAAWiPt79I2V RTyw2eIGYeAq1xJcBdtdRt0LE/z9K7ZT/R4jwQH9f43QJp3bjRQIJolyY5rzLiPKIc1Vfj gR5UhTv3bQJdfS91Br+he1NDv4BT8lKm6yAz64QERZcqNhTWo8f4scGALGl5rw== Date: Wed, 25 Oct 2023 12:11:55 +0200 From: Paul Kocialkowski To: Sui Jingfeng Cc: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO Message-ID: References: <20230608024207.581401-1-suijingfeng@loongson.cn> <50fbc003-fd3c-c7c4-9c6b-76d14a0babfc@loongson.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XXhJRH2iPVVMBxvn" Content-Disposition: inline In-Reply-To: <50fbc003-fd3c-c7c4-9c6b-76d14a0babfc@loongson.cn> X-GND-Sasl: paul.kocialkowski@bootlin.com X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 25 Oct 2023 03:12:17 -0700 (PDT) --XXhJRH2iPVVMBxvn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue 20 Jun 23, 11:56, Sui Jingfeng wrote: > Hi, >=20 > On 2023/6/8 15:15, Paul Kocialkowski wrote: > > Hi, > >=20 > > 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: > > >=20 > > > ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicv= c/logicvc-drm.ko] undefined! > > > make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 > > > make: *** [Makefile:1978: modpost] Error 2 > > >=20 > > > Signed-off-by: Sui Jingfeng > > Thanks for the fix, looks good to me! > >=20 > > Acked-by: Paul Kocialkowski >=20 > Thanks a lot, >=20 > Please don't forget to push this to drm-misc or drm-tip if you has the ti= me, > as (even though trivial) it's precious for me. So I totally forgot about this and only pushed it to drm-misc-fixes now. Sincere apologies for this. Thanks again for spotting this issue and submitting the fix. Paul >=20 >=20 > > Cheers, > >=20 > > Paul > >=20 > > > --- > > > drivers/gpu/drm/logicvc/Kconfig | 2 ++ > > > 1 file changed, 2 insertions(+) > > >=20 > > > diff --git a/drivers/gpu/drm/logicvc/Kconfig b/drivers/gpu/drm/logicv= c/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 > > > --=20 > > > 2.25.1 > > >=20 > --=20 > Jingfeng >=20 --=20 Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com --XXhJRH2iPVVMBxvn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEJZpWjZeIetVBefti3cLmz3+fv9EFAmU46esACgkQ3cLmz3+f v9EH4gf/VK82kGc+gRu4ZBrSXUXxeldKDvts/KckGQ3xfUFQ76tKkHrR56m40o27 TxykXP+jx3dTssP2hl89LmWVGdpTml8xE7raVAsat3HoVoXz56hEffNIUVxwRjzJ V9NuRUjaYK9VIuxC55XNAFVPTnKkYNFAdIc7I8YfjJIRQkNdbFW6IuA2rcmyp+ir zgZJ7Kfw3tG2TGIKGCoVAIwlU7mfMSTSzNjAsl/sH82QRaVAGaIDo9FTpfv3z15/ c9DH6C97RPl6jh3cMulCbSuc6Q63kudr5SnDsQXyDpGw++QzaAl+r4OjwQCl7F5M n6iaNFoVMEH085TZ4SPwba0I2ZqkDA== =GJ09 -----END PGP SIGNATURE----- --XXhJRH2iPVVMBxvn--