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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 738A0C433F5 for ; Sat, 21 May 2022 02:55:20 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4L4p9f3Ry2z3cgB for ; Sat, 21 May 2022 12:55:18 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.crashing.org (client-ip=63.228.1.57; helo=gate.crashing.org; envelope-from=benh@kernel.crashing.org; receiver=) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lists.ozlabs.org (Postfix) with ESMTP id 4L4p9C5sP6z306F for ; Sat, 21 May 2022 12:54:55 +1000 (AEST) Received: from ip6-localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 24L2nY8j004405; Fri, 20 May 2022 21:49:35 -0500 Message-ID: <615c93392bee43e92f0400cfa51957cd955091d3.camel@kernel.crashing.org> Subject: Re: [PATCH 2/2] drm/tiny: Add ofdrm for Open Firmware framebuffers From: Benjamin Herrenschmidt To: Thomas Zimmermann , Geert Uytterhoeven , Michal =?ISO-8859-1?Q?Such=E1nek?= Date: Sat, 21 May 2022 12:49:34 +1000 In-Reply-To: <29a8201d-3c0c-eeed-81af-92b351880702@suse.de> References: <20220518183006.14548-1-tzimmermann@suse.de> <20220518183006.14548-3-tzimmermann@suse.de> <20220518185156.GJ163591@kunlun.suse.cz> <29a8201d-3c0c-eeed-81af-92b351880702@suse.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux Fbdev development list , David Airlie , Helge Deller , linuxppc-dev , Javier Martinez Canillas , DRI Development , Paul Mackerras , Maxime Ripard , Daniel Vetter , Sam Ravnborg Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, 2022-05-19 at 09:27 +0200, Thomas Zimmermann wrote: > to build without PCI to see what happens. If you bring any of the "heuristic" and palette support code in, you need PCI. I don't see any reason to take it out. > Those old Macs use BootX, right? BootX is not supported ATM, as I don't > have the HW to test. Is there an emulator for it? It isn't ? When did it break ? :-) > If anyone what's to make patches for BootX, I'd be happy to add them. > The offb driver also supports a number of special cases for palette > handling. That might be necessary for ofdrm as well. The palette handling is useful when using a real Open Firmware implementation which tends to boot in 8-bit mode, so without palette things will look ... bad. It's not necessary when using 16/32 bpp framebuffers which is typically ... what BootX provides :-) Cheers, Ben. > Best regards > Thomas > > > Gr{oetje,eeting}s, > > > > Geert > > > > -- > > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > > > In personal conversations with technical people, I call myself a hacker. But > > when I'm talking to journalists I just say "programmer" or something like that. > > -- Linus Torvalds > > -- > Thomas Zimmermann > Graphics Driver Developer > SUSE Software Solutions Germany GmbH > Maxfeldstr. 5, 90409 Nürnberg, Germany > (HRB 36809, AG Nürnberg) > Geschäftsführer: Ivo Totev