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 831DAC433F5 for ; Fri, 27 May 2022 00:26:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229519AbiE0A0j (ORCPT ); Thu, 26 May 2022 20:26:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbiE0A0i (ORCPT ); Thu, 26 May 2022 20:26:38 -0400 Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E26586A044 for ; Thu, 26 May 2022 17:26:36 -0700 (PDT) Received: from ip6-localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 24R0Ho34032466; Thu, 26 May 2022 19:17:51 -0500 Message-ID: <23740c1edd7b080133ab852cd8e3de89fd7c9aae.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?= Cc: Linux Fbdev development list , David Airlie , Michael Ellerman , Helge Deller , linuxppc-dev , Javier Martinez Canillas , DRI Development , Paul Mackerras , Maxime Ripard , Sam Ravnborg Date: Fri, 27 May 2022 10:17:50 +1000 In-Reply-To: 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> <615c93392bee43e92f0400cfa51957cd955091d3.camel@kernel.crashing.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org On Wed, 2022-05-25 at 18:45 +0200, Thomas Zimmermann wrote: > > > 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 :-) > > Maybe the odd color formats can be tested via qemu. > > I don't mind adding DRM support for BootX displays, but getting the > necessary test HW with a suitable Linux seems to be laborious. Would a > G4 Powerbook work? My point was that it's the non-BootX case that cares about the palette hacks :-) Cheers, Ben.