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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 33FECC636C9 for ; Tue, 20 Jul 2021 13:01:34 +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 ECE396113C for ; Tue, 20 Jul 2021 13:01:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ECE396113C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch 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 7F5726E133; Tue, 20 Jul 2021 13:01:33 +0000 (UTC) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1FBAF6E133 for ; Tue, 20 Jul 2021 13:01:32 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id q18-20020a1ce9120000b02901f259f3a250so2007440wmc.2 for ; Tue, 20 Jul 2021 06:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=aT7B7aLtrHA38WRCCkcWibI+OBLuTfXFqvYRJ204kL8=; b=WQOOu9EUP4QZrBDWS9EctGVO+GmPjrxym15Qbs5R69qSSEdvCHmpIY1/pk31fA69bp 3bhC+HD4e8CKzboAfJ+pob2QA2TRhC1Np5OjjzICbqkxEwpGsaSp5RJW4pQU+z0OC23I 0sG4uqigJR5y1K6AdXcTXz1r+jHYxj5pVPrh8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=aT7B7aLtrHA38WRCCkcWibI+OBLuTfXFqvYRJ204kL8=; b=NzUu8j8kuZ89gH/UhQstB5NqrNijJobeZmUvHipf5jTZ6IQa1l5TARv3FH6HmY7QzN OEQuSQvf2BErjOWwQkaz6SP1irVx8QcLJ2Vr8CQfTibsxYg0/nD+m78ah26IgkrUdWAm CUWmd+OKEfR3CcFzGamWcq+zPjHJ5L8LNdGSMf/DZH2wjHDsL37IxNeH6UZkJ/ujFUsR scwK8kVHB+Vl0yX7B1LO9cju4YIHheyi3+hpTIrcLtaFn3FAzEGu8bTt0dgrb9/KVrpJ kxueOWhoHeV+4DldMDTTSiQZBlqbtg6KjTARphk0OYUanRnKVAg1LQQhr/4SLeLKOluo 0JhQ== X-Gm-Message-State: AOAM5313/W4nBzlRbwFk8gY3Ptr7+T5EcgSg1AP4d+5qCxA51rkY88oY Brf0BtD/oYVkE4TQ5wmGOrqYeg== X-Google-Smtp-Source: ABdhPJwyy66JJKeYq0Mz7cYqrI/HK2CM9a/YOzkD7Z06g/Y6R4UrwQlWLQ5wT2w19Z/rHR9fxuhTcg== X-Received: by 2002:a05:600c:2948:: with SMTP id n8mr32984505wmd.11.1626786090699; Tue, 20 Jul 2021 06:01:30 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id g18sm19422048wmk.37.2021.07.20.06.01.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 06:01:30 -0700 (PDT) Date: Tue, 20 Jul 2021 15:01:27 +0200 From: Daniel Vetter To: Ard Biesheuvel Subject: Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms Message-ID: Mail-Followup-To: Ard Biesheuvel , Dave Airlie , linux-efi , David Airlie , Catalin Marinas , dri-devel , Russell King , Atish Patra , linux-riscv , Will Deacon , the arch/x86 maintainers , Javier Martinez Canillas , Ingo Molnar , Peter Robinson , Borislav Petkov , Albert Ou , Hans de Goede , Paul Walmsley , Thomas Gleixner , linux-arm-kernel , Greg Kroah-Hartman , LKML , Palmer Dabbelt , Thomas Zimmermann References: <20210625130947.1803678-1-javierm@redhat.com> <8dd26141-a09c-39e2-5174-4cad8d21c49c@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.10.0-7-amd64 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 , David Airlie , Catalin Marinas , dri-devel , Javier Martinez Canillas , Atish Patra , linux-riscv , Will Deacon , the arch/x86 maintainers , Russell King , Ingo Molnar , Peter Robinson , Borislav Petkov , Albert Ou , Hans de Goede , Paul Walmsley , Thomas Gleixner , linux-arm-kernel , Greg Kroah-Hartman , LKML , Palmer Dabbelt , Thomas Zimmermann Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Jul 19, 2021 at 09:10:52AM +0200, Ard Biesheuvel wrote: > On Mon, 19 Jul 2021 at 04:59, Dave Airlie wrote: > > > > On Thu, 15 Jul 2021 at 18:11, Thomas Zimmermann wrote: > > > > > > Hi > > > > > > Am 13.07.21 um 18:59 schrieb Javier Martinez Canillas: > > > > 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. > > > > > > Time to get this merged, I'd say. People are asking for these patches > > > already. > > > > Can we just merge via drm-misc and make sure the acks are present and > > I'll deal with the fallout if any. > > > > Fine with me. Could you stick it on a separate branch so I can double > check whether there are any issues wrt the EFI tree? It'll pop up in linux-next for integration testing or you can pick up the patch here for test-merge if you want. And since Dave has given a blanket cheque for handling fallout he'll deal with the need for fixups too if there's any. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch