X-Received: by 2002:aa7:d415:0:b0:410:a0fa:dc40 with SMTP id z21-20020aa7d415000000b00410a0fadc40mr875429edq.46.1645643340733; Wed, 23 Feb 2022 11:09:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645643340; cv=none; d=google.com; s=arc-20160816; b=bfTg3pcHUpKyrJbZvJPPdVoOtPbUesF6oLPKvlos6To6jp+TTDlACYTlqUCZDWX9Tm 2R/dPYKAy2L1SIV2gdP92g4PRhI3wPJiM8QFSPAjdzRQtM5kqFGiwKs07r8P1Q2ZUv14 c9kJluHg4Zst+G8aPsvSry1Yg45AXYhDSKknNcvgo/ZMlWep963tY/yyKwT7uSeR3Rej de4XFy0W3emhrz8zUwnwKYhYlz0eEuTrZuL+OfmZT1CLhRtA3IvYB/Miih44/BV7Ykkr C4RwOQEUHJtj9POcyjE4bBgHioPCujNGixhnHl4cHeS5XjaRUtuUGo2McMxS5CWc06Ja gesw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ypIs7bkNYvlEnOXn/O+REGsfb4DaXi/zE6H2OQf1oCs=; b=Ll0o3+R3FAanfUik07gj32+a9iLs0p8DJR3diTXtPnXO7A4RLCHRx2PuqO6BY4oOhq 7WjYKP1T+FrhZgO8Jy/xxUkJC/TLAX7+r6Qu9luVebtfnv15K5HCtBG6LsHTWJDckBF1 3vfBmbha0DZAfEMHgi3VpksEgGih8+GszIey6Le+PwkcoW9FlVPTbKx2yHecaJX83S9Z HL2qB/EJj7ZZieE3wzSpvgN0F7aoU67fNygBLIyCayhjlpNHWrmuCkPHpVcah9IMrqoj OC8bv4EvMO5hRvGyFh3oTp42ltunRQGJLkuoCANRCB9NPPUtzS5cCyStr6bG0HMyf2D1 bcxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cy4JSxBD; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 2si207376ejj.390.2022.02.23.11.08.36; Wed, 23 Feb 2022 11:09:00 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=cy4JSxBD; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243814AbiBWSfa (ORCPT + 99 others); Wed, 23 Feb 2022 13:35:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237880AbiBWSf3 (ORCPT ); Wed, 23 Feb 2022 13:35:29 -0500 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 411004EA30 for ; Wed, 23 Feb 2022 10:35:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645641300; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ypIs7bkNYvlEnOXn/O+REGsfb4DaXi/zE6H2OQf1oCs=; b=cy4JSxBDdDfPM7KwtHSJ5r4b02KLDG3otxXobM8IFST83UqM+5TKhT5R0xuu7751Ve10yN OpaK4UBbTjL7Ni5x6P0rN/0HqGouNzWv/xJlUSwxrlyb75L8UkE9coBjVDC1aMG5gtaJWq ttnywj4/vsmojHHtXWA4ZVKMiIsUXkQ= 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.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-586-ZUfSqHPJPX6ThdeYux4GPw-1; Wed, 23 Feb 2022 13:34:59 -0500 X-MC-Unique: ZUfSqHPJPX6ThdeYux4GPw-1 Received: by mail-wr1-f72.google.com with SMTP id c16-20020adfa310000000b001ed9cd8f4c7so1856602wrb.6 for ; Wed, 23 Feb 2022 10:34:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=ypIs7bkNYvlEnOXn/O+REGsfb4DaXi/zE6H2OQf1oCs=; b=PthbttkBA5ZN5hts4mCwScKNgIMy4RuuVP5G9euEEPKJtfQk6oFMRj/swrCxRib8hl rsTHR4OfcrOzYfPtxPM59X2v5Wj4w+P5cCe/hlvhmhdLtaqa2igRTXESE1oHgy0zFOfw bbwe6KxMxgKqa9Bc5zLV25r+TMmlcav2FiNgeiRqZv4mLrkEqf7zFi8eX/Y3ifZGbhS3 J3KKXKjcxs1Du/+WIB0Kw8N1z2g8iiXPaLcdUV43azBQh294tbSOzXR/zM8x10BezkJs z4vXtX6JFmtUIYGW0yNAyB4UETykeOLJEh0rqjukStfen0lwMQsnmGRft6qhgQTeNLO5 B0Mg== X-Gm-Message-State: AOAM531RKCYqCwzrhtw42+3O/vCJrst0WfIq81wjsmAbVxa8CKbvI7EV 6u0OC06r6nsggjJEEhfSs6O8r2qtyVKCODP2Uz2LeNEBl/oAA4jk/7t5Nz8RzT0w8Ql2ZqxHPm7 OQg45z/KzwqikACyfpeuVcJq+ X-Received: by 2002:a05:600c:1e84:b0:380:d32d:6add with SMTP id be4-20020a05600c1e8400b00380d32d6addmr779460wmb.21.1645641297940; Wed, 23 Feb 2022 10:34:57 -0800 (PST) X-Received: by 2002:a05:600c:1e84:b0:380:d32d:6add with SMTP id be4-20020a05600c1e8400b00380d32d6addmr779436wmb.21.1645641297738; Wed, 23 Feb 2022 10:34:57 -0800 (PST) Received: from [192.168.1.102] ([92.176.231.205]) by smtp.gmail.com with ESMTPSA id e7sm294678wrg.44.2022.02.23.10.34.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Feb 2022 10:34:57 -0800 (PST) Message-ID: <1f13e6f2-a87c-83ac-7119-8632c8c8ac8e@redhat.com> Date: Wed, 23 Feb 2022 19:34:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v3] simplefb: Enable boot time VESA graphic mode selection. Content-Language: en-US To: =?UTF-8?Q?Michal_Such=c3=a1nek?= Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Thomas Zimmermann , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Martin Mares , Helge Deller , Bjorn Andersson , Daniel Vetter , Sudeep Holla , Greg Kroah-Hartman , Krzysztof Kozlowski , Cristian Marussi , Simon Trimmer , Geert Uytterhoeven , Arnd Bergmann , Andy Shevchenko , Rob Herring , Maarten Lankhorst , David Herrmann , linux-kernel@vger.kernel.org, linux-video@atrey.karlin.mff.cuni.cz References: <20220218160436.23211-1-msuchanek@suse.de> <33b80f9c-d54a-5471-a58b-7a783a7a9e5b@redhat.com> <20220223164528.GE3113@kunlun.suse.cz> <20220223171235.GF3113@kunlun.suse.cz> <20220223182341.GG3113@kunlun.suse.cz> From: Javier Martinez Canillas In-Reply-To: <20220223182341.GG3113@kunlun.suse.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 2/23/22 19:23, Michal Suchánek wrote: [snip] >> My point about the subject line remains thought, I would use something like: >> >> firmware: sysfb: Enable boot time VESA graphic mode selection for simplefb > > I see where the confusion comes from. > Yeah. And just to clarify, the "simplefb" in the subject line I proposed was about the sysfb simplefb and not the fbdev simplefb :) > The efifb (and probably vesafb) has implicit unstated dependency on > sysfb. So the drivers that select BOOT_VESA_SUPPORT should instead > depend on SYSFB, and then SYSFB can select BOOT_VESA_SUPPORT, and it > will look much saner. > That indeed would be much nicer. And I agree with you that there's an implicit dependency that should be made explicit since SYSFB is what registers the "efi-framebuffer" or "vesa-framebuffer" if SYSFB_SIMPLEFB is not enabled. Should SYSFB should only select BOOT_VESA_SUPPORT if x86 ? I know that in practice shouldn't matter because BOOT_VESA_SUPPORT is under x86 but I guess is more correct if that's the case. And I think that FB_SIMPLE should depend on SYSFB_SIMPLEFB if !OF (since a "simple-framebuffer" platform device could be registered by OF if a Device Tree node with compatible "simple-framebuffer" exists). Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat