[PATCH 2/2] drm/tiny: Add ofdrm for Open Firmware framebuffers

Thomas Zimmermann tzimmermann at suse.de
Thu May 19 17:27:53 AEST 2022


Hi

Am 19.05.22 um 09:11 schrieb Geert Uytterhoeven:
> Hi Michal,
> 
> On Wed, May 18, 2022 at 8:54 PM Michal Suchánek <msuchanek at suse.de> wrote:
>> On Wed, May 18, 2022 at 08:30:06PM +0200, Thomas Zimmermann wrote:
>>> --- a/drivers/gpu/drm/tiny/Kconfig
>>> +++ b/drivers/gpu/drm/tiny/Kconfig
>>> @@ -51,6 +51,18 @@ config DRM_GM12U320
>>>         This is a KMS driver for projectors which use the GM12U320 chipset
>>>         for video transfer over USB2/3, such as the Acer C120 mini projector.
>>>
>>> +config DRM_OFDRM
>>> +     tristate "Open Firmware display driver"
>>> +     depends on DRM && MMU && PPC
>>
>> Does this build with !PCI?
>>
>> The driver uses some PCI functions, so it might possibly break with
>> randconfig. I don't think there are practical !PCI PPC configurations.
> 
> IIRC, the first PowerMacs didn't have PCI.

I'll try to build without PCI to see what happens.

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?

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.

Best regards
Thomas

> 
> Gr{oetje,eeting}s,
> 
>                          Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20220519/10593fb3/attachment.sig>


More information about the Linuxppc-dev mailing list