Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2572446rdb; Tue, 12 Sep 2023 06:12:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLzbiM2vxbqlkX9UHB5mc8SpT6PcgIIMzX1QfMoRKLN1jEmhc8mlD36WrDyf9SQXL2n9iu X-Received: by 2002:a05:6a20:9382:b0:155:5c28:ea6c with SMTP id x2-20020a056a20938200b001555c28ea6cmr5846896pzh.25.1694524321865; Tue, 12 Sep 2023 06:12:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694524321; cv=none; d=google.com; s=arc-20160816; b=NPeFYSmvfRZGtGbngTYQBr6HXhPPE7wMCA7UQzjVQxDobbzftieu7XqlaaeTanUtgs vDmgwmCNg2pmHz6t0qRyLpqGXqeGbOd+Lp5ZnnrkJ1z4BXoqDpCBzRx3lJhmQ1bef2ky 9gOLm/wiwBlKEApGasUXm9WoDnXxpCNRs+5/U2kVMZkWIsPQdomKL8Be14WB6piH9bZh 4849ypS6GErglMqBjGAOcMFKDsb4l9UGIcfXfTJZiNNxAIIBngwaWhAvHfr955SMeM+u qZ9+N6FuR13zIsdxNP3KNAC5IM+Xl5wgM4yS6ArreBe7lU/trIeVIiQsdSsxwEbYJrI2 YBgw== 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=KBYVlpWMITOsO8/eEhkKH02de2tgqvU0jkM3B7miSKo=; fh=D66+99SDcE7SGYs25p26P3qrdE1+T0dhkjoYNg5Nc7w=; b=epXW7XnkYapyTcKxbzDmZnblhcmnbMVEBDXhM+Oqre4YbxD/AdZHA1MEZ3KjhbIk6U MAeyI2U3BiSwY5Nq9r4cUgWDks5LiS0+mj4xMTMADIdlh+87bIJ0aZr1J69HHlZa61JN C0sg8Y5yjzovY1b1OoAGmQ+dVKMbVDn8OrXxjEElVGBgYvp+MfwazXeZpWy5lxflayex DY/T0y4DLjBCiCUZj4h7MKaMRuwQd6Ux0vHejwYHOEPzYvRt4hltiUe7l6rDjojlTIAh IQTBrV27MOSYbZFnLV7/dfDLRP+tGuGyYV4xYPA6YUoFQtTxgpof0joFqTc5aoe+b+co oNiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="WK4N/P7Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id s23-20020a056a00179700b0068a3c575900si8059817pfg.84.2023.09.12.06.11.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:12:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="WK4N/P7Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id A3675805D5F6; Mon, 11 Sep 2023 22:03:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230261AbjILFCw (ORCPT + 99 others); Tue, 12 Sep 2023 01:02:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230378AbjILFCf (ORCPT ); Tue, 12 Sep 2023 01:02:35 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 51AFE10E5 for ; Mon, 11 Sep 2023 22:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694494832; 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=KBYVlpWMITOsO8/eEhkKH02de2tgqvU0jkM3B7miSKo=; b=WK4N/P7ZEGwZvaC3fKCP/tSCHtQ5qMhUbOc6JzB9ds++r/+UslOxgtysJLwO4aVb2WjxaV 9BeBQKQ7ujqhEiwjDyV0OkHG36zC3FAKHUobAHU3HOYCytPFCWuREQBevnkWzvtEchkOhp YKIROjOMnpM8rMjImCCTd4jZfjxhKKE= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-680-EmCQ13QjMN-J5jAk1L8uaA-1; Tue, 12 Sep 2023 01:00:29 -0400 X-MC-Unique: EmCQ13QjMN-J5jAk1L8uaA-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-2f2981b8364so3431542f8f.1 for ; Mon, 11 Sep 2023 22:00:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694494828; x=1695099628; 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=KBYVlpWMITOsO8/eEhkKH02de2tgqvU0jkM3B7miSKo=; b=iqkD01u/z5vS3q5ZXb/VNfMxz2QGn6U0Bn68mT1TSu0gIm4riWiu9App/ipV8nLhP/ wQVngpEby8VC/I3WLA5TduEXTzDGFTnfmZcj5U7IQBKJhNaBuDzeKJo6tBXW89v5cdTd OMeBTw/UMdVEs5wbAVmEtlmbvlFMCp6dOaANcNQDs1/jjq3CanVCfl2Guu5dIiTbIYar djAmDjNebDctFedXZBlwCftl9oDh5G1qdKW9pxOUByVnNzNbIMTFL2orCKA/aOouxOzk yp1FnhjwwEL/Cmmh5XU/5e+Kq79Ddf7giLddCM7oeBUIOSgtAN1DZXn2T53Cbwx44WH5 kWUA== X-Gm-Message-State: AOJu0YwYkq/azG+14cbyZqsZrQ/1T5tc+G50Q6CTnIO7QRgKOXYRWxTl rvfGvggJ5TmHeRKfhdI86iIuVvfNZbFwq6PX4Tvxa14bXASZ69tMu8cqG7OD2yjonQnm3duGf56 ObYVkUAu6XAzUolB5+ttlXkakSUwtnSha X-Received: by 2002:adf:ee02:0:b0:314:ca7:f30b with SMTP id y2-20020adfee02000000b003140ca7f30bmr7820204wrn.54.1694494828507; Mon, 11 Sep 2023 22:00:28 -0700 (PDT) X-Received: by 2002:adf:ee02:0:b0:314:ca7:f30b with SMTP id y2-20020adfee02000000b003140ca7f30bmr7820186wrn.54.1694494828222; Mon, 11 Sep 2023 22:00:28 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id d6-20020adfef86000000b00317ddccb0d1sm11778844wro.24.2023.09.11.22.00.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 22:00:27 -0700 (PDT) From: Javier Martinez Canillas To: Arnd Bergmann , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Greg Kroah-Hartman , Helge Deller Cc: Arnd Bergmann , Geert Uytterhoeven , Christian =?utf-8?Q?K=C3=B6nig?= , Dave Airlie , Jim Cromie , Sam Ravnborg , Arthur Grillo , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: Re: [PATCH] drm: fix up fbdev Kconfig defaults In-Reply-To: <20230911205338.2385278-1-arnd@kernel.org> References: <20230911205338.2385278-1-arnd@kernel.org> Date: Tue, 12 Sep 2023 07:00:26 +0200 Message-ID: <87fs3k2dg5.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain 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 (lipwig.vger.email [0.0.0.0]); Mon, 11 Sep 2023 22:03:02 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 lipwig.vger.email Arnd Bergmann writes: Hello Arnd, > From: Arnd Bergmann > > As a result of the recent Kconfig reworks, the default settings for the > framebuffer interfaces changed in unexpected ways: > > Configurations that leave CONFIG_FB disabled but use DRM now get > DRM_FBDEV_EMULATION by default. This also turns on the deprecated /dev/fb > device nodes for machines that don't actually want it. > > In turn, configurations that previously had DRM_FBDEV_EMULATION enabled > now only get the /dev/fb front-end but not the more useful framebuffer > console, which is not selected any more. > > We had previously decided that any combination of the three frontends > (FB_DEVICE, FRAMEBUFFER_CONSOLE and LOGO) should be selectable, but the > new default settings mean that a lot of defconfig files would have to > get adapted. > > Change the defaults back to what they were in Linux 6.5: > > - Leave DRM_FBDEV_EMULATION turned off unless CONFIG_FB > is enabled. Previously this was a hard dependency but now the two are > independent. However, configurations that enable CONFIG_FB probably > also want to keep the emulation for DRM, while those without FB > presumably did that intentionally in the past. > > - Leave FB_DEVICE turned off for FB=n. Following the same > logic, the deprecated option should not automatically get enabled > here, most users that had FB turned off in the past do not want it, > even if they want the console > > - Turn the FRAMEBUFFER_CONSOLE option on if > DRM_FBDEV_EMULATION is set to avoid having to change defconfig > files that relied on it being selected unconditionally in the past. > This also makes sense since both LOGO and FB_DEVICE are now disabled > by default for builds without CONFIG_FB, but DRM_FBDEV_EMULATION > would make no sense if all three are disabled. > > Fixes: a5ae331edb02b ("drm: Drop select FRAMEBUFFER_CONSOLE for DRM_FBDEV_EMULATION") > Fixes: 701d2054fa317 ("fbdev: Make support for userspace interfaces configurable") > Reported-by: Geert Uytterhoeven > Signed-off-by: Arnd Bergmann > --- Thanks for fixing this and sorry that I missed the defaults changed. Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat