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 BFCC8EB64DC for ; Mon, 3 Jul 2023 08:44:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229976AbjGCIon (ORCPT ); Mon, 3 Jul 2023 04:44:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229966AbjGCIom (ORCPT ); Mon, 3 Jul 2023 04:44:42 -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 06580E55 for ; Mon, 3 Jul 2023 01:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688373831; 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=Zp5g9NpYfxNAKr8x3hzhFJpQgOx/itKdI6XRa55tcZ4=; b=IsYFA+sGcEB9QREBthJrAxtlzMD7//07UB7xguL29B5Kl5yfkGk5b92ncOtg9K9rzAalHc BBJF0GURq10U2/tEFBGwGKBFb0ATiUE4pppz185l1Z0CnkglHQoHczdVF2g5FMWspc32gf Q9LBD8EKuXrHFyz1XDOAxCgS7B7XQas= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-357-fTn_wHXXMDuy6I6nKm7AAg-1; Mon, 03 Jul 2023 04:43:49 -0400 X-MC-Unique: fTn_wHXXMDuy6I6nKm7AAg-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-30e6153f0eeso2377930f8f.0 for ; Mon, 03 Jul 2023 01:43:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688373828; x=1690965828; 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=Zp5g9NpYfxNAKr8x3hzhFJpQgOx/itKdI6XRa55tcZ4=; b=jxLkHvBgqDSYXbA+dv0LGMIOVUaN89mjNR+u+gIjQoVnH2h9OX+lyPebWs61VBEHL/ JOuodRoHlzoz1Ehc9YDRwT4g4OLgY7cTZ0Fi4BOAdLWqI8J+yPZlYkYgYsH67CmlNTNs tmhbRYhyFz5bZ8iZ6Nt44G6d/sTwlRmq5obR26C2HA0KIROp34pxhN3XXB6OaKIw/EPE gXbKCkDSVrk/41w8rfqs3CzmpY774jRmP53xkkyCrJDtfreajTAGK0X3Trci3+7ubpW2 xrmroxLgWyaxKkQPfJ4ScY9A1Gk9zNQph4Lg2sD0jAX71WV7MMjjSXx/zdEzozcRQGTj UvDQ== X-Gm-Message-State: ABy/qLYINZr0SKgEi5GvMKuib1hFiRsCY1Ht8GDZXxXBGGWc+P+lStuP kb8oE0p8mxhUVPdb/QxGIBqCVAU3lumriL+66N1O4S7LMVcDLUg5aRNto4AjApv4EJ/SHlH4zSU uG0WlUccA/HQVqni7lCZSBR4= X-Received: by 2002:a5d:4143:0:b0:313:f94b:54e6 with SMTP id c3-20020a5d4143000000b00313f94b54e6mr7345895wrq.71.1688373827947; Mon, 03 Jul 2023 01:43:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlF8Sgct2ZKOCxkKDgyrN07WyPQuy43UZE9MgiqZYPp0ju4sHwD649De1/MCHiwbo3Wl8IAHIA== X-Received: by 2002:a5d:4143:0:b0:313:f94b:54e6 with SMTP id c3-20020a5d4143000000b00313f94b54e6mr7345872wrq.71.1688373827611; Mon, 03 Jul 2023 01:43:47 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id d17-20020adffbd1000000b002fb60c7995esm24990543wrs.8.2023.07.03.01.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 01:43:47 -0700 (PDT) From: Javier Martinez Canillas To: Andy Shevchenko 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 In-Reply-To: References: <20230629225113.297512-1-javierm@redhat.com> <878rc0etqe.fsf@minerva.mail-host-address-is-not-set> <875y74elsv.fsf@minerva.mail-host-address-is-not-set> Date: Mon, 03 Jul 2023 10:43:46 +0200 Message-ID: <87zg4dcrlp.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 Andy Shevchenko writes: > On Fri, Jun 30, 2023 at 10:29:20PM +0200, Javier Martinez Canillas wrote: >> Andy Shevchenko writes: >> > On Fri, Jun 30, 2023 at 07:38:01PM +0200, Javier Martinez Canillas wrote: >> >> Andy Shevchenko writes: >> >> > 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? >> >> > >> >> >> >> simpledrm isn't for earlycon. For that you use a different driver (i.e: >> >> drivers/firmware/efi/earlycon.c). I'm just talking about fbdev drivers >> >> here that could be replaced by simpledrm. >> > >> > So, efifb can't be replaced. Please, fix your cover letter to reduce false >> > impression of the scope of usage of the simpledrm. >> > >> >> Nothing to fixup. >> >> You are conflating the efifb fbdev driver (drivers/video/fbdev/efifb.c) >> with the efifb earlycon driver (drivers/firmware/efi/earlycon.c). I'm >> talking about the former (which can be replaced by simpledrm) while you >> are talking about the latter. > > Ah, this makes sense! > > I remember now that it was (still is?) an attempt to move from efifb to > simpledrm, but have no idea what the status of that series is. > Indeed. And there was were also some patches IIRC to attempt porting the earlycon efifb to a fbdev or DRM driver, can't remember now. > -- > With Best Regards, > Andy Shevchenko > > -- Best regards, Javier Martinez Canillas Core Platforms Red Hat