Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp743943pxb; Wed, 27 Oct 2021 11:31:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVNhRxx3Fn8vxbQon6t9vgxxaPzWqAZqG2/TPbj0Et+dQzmxc/q5UzSsKXOz/pkh7vtwaW X-Received: by 2002:a17:906:7d09:: with SMTP id u9mr41641696ejo.120.1635359486733; Wed, 27 Oct 2021 11:31:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635359486; cv=none; d=google.com; s=arc-20160816; b=vaNRKip8uhD3oraWSIgMfsc62XH7knOUNX7pacUadEFcMXnmaTpI2HJGX7Abk/dTf5 7U6pz0rFRjB6M+HUl5HWgqIxhb2+O/ySzAjuGgZe7P+CCW7SBKquYPY6aIIHa53xJFZ7 Hl5xvbOltvFsADwj9ARyExZBs0eTIIeXWy9e8BelETMk2wYNsxVRV1Zm0JcsxFjrKe/v n5VLRr6ORGq+B2NRmKcVY308tb9lRpmzVrERjeIDKDDx9e+bJ+cA10cRyNkU1i+TSZVU dEFYyIrWHeI7sfG7sc/NWYt/auZM8u2z6lQpb1S/dseLqO1Fsm/VWkJveoY5+mqlnowL nhyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=TYpfTGqdsTqR5ZmMgiY4RN3Co+/Yz7EGB49O/09xGOs=; b=gOO6JG6dwpXRzUjhr7YB2le6APTwxCy1A6AurYu29SIwAKoVYLfZVQVE8nuMOq8ynH zzeGhT+3WYSRIH9g3utMVhA3qA3f8k6plo5rjJHf2FcLY0SQxFSKIgz80RewnKSgm1gW D8B4C/dpShRLHwxEEJR0SVYSEL+Otma+5evMNkTWElke6TUjvllEOxLf3bH+tKLfHP/s zhEohNvyo/dPGvDEafyCgaw1Dh3A/l3eUBleStI+hyVyfTOphUvx8mPlPPw6ZSAJJ/Gh jd+txMa0JuySDrOK02+V4mSLEVbDnOkpsODZB07gdd4W/6XuB3bGNe6jtl8F6DiejAb6 X8OQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hz3si913102ejc.685.2021.10.27.11.31.02; Wed, 27 Oct 2021 11:31:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236872AbhJ0Gxj (ORCPT + 99 others); Wed, 27 Oct 2021 02:53:39 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:36333 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240140AbhJ0GxY (ORCPT ); Wed, 27 Oct 2021 02:53:24 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]) by mrelayeu.kundenserver.de (mreue108 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MStGi-1mEZiQ1TSw-00UIcP; Wed, 27 Oct 2021 08:50:56 +0200 Received: by mail-wm1-f41.google.com with SMTP id g141so1576033wmg.4; Tue, 26 Oct 2021 23:50:56 -0700 (PDT) X-Gm-Message-State: AOAM5315sX8q8D0bHqOZ8lCutvb8TNIda2OzDQfEskx5d8/aXt0wav5N 2NdCEKSPKBfzjJ0JoOunFucPI6xp3FogYTXyw0g= X-Received: by 2002:a1c:4489:: with SMTP id r131mr3881742wma.1.1635317455940; Tue, 26 Oct 2021 23:50:55 -0700 (PDT) MIME-Version: 1.0 References: <857ab1a9-0175-2b2c-e729-2620d0221e1e@suse.de> <6862b109-ea12-6ffa-c82b-b23ee26aa5b2@infradead.org> <61f14f2b-b1cd-b9df-86fd-8fcc4b9eb738@infradead.org> In-Reply-To: <61f14f2b-b1cd-b9df-86fd-8fcc4b9eb738@infradead.org> From: Arnd Bergmann Date: Wed, 27 Oct 2021 08:50:39 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: gpu: drm_fb_cma_helper.c:46: undefined reference to `drm_gem_fb_get_obj' To: Randy Dunlap Cc: Arnd Bergmann , Thomas Zimmermann , Naresh Kamboju , dri-devel , open list , Linux-Next Mailing List , Linux ARM , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , Andrey Konovalov , Stephen Rothwell , Alexandre Belloni , Linus Walleij Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:/wdbqaMbaUcedLStwdVAa3E1EvLdti19efzyYeksAGXDzXnervI skvUWmQlv01v7AWJ/l7LpaBUgnJEX94qNebKoEjA1LB6KySFhq8ScnGFy5X8mIJpepfWr3K mTBRO/RXdkmhiJC6EjUnkam6E58YDw/UJ2miS8t9EMMnQyUZ7wVTSOW8GRcwoq2qnSkkQVp Q9IVvmvqvric2g3FMzhpg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:30n36qi69is=:uk8MoqmQEakoULKV6TvFWu K5HVJa8Ppyse5qrhXEQLxzwFxFLR4qFSj32sD2+L9alRfKKQvFk2Nw8pF8gTtFKEpScqBuUEi agnPHD/Lhgc7cNXcKxbFlBcSFExPUgx6rMaxbFi1loiKl68Z/Nc6wirPxopeKkRaqPA2qmOik Tj+ChavjDS/fma42zak1quzKmyTiaRFylfY0yWBBrHciwJT7vuHIf0LNPYR2gKvIdTfk8zRNz Sp5/ZuoY4DNLPDfwBQVEH9LN0L9ggeE0pzpTG4kKSqozC13jaUgQ9kKKrT/hyR9wSoYite4Kc gM36kE/Nwl6PfRejqAp3lNyvp4RgEmZDa9VJjTZLPgJM/Qw2PvDE83w3IF4JfbPlEqpuyPEFX EXnTBTgYtJuNMAUGrTfVg0SAaJaEF9JH26/HTtwSjwLLy3qD33BcmOAy7CXMhgFkjwnX+VqXf EdQHMsimgKGeSRDP1fBrB1vZz+86s0ZRTjngJsaYSdm/U925tuNVZJ8cWjo9gYqO3sQ2I1o49 6b+l8suqIcpOUS+MRHgYWQHFPXp+njJukzI/EkpayB/lJ1vqOK1nxQb0VFWbFN8/urvC8KM7L f5/Kvy0GMPS3/tSgJ5MOG5S0eIYrZRWV4PxYvwrdLG1Fqml6kHU/zU9EuVFhGfYmogLe889Ki Aq+fpjyDHpnmbgDIllGCW385zusiwww3JDeRe8WfbnYXLjSw8MtwMpUX+8+35iS90EeRCJa+j gDGIuXj/JjjAPXQE27lA7mmgdly/cvkzOEt0ely4ow7L2SbhcCqoA98Lt1/7jKE2JmL0ntHFo uyS7dQqUHCNriTEbydbPU+nD1AUXNZq9I/sJJTgRACgzsNstOU= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 27, 2021 at 8:26 AM Randy Dunlap wrote: > On 10/26/21 11:19 PM, Arnd Bergmann wrote: > > On Wed, Oct 27, 2021 at 2:58 AM Randy Dunlap wrote: > > This trivial change makes it all build: > > > > diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig > > index c08860db2520..699f434ce813 100644 > > --- a/drivers/gpu/drm/Kconfig > > +++ b/drivers/gpu/drm/Kconfig > > @@ -218,7 +218,7 @@ config DRM_GEM_CMA_HELPER > > Choose this if you need the GEM CMA helper functions > > > > config > > - bool > > + tristate > > depends on DRM > > select DRM_GEM_CMA_HELPER > > help > > > > but this needs some more testing to make sure it doesn't add > > any other regressions. > > > > Interestingly, I never hit the problem in randconfig testing since > > there is always some '=y' driver that selects DRM_KMS_HELPER. > > Thomas had posted a patch that also fixes the problem. > Somehow I missed seeing that the first time around. Ah right, I missed that as well. That patch seems reasonable to me, but I think we may want both of them in this case, as it does not address DRM_GEM_CMA_HELPER being set to =y when it is only used from modules. Arnd