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 X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E724C07E95 for ; Tue, 13 Jul 2021 16:59:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D0C7611AC for ; Tue, 13 Jul 2021 16:59:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D0C7611AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A6A936E0FD; Tue, 13 Jul 2021 16:59:57 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2DCAA6E0FD for ; Tue, 13 Jul 2021 16:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626195596; 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=XTHdlYNv/a9BuVPGjnPy+dQ/mQjufPe+yKG6ndLoXU8=; b=eX0vNDQetw4M4XvuzdRcpzZcTe4FtS5+xgrR+G5VXPhCmc0t0q/NkkDd+By1EFfppUZwyA j+0h4jpvRagFIp8303DxtzUj1YkYvw13WZsOOQGn4Jl4jrLAfIy0ZKR3eZwWWbnZr4HAVg wN0h7kqIAlJJ8TlEVQGTw3NU2rn9dCk= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-173-Wmvbdje2NfOVqe3LAyq5Ng-1; Tue, 13 Jul 2021 12:59:55 -0400 X-MC-Unique: Wmvbdje2NfOVqe3LAyq5Ng-1 Received: by mail-wr1-f69.google.com with SMTP id z6-20020a5d4c860000b029013a10564614so8759255wrs.15 for ; Tue, 13 Jul 2021 09:59:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XTHdlYNv/a9BuVPGjnPy+dQ/mQjufPe+yKG6ndLoXU8=; b=tpqsKE7F8B1i5K5OiYEIcTD7K3eztlzjPSzACm965Vo+BFMzgqM0r7t0OXf1+nXfTn 9ThS7XCEPb3PKj8Ypf9YsBrV2M2ZeEdNLs3zJvd0kWzrvk6DMI5K1tvrSlGcky1L/Cov Z2ollq52VLfX8EfLcU3t3JFo/tpbgv1ghSICF2TrIqAUwZ0j4Mmie9fQBUAeKWnaT8PK 9u2/NdVivXt8UwGYVvSHOFf/wJg1WbXNXLNCmLAgAYxVu/kDyfiAL4aO6xzYERbo+HqK J0PV0H+E/ZTiSBNy1MHNCE6iv9NhFy452pyySWLUDRZxTaFW7qzWTcRaGcNBkFB4S+3c BjZQ== X-Gm-Message-State: AOAM532iWCqCzWqZJconsvmElC6bWUzuietsYGsk7qx+lvDbSPsiT7nu hnGA5JsYipSWct4dart/MdC9mC6x01Xgl6sR5LpjgbWaOQFj2N6YjIHIa1unMnTFgUTQ9iYplxi vKOeDNej/VByFWoN92Axzet7AtTQz X-Received: by 2002:a05:600c:2105:: with SMTP id u5mr1986026wml.18.1626195593924; Tue, 13 Jul 2021 09:59:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxumMUPdgM1d9aW8ug3rd8W69QVL7ebCKDjq/l4syiEd2xfO/CLyenHYKdqhxzMxt12Uge4rQ== X-Received: by 2002:a05:600c:2105:: with SMTP id u5mr1986010wml.18.1626195593743; Tue, 13 Jul 2021 09:59:53 -0700 (PDT) Received: from [192.168.1.101] ([92.176.231.106]) by smtp.gmail.com with ESMTPSA id o28sm19766410wra.71.2021.07.13.09.59.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Jul 2021 09:59:53 -0700 (PDT) Subject: Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms To: linux-kernel@vger.kernel.org References: <20210625130947.1803678-1-javierm@redhat.com> From: Javier Martinez Canillas Message-ID: Date: Tue, 13 Jul 2021 18:59:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210625130947.1803678-1-javierm@redhat.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=javierm@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-efi@vger.kernel.org, David Airlie , Catalin Marinas , dri-devel@lists.freedesktop.org, Atish Patra , linux-riscv@lists.infradead.org, Will Deacon , Ard Biesheuvel , x86@kernel.org, Russell King , Ingo Molnar , Peter Robinson , Borislav Petkov , Albert Ou , Thomas Zimmermann , Hans de Goede , Paul Walmsley , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , Palmer Dabbelt Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 6/25/21 3:09 PM, Javier Martinez Canillas wrote: > The simplefb and simpledrm drivers match against a "simple-framebuffer" > device, but for aarch64 this is only registered when using Device Trees > and there's a node with a "simple-framebuffer" compatible string. > > There is no code to register a "simple-framebuffer" platform device when > using EFI instead. In fact, the only platform device that's registered in > this case is an "efi-framebuffer", which means that the efifb driver is > the only driver supported to have an early console with EFI on aarch64. > > The x86 architecture platform has a Generic System Framebuffers (sysfb) > support, that register a system frambuffer platform device. It either > registers a "simple-framebuffer" for the simple{fb,drm} drivers or legacy > VGA/EFI FB devices for the vgafb/efifb drivers. > > The sysfb is generic enough to be reused by other architectures and can be > moved out of the arch/x86 directory to drivers/firmware, allowing the EFI > logic used by non-x86 architectures to be folded into sysfb as well. > Any more comments on this series? It would be nice for this to land so the simpledrm driver could be used on aarch64 EFI systems as well. The patches have already been acked by x86 and DRM folks. Best regards, -- Javier Martinez Canillas Linux Engineering