Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22675719rwd; Fri, 30 Jun 2023 11:01:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlHR9q9EW/psvirpZOptS3SwegRI9IEPTV2NvvofxTGe/mCDHiDpyHEf87/sfKtQkn5HBU9V X-Received: by 2002:a05:6a20:4e29:b0:125:5693:426c with SMTP id gk41-20020a056a204e2900b001255693426cmr2727327pzb.59.1688148067983; Fri, 30 Jun 2023 11:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688148067; cv=none; d=google.com; s=arc-20160816; b=XdyrGSA6LpJSnfO7DNrxtZr6PSBWtCmZaGUmEl9zkXiHKN5UgI8wIf6VJOnBJJn3l/ nks9fv9M7nPn4ZrS5zQcTjde4qrXFfqBJoz5PsvHU4Wx9sHbQttNRD67EH6eio9k9lmR Ycb97hEZvJz4OsjAvKKiFdIaCcGWn9+qMKl9hMNdZSJJNBG1rq9aScZHX0GaAnSa5JIT FYvclUoqur9yUMpdI6cCy46w71folyEvW2eOFIjSxCBWeJPVzo3Xeq1gUc7ndJQC9OoN QeA5ogRuLKeD0RmMF/hbnnhSjyvBJEeRB7EeK06Er5eAqg2tVf/2g/GuvvIt6woCOnMi lIjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=+hduDAJRnbEcYm0xQV3ElsBOSk+cr1mIK+tD66PuT1A=; fh=V15jzHGBGqV9FfZ41PupoQdrfbfoIQG/WpYSTaHK5jg=; b=bzlgOhS8M1cYohw2FkKmOZiHfMAvq+VhCNnJZWiIXxF1IAUwBF4iGEzbQfkOFHMQVe TGTOCRQTBKqNZK3s/Lid1HGe+AXvMCUODSYPIWEQYNto33H/7ARDppCuN956sgdh4B4Y w7+4iZBX6m61yAqBXNmgCv70Dy/TIfxa3MRyd7GG0UOeA6dCKrdIvPdlpl0j0OyCxRGs iTTNFGoWwye7Q7VV+yylVE934935YoLz2DEEYjB0nfAUHNT/jd1NnET3N6qEVO79Z4+H 0pdF9k1Ob5eA/347jy2xq3VC2JMYbqhfdS4E4fGl/EpTABALlySes8eKWb2gBJARIvRo gwug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OLSW4oCi; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y12-20020a056a001c8c00b006753c786af2si10557551pfw.114.2023.06.30.11.00.52; Fri, 30 Jun 2023 11:01:07 -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=@intel.com header.s=Intel header.b=OLSW4oCi; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232152AbjF3Rb1 (ORCPT + 99 others); Fri, 30 Jun 2023 13:31:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbjF3Rb0 (ORCPT ); Fri, 30 Jun 2023 13:31:26 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87063199B; Fri, 30 Jun 2023 10:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688146284; x=1719682284; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=cubLHaU/IvjeEY3WTxrpyCHJrSKe0stKwV3Mqt6qqD0=; b=OLSW4oCiBQiOrAAAl9DR/v9LPYH8kdheTbdEJl5k4diQS+QyIL4SiJ2z YCyq/ZHOKbG1sI735LJbe2alZlg+QMl7q0mSUL3NKVvrx+l7fblEyc471 K1r0A1mluRkGJrVKcLV/0EcLgNTBPAQS4+mtkG5/zXgUTr4LwXXYb+0BK VCcZZWspLcRWMQT1d+jF4vbUa15RDpWpTNgiSFj/sn4mDOlS+Q8mL5CRz bCGE3BU9UWClFliHiXNZ+qNRU85MnKSiws5qxKN+41Nj/+EuzNAANMKY9 B5Ld38mcC/a+cKMlVAB9oSPfBkmWK4gUcDeCi0OEV11kUvVbHh0VMAkIS A==; X-IronPort-AV: E=McAfee;i="6600,9927,10757"; a="365027334" X-IronPort-AV: E=Sophos;i="6.01,171,1684825200"; d="scan'208";a="365027334" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2023 10:31:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10757"; a="862359847" X-IronPort-AV: E=Sophos;i="6.01,171,1684825200"; d="scan'208";a="862359847" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga001.fm.intel.com with ESMTP; 30 Jun 2023 10:31:18 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qFHxj-001ALs-2v; Fri, 30 Jun 2023 20:31:15 +0300 Date: Fri, 30 Jun 2023 20:31:15 +0300 From: Andy Shevchenko To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven , Thomas Zimmermann , Arnd Bergmann , Borislav Petkov , Daniel Vetter , Dave Hansen , David Airlie , Greg Kroah-Hartman , "H. Peter Anvin" , Helge Deller , Ingo Molnar , Maarten Lankhorst , Maxime Ripard , Randy Dunlap , Sam Ravnborg , Thomas Gleixner , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH 0/2] Allow disabling all native fbdev drivers and only keeping DRM emulation Message-ID: References: <20230629225113.297512-1-javierm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230629225113.297512-1-javierm@redhat.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Fri, Jun 30, 2023 at 12:51:02AM +0200, 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 > 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 How does simpledrm works with earlycon=efi? > now disable them. But it would simplify the config a lot fo have a single > Kconfig symbol to disable all fbdev drivers. > > I've build 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/2 makes the CONFIG_FB split that is mentioned above and patch 2/2 > makes DRM fbdev emulation depend on the new FB_CORE symbol instead of FB. -- With Best Regards, Andy Shevchenko