From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3ED67C001B0 for ; Wed, 19 Jul 2023 17:50:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229795AbjGSRuK (ORCPT ); Wed, 19 Jul 2023 13:50:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjGSRuJ (ORCPT ); Wed, 19 Jul 2023 13:50:09 -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 E0D771FC0 for ; Wed, 19 Jul 2023 10:49:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689788962; 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=XYue51ytI6NDHPfrk6nzrr+J7lvDM0nrv78I+/fXUNw=; b=I+Czp5PLpbLSe7eW1tK/L5q6/WPbKhkSc6X/M7IWTNT3jIzft3HkWhjNQn9qwwynqYPuME A1LOdZuTlW6Rz3aDC7aiQmLyAh+KzlFRxR54jJJ68nPff5ch7M+Bi2eBO2+l7xmXoIxASf FlPQMUGr6mYAmCrq/K4ONg9geEfEfkw= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-397-X1vdaEblONand4-Y1yK02g-1; Wed, 19 Jul 2023 13:49:20 -0400 X-MC-Unique: X1vdaEblONand4-Y1yK02g-1 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2b92dd520a2so46905801fa.2 for ; Wed, 19 Jul 2023 10:49:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689788959; x=1690393759; 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=XYue51ytI6NDHPfrk6nzrr+J7lvDM0nrv78I+/fXUNw=; b=Rjew4ZvDWvqkQqIcXeLUeLdZZ7w4j5JbXh9GAkEnYOWCEs21QxfGdtk7h2KVOQZ1Sn wNK/eab9BNTPXV9Z+65qVo5cQ7S4SYAYteyj0Ii2/7RcrbhQ+MkHoXdJt03zbqh3ab6x IYgLDnKAk0JtrPQPX57lmRza8KazeUR1L0CqdEA17QVrIdi1/ebG/44mcVJb1ueAIALW 4gRgLlrlQNu4iLUjZjodl4QCPto0udch6YPLX25xHhIb8D8SrZVc+K0IyLPLeMgYstG+ TgvQE/9VzXoqc2fa0EJOdIB0tvYfPMPDtftIPzWj1RtwtklNa3JRrKAnDsKxwPAfI8ju +Vxg== X-Gm-Message-State: ABy/qLZAwhzWQBL9ODr7Tu9Z/pAUvr6HljeJ2VbL6KkJM65se6e1KnNx +czJDvUtY9s99O0ZhLhhkwS2gn5uqYD3O6/goo/5CVku6ZSjtMLKNOvssxg1mzyW1dwLEbQABae tWE5rqot2NPgQYgY2Ro4eYCM= X-Received: by 2002:a2e:b60a:0:b0:2b6:c8e8:915f with SMTP id r10-20020a2eb60a000000b002b6c8e8915fmr525300ljn.22.1689788959378; Wed, 19 Jul 2023 10:49:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlHGcoA3ayLgHeAmqmqFqjnQ7AOt3SyqJk7AsijJMopV3od5+bU+++6SyugmvMMgSvDsgJiIRg== X-Received: by 2002:a2e:b60a:0:b0:2b6:c8e8:915f with SMTP id r10-20020a2eb60a000000b002b6c8e8915fmr525282ljn.22.1689788958986; Wed, 19 Jul 2023 10:49:18 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id t13-20020a7bc3cd000000b003fc05b89e5bsm2165158wmj.34.2023.07.19.10.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 10:49:18 -0700 (PDT) From: Javier Martinez Canillas To: Helge Deller , linux-kernel@vger.kernel.org Cc: Thomas Zimmermann , Geert Uytterhoeven , Arnd Bergmann , Andy Shevchenko , Borislav Petkov , Daniel Thompson , Daniel Vetter , Dave Hansen , David Airlie , Greg Kroah-Hartman , "H. Peter Anvin" , Ingo Molnar , Jacek Lawrynowicz , Jeffrey Hugo , Jingoo Han , Lee Jones , Maarten Lankhorst , Maxime Ripard , Nipun Gupta , Oded Gabbay , Pieter Jansen van Vuuren , Randy Dunlap , Sam Ravnborg , Thomas Gleixner , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v6 0/4] Allow disabling all native fbdev drivers and only keeping DRM emulation In-Reply-To: <46d933f5-38e4-b46a-f94b-0e9a6e3b2e31@gmx.de> References: <20230719081544.741051-1-javierm@redhat.com> <46d933f5-38e4-b46a-f94b-0e9a6e3b2e31@gmx.de> Date: Wed, 19 Jul 2023 19:49:17 +0200 Message-ID: <877cqvkd0i.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Helge Deller writes: Hello Helge, > Hi Javier, > > On 7/19/23 10:15, Javier Martinez Canillas wrote: >> This patch series splits the fbdev core support in two different Kconfig >> symbols: FB and FB_CORE. The motivation for this is to allow CONFIG_FB to >> be disabled, while still having the the core fbdev support needed for the > > One "the" too much. > (correcting just because this is a cover letter) > >> CONFIG_DRM_FBDEV_EMULATION to be enabled. The motivation is automatically >> disabling all fbdev drivers instead of having to be disabled individually. >> >> The reason for doing this is that now with simpledrm, there's no need for >> the legacy fbdev (e.g: efifb or vesafb) drivers anymore and many distros >> now disable them. > But it would simplify the config a lot fo have a single >> Kconfig symbol to disable all fbdev drivers. > > I suggest to rephrase this, e.g.: > The reason for doing this is that with simpledrm, mainstream Linux distributions > like Fedora, SUSE or Ubuntu can then more easily enable the DRM drivers only > by switching off legacy fbdev drivers with one Kconfig option (e.g. for efifb or > vesafb). > > (note: there are quite many other distributions, e.g. debian and the derivates, > which still need the fbdev drivers for the various other architectures) > Right, I meant that there is no need anymore for the remaining fbdev drivers that many distributions used to enable only to have fallback fbcon/VT (like vesafb, efifb, simplefb, etc). But I'm OK with your rephrasing and agree that's more accurate to cover all the distros. >> I've built tested with possible combinations of CONFIG_FB, CONFIG_FB_CORE, >> CONFIG_DRM_FBDEV_EMULATION and CONFIG_FB_DEVICE symbols set to 'y' or 'n'. >> >> Patch #1 moves the auxdisplay drivers to "Graphics support" Kconfig menu, >> patch #2 moves the core fbdev Kconfig symbols to a separate Kconfig file, >> patch #3 does the FB symbol split and introduces the FB_CORE symbol and >> finally patch #4 makes the DRM symbol to select FB_CORE if the DRM fbdev >> emualtion support was enabled. >> >> Since this series touches three subsystems (auxdisplay, fbdev and DRM), >> I would like to merge it through DRM with the acks of these maintainers. > > Sure. Ack from me. > > The patch series look good otherwise. You may add: > Acked-by: Helge Deller > Thanks! -- Best regards, Javier Martinez Canillas Core Platforms Red Hat