Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp25822304rwd; Mon, 3 Jul 2023 01:16:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlG6Y6pLpWzJg3k8aLSOhyBEj3uaF6R+SpTKlOxk7Lkip52PVjoojY0nuvDtLhNrrpjBLYPn X-Received: by 2002:a0d:dd52:0:b0:57a:250:27ec with SMTP id g79-20020a0ddd52000000b0057a025027ecmr2157759ywe.32.1688372164026; Mon, 03 Jul 2023 01:16:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688372163; cv=none; d=google.com; s=arc-20160816; b=vrA0p7c1Ocp9zfDzC6oNWbIKF25FOS6qMAR6Mu5YrsdWxlBIwKwb8oRiDRkrmX1LUt GmnnlGQlKCzQVcccYdaVpLwGiayJQ2jD6lWuCk9KuYx7FuvZotpFsJtxWIpKwR8C0gWj 4Cf3sUNy9u0ObtBR8BTW815zHBpdpqI3Hzc00DBR9/niQFHnjSGWbFQhWUC8X5GQ9lpU 1MOKuWBRAAIIJxE9Lw4oI6Tf35rIIkEJUeIWtjHMR3m9ldSNcQwh+52RvN/BTcSJZTXS hZV/YB7TuV6Haqyp5Uwlhy0UcPh+AQygilMueCy28GO0tLh4dy+qKv07gDRpf+XgXluk ZMzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=SNgNGFs6FpSFYvjUbX6e2xS8On7P23RQ79WPke3buhU=; fh=N4HYj9oRMyaZimwOqbHXp4+0y3GOjQ0SaAqVNIylBRs=; b=ez0YJCRKENquIRAisBgTsS+k88nF8giP8K0Zv/R0kAYkDlRVJTjuBbp6hP3kfJyydQ s0lyCBeAcuJVaYXo/eRdn+BxPiBO8h70c/fJiEOUZvaqn0lCzLSC3lqQAVQXK44Oz2Fk 0S8ufrf5OI6DHiKAny+mWnWCeuUBDxQ3QlkKWX+8cfE2VvNBcMZCqqa8yV2XhzUzxJmt B7IlsEgBpvO+hJDQpXhy9YU4v/tgyuT8kh/LJxCktTOlBIC8AYZe8o5KKjxY1k0WX4iJ ChLlxp40XYQ683YE39WrNg622EEefVDwEe3IcV77GRr14enl2j/rny5/o3G/fsPkUV7i ilLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZXbOxYSo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a63f344000000b0053f212830aesi18152578pgj.311.2023.07.03.01.15.42; Mon, 03 Jul 2023 01:16: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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZXbOxYSo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229917AbjGCHrh (ORCPT + 99 others); Mon, 3 Jul 2023 03:47:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229581AbjGCHrf (ORCPT ); Mon, 3 Jul 2023 03:47:35 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43BE4C2 for ; Mon, 3 Jul 2023 00:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688370409; 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=SNgNGFs6FpSFYvjUbX6e2xS8On7P23RQ79WPke3buhU=; b=ZXbOxYSoe0iNriVFuapktpHaSF9UEpQIyIPRdjgnsE2ZDfjUDb6+HMoqBvToit0FbaU6LU gGqCgG6TwiaZ0Ehm1smCmaZV0sOQVJlFyuQHxQtrc2JLFmCKJxDIxRwoTWFK9IdVfJvykc 581Bv207wnUq6sVG6f0aXZlM+08D4FU= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-231-FZjxNufAMFqWSeij4mef1w-1; Mon, 03 Jul 2023 03:46:48 -0400 X-MC-Unique: FZjxNufAMFqWSeij4mef1w-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-3fbab56aac7so26035185e9.1 for ; Mon, 03 Jul 2023 00:46:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688370407; x=1690962407; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SNgNGFs6FpSFYvjUbX6e2xS8On7P23RQ79WPke3buhU=; b=cpbI6ZetYkSHH7N9cynrXlPI03krGGdUs9OHh42xX3tdGQhGCNTVO0t/pkRhVN+PGF xIN9ip5ZpwPv2FkM4Rl6JOjBA7MmdFqYRXIAcPxc1553u2XNZPSE6FlqcMPaUpSCs48N 8bxiT00Uc0zYG3J9MJgptBpw0/Enjit2GYFKce4O2KFKWOHitIjdFSvQ5fGKb99itfko Rl8C2sg0eOJk0AKsNfR6PhgH/ZegB+tU4UjDbAz9CS/Z/jnzl40uVYLww+p8IVZGGy1Z VSuiXNq6Spbg5DAGLWPzG75B/eXC0kWA2mJoMqcH1uNKwxa04Rl2XS319jP+5EwJPjcu Ckyw== X-Gm-Message-State: AC+VfDyLEPK4b+Ftm9w77646xDXFKNkGVdVajzZruvtl6OGcOWxNzx3+ 0PZZ+qD8xB9UxwqlZ4dqYT9vm5aTHRsv8ZcoTxxzSJHmopJfbD54LDfUhLbkqQSOcevTfMcIMkn sChCEmaPNnSq3lIHxiCgq3fFAtWS/d82q X-Received: by 2002:a1c:7918:0:b0:3fa:abd8:fcc4 with SMTP id l24-20020a1c7918000000b003faabd8fcc4mr8817041wme.35.1688370407016; Mon, 03 Jul 2023 00:46:47 -0700 (PDT) X-Received: by 2002:a1c:7918:0:b0:3fa:abd8:fcc4 with SMTP id l24-20020a1c7918000000b003faabd8fcc4mr8817014wme.35.1688370406654; Mon, 03 Jul 2023 00:46:46 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id m23-20020a7bca57000000b003fbc30825fbsm9505588wml.39.2023.07.03.00.46.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 00:46:46 -0700 (PDT) From: Javier Martinez Canillas To: Thomas Zimmermann , linux-kernel@vger.kernel.org Cc: x86@kernel.org, linux-fbdev@vger.kernel.org, Randy Dunlap , Arnd Bergmann , Greg Kroah-Hartman , Helge Deller , Dave Hansen , dri-devel@lists.freedesktop.org, Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Geert Uytterhoeven , Thomas Gleixner , Andy Shevchenko , Sam Ravnborg Subject: Re: [PATCH v2 1/2] fbdev: Split frame buffer support in FB and FB_CORE symbols In-Reply-To: References: <20230701214503.550549-1-javierm@redhat.com> <20230701214503.550549-2-javierm@redhat.com> Date: Mon, 03 Jul 2023 09:46:40 +0200 Message-ID: <873525e8tb.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, 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 Thomas Zimmermann writes: Hello Thomas, Thanks for your review. > Hi > > Am 01.07.23 um 23:44 schrieb Javier Martinez Canillas: [...] >> >> +menuconfig FB_CORE >> + tristate "Core support for frame buffer devices" > > With the text, this is visible; as others noted. > Yes, I misremembered what made a Kconfig symbol non-visible, and thought that was just the lack of a help section but forgot to remove the prompt. This is already fixed in v3. >> + >> menuconfig FB >> - tristate "Support for frame buffer devices" >> + tristate "Support for frame buffer device drivers" > > Just keep the text as-is. > I disagree. Because we are slightly changing the Kconfig symbol semantics here, for instance CONFIG_FB_CORE + CONFIG_DRM_FBDEV_EMULATION will also provide a frame buffer device (and with CONFIG_FB_DEVICE, will be exposed to user-space as a /dev/fb? device). So now CONFIG_FB is really about allowing the native fbdev drivers to be enabled. That's why I'm changing the prompt text to make that more clear. [...] >> config FB_DEVICE >> bool "Provide legacy /dev/fb* device" >> - depends on FB >> + select FB_CORE > > This should depend on FB_CORE. > Yes, already fixed in v3 too. I did a select to prevent symbol circular dependencies but doing that lead to CONFIG_FB_CORE=y even if CONFIG_DRM was set as a module. But with the "select FB_CORE if DRM_FBDEV_EMULATION" in the DRM symbol as Arnd suggested, I was able to have FB_DEVICE to depend on FB_CORE again. > Best regards > Thomas > -- Best regards, Javier Martinez Canillas Core Platforms Red Hat