Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp146864rdb; Mon, 18 Sep 2023 10:32:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESF9rBpI7nNvDHPVnnqgxuv3IMt4PIekI9/X0WoYiVhRCjdrbEUyCgeMK9nLA1CfHpwkjU X-Received: by 2002:a17:902:d2d0:b0:1b2:676d:1143 with SMTP id n16-20020a170902d2d000b001b2676d1143mr403004plc.15.1695058324784; Mon, 18 Sep 2023 10:32:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695058324; cv=none; d=google.com; s=arc-20160816; b=BZ1YjtwpuR1AoO3CHeRVpSWGojSt+O5ZI/Jbu9ItoI8tcieb9i5S/c9VJ2Tqe8Ehad 7+VM/mA5Lt1G4GC3kBTQ1uadzryNbYey2Q9sp6shAd1LE6LLQtyh88AqgwuJf5WYGugR PyvFtE2ItkJDFbQ2F/4l7R7nlrom9NqUNcf/Hx3BJVCz23UIUDKiwHO1JERxrC5rrH3H CXf6OW7quqnxn8kZMIdT1oQkznnn2roMrbHACT2GXbPT3KHBYq1Fx/bS89ogl2Ockh3A zzqoNuwWBg8HOFPNTV5CdKey14mQC1Wx+fXFmRK/CUPU01wX0V6zWlkcvBAaMwqdrgNh eOtg== 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=qyKdzQXW09x6MEXHXxxG+nlHUmD9Upbh0B3MwI8uyUs=; fh=GFACn7AAuyP0Z4dxYJwQkwOeYrP5B2bTEA2mFXGgEgI=; b=kUHY/ZKdHh85UjYwtiAVvRq7x424iSUr620SFU8dKeO2NERBMSO9e4gXzPcQtETS4l QHS/in7BdBMTP8h/tov/s1I5AnwgXwWCg62V+vL8aZqvmCEf9bwb8sAAIYzx8uy+6Y8v lYAKu9yRlz903Jfx3D3ZoJrNoaPSkHB5CHCfcNGhhGMWNtmPCG+2lpG0KuyolD8kPzIQ jzyuciyOWuAheEL6i6q1M7KecMGAbg+01eAOYcfW70NpdWfo6/DBYs3frvPCEDrqnxJM t3o38BHr2Hf2w7jvxVAt+98eEACGkebghkS46UKs2MyNeb/boCHu9cVAT7kGh8h0igi2 4cDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gqj4Ucap; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id b12-20020a170902650c00b001c3f601b6besi8022652plk.642.2023.09.18.10.31.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 10:32:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gqj4Ucap; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 4E227808A911; Mon, 18 Sep 2023 01:59:43 -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 S240776AbjIRI7I (ORCPT + 99 others); Mon, 18 Sep 2023 04:59:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240837AbjIRI6n (ORCPT ); Mon, 18 Sep 2023 04:58:43 -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 ESMTPS id E606ED1 for ; Mon, 18 Sep 2023 01:57:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695027473; 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=qyKdzQXW09x6MEXHXxxG+nlHUmD9Upbh0B3MwI8uyUs=; b=gqj4UcapYRKRIkriOfuYcwYUgh0UFApr/r4CClt2gQrmK+isSZBU3Ke069dYmHIxeA+Rlz TYnJYBt0Fy+Hsx1eIrRd46pILjxdKKOCeJJRgzO1Im7ZsCj1ccV1k8kFVeH8qbH7WTe6UN 6ib79gvIrqnV8kylNKU10frxFnH63Uk= 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-524-2eZDmO-FMwmdNsyHYlAofg-1; Mon, 18 Sep 2023 04:57:48 -0400 X-MC-Unique: 2eZDmO-FMwmdNsyHYlAofg-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-32006e08483so949859f8f.0 for ; Mon, 18 Sep 2023 01:57:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695027467; x=1695632267; 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=qyKdzQXW09x6MEXHXxxG+nlHUmD9Upbh0B3MwI8uyUs=; b=KNN2DXJMr/WR5psWP0N8zGRFLlSBAo+TdT+eXkxI0yc2dgLi1x0X2qXgpaQo1PpVgD 0HR8VJoBbq1+adzyoOz0d/2KsSCyV7O5BUZ+W7PFV32Pl0mNDPBfcJg3pRw1s2GJoiXw 401xhQEUcpeCuJuVAbuONf9FlxGgS9dULN+cm2/pSPQXM66BZ2daQHlk1sXKXskrYw5o QrM57nnAh85w7nFN81LRN/OyUlwLkpdsYbskogkkIYBBD7FVaSdJ10589pxLGZknpe9t bvkxBBcE7hzaLGt835nbFo2QzYJCMXocC9Vhzpmo/sQqeWlJupWOBhPEfhhqXH5wAsV8 eApg== X-Gm-Message-State: AOJu0YyQfJfIi9n4+1zgX8UIP/gnI+mShsezW3pWadhgOU77dIgsYNcW xNP2wjl5pcpwVSOqfKXsedjezzqYkmlF2/EYNRZN3T52sJn2HC2Ut36p/MmxrGTlCD2WNEsRU0A g1Yu2XvdU9RPhwuz91tZQk1CKWQhfeMjH X-Received: by 2002:a5d:66c7:0:b0:31a:e744:1297 with SMTP id k7-20020a5d66c7000000b0031ae7441297mr7396705wrw.50.1695027467459; Mon, 18 Sep 2023 01:57:47 -0700 (PDT) X-Received: by 2002:a5d:66c7:0:b0:31a:e744:1297 with SMTP id k7-20020a5d66c7000000b0031ae7441297mr7396691wrw.50.1695027467110; Mon, 18 Sep 2023 01:57:47 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id u8-20020a5d6ac8000000b003179b3fd837sm11908680wrw.33.2023.09.18.01.57.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 01:57:46 -0700 (PDT) From: Javier Martinez Canillas To: Thomas Zimmermann , Arnd Bergmann , Maarten Lankhorst , Maxime Ripard , 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: <971f1e86-bcc4-4462-81c7-571a05748b46@suse.de> References: <20230911205338.2385278-1-arnd@kernel.org> <971f1e86-bcc4-4462-81c7-571a05748b46@suse.de> Date: Mon, 18 Sep 2023 10:57:45 +0200 Message-ID: <87r0mv5052.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain 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 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, 18 Sep 2023 01:59:43 -0700 (PDT) Thomas Zimmermann writes: > Hi > > Am 11.09.23 um 22:52 schrieb Arnd Bergmann: >> 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 > > Acked-by: Thomas Zimmermann > Pushed to drm-misc (drm-misc-fixes). Thanks! -- Best regards, Javier Martinez Canillas Core Platforms Red Hat