All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: "Geert Uytterhoeven" <geert@linux-m68k.org>,
	"Michal Suchánek" <msuchanek@suse.de>
Cc: Javier Martinez Canillas <javierm@redhat.com>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	Helge Deller <deller@gmx.de>, Maxime Ripard <maxime@cerno.tech>,
	Sam Ravnborg <sam@ravnborg.org>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	DRI Development <dri-devel@lists.freedesktop.org>,
	Linux Fbdev development list <linux-fbdev@vger.kernel.org>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH 2/2] drm/tiny: Add ofdrm for Open Firmware framebuffers
Date: Thu, 19 May 2022 09:27:53 +0200	[thread overview]
Message-ID: <29a8201d-3c0c-eeed-81af-92b351880702@suse.de> (raw)
In-Reply-To: <CAMuHMdUws2eJ4pHng4GD0PjuvMj5Hef_y_YyM4fUJV9xdUVuEQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1838 bytes --]

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@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@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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Thomas Zimmermann <tzimmermann@suse.de>
To: "Geert Uytterhoeven" <geert@linux-m68k.org>,
	"Michal Suchánek" <msuchanek@suse.de>
Cc: Linux Fbdev development list <linux-fbdev@vger.kernel.org>,
	David Airlie <airlied@linux.ie>, Helge Deller <deller@gmx.de>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	Javier Martinez Canillas <javierm@redhat.com>,
	DRI Development <dri-devel@lists.freedesktop.org>,
	Paul Mackerras <paulus@samba.org>,
	Maxime Ripard <maxime@cerno.tech>,
	Daniel Vetter <daniel@ffwll.ch>, Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [PATCH 2/2] drm/tiny: Add ofdrm for Open Firmware framebuffers
Date: Thu, 19 May 2022 09:27:53 +0200	[thread overview]
Message-ID: <29a8201d-3c0c-eeed-81af-92b351880702@suse.de> (raw)
In-Reply-To: <CAMuHMdUws2eJ4pHng4GD0PjuvMj5Hef_y_YyM4fUJV9xdUVuEQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1838 bytes --]

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@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@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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Thomas Zimmermann <tzimmermann@suse.de>
To: "Geert Uytterhoeven" <geert@linux-m68k.org>,
	"Michal Suchánek" <msuchanek@suse.de>
Cc: Linux Fbdev development list <linux-fbdev@vger.kernel.org>,
	David Airlie <airlied@linux.ie>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Helge Deller <deller@gmx.de>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	Javier Martinez Canillas <javierm@redhat.com>,
	DRI Development <dri-devel@lists.freedesktop.org>,
	Paul Mackerras <paulus@samba.org>,
	Maxime Ripard <maxime@cerno.tech>,
	Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [PATCH 2/2] drm/tiny: Add ofdrm for Open Firmware framebuffers
Date: Thu, 19 May 2022 09:27:53 +0200	[thread overview]
Message-ID: <29a8201d-3c0c-eeed-81af-92b351880702@suse.de> (raw)
In-Reply-To: <CAMuHMdUws2eJ4pHng4GD0PjuvMj5Hef_y_YyM4fUJV9xdUVuEQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1838 bytes --]

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@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@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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2022-05-19  7:28 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 18:30 [PATCH 0/2] drm: Add driverof PowerPC OF displays Thomas Zimmermann
2022-05-18 18:30 ` Thomas Zimmermann
2022-05-18 18:30 ` [PATCH 1/2] MAINTAINERS: Broaden scope of simpledrm entry Thomas Zimmermann
2022-05-18 18:30   ` Thomas Zimmermann
2022-05-20  5:18   ` Javier Martinez Canillas
2022-05-20  5:18     ` Javier Martinez Canillas
2022-05-18 18:30 ` [PATCH 2/2] drm/tiny: Add ofdrm for Open Firmware framebuffers Thomas Zimmermann
2022-05-18 18:30   ` Thomas Zimmermann
2022-05-18 18:51   ` Michal Suchánek
2022-05-18 18:51     ` Michal Suchánek
2022-05-18 18:51     ` Michal Suchánek
2022-05-19  7:11     ` Geert Uytterhoeven
2022-05-19  7:11       ` Geert Uytterhoeven
2022-05-19  7:11       ` Geert Uytterhoeven
2022-05-19  7:27       ` Thomas Zimmermann [this message]
2022-05-19  7:27         ` Thomas Zimmermann
2022-05-19  7:27         ` Thomas Zimmermann
2022-05-21  2:49         ` Benjamin Herrenschmidt
2022-05-21  2:49           ` Benjamin Herrenschmidt
2022-05-21  2:49           ` Benjamin Herrenschmidt
2022-05-25 16:45           ` Thomas Zimmermann
2022-05-25 16:45             ` Thomas Zimmermann
2022-05-25 16:45             ` Thomas Zimmermann
2022-05-27  0:17             ` Benjamin Herrenschmidt
2022-05-27  0:17               ` Benjamin Herrenschmidt
2022-05-27  0:17               ` Benjamin Herrenschmidt
2022-05-27  0:19             ` Benjamin Herrenschmidt
2022-05-27  0:19               ` Benjamin Herrenschmidt
2022-05-27  0:19               ` Benjamin Herrenschmidt
2022-05-21  1:35       ` Benjamin Herrenschmidt
2022-05-21  1:35         ` Benjamin Herrenschmidt
2022-05-21  1:35         ` Benjamin Herrenschmidt
2022-05-18 21:11   ` Mark Cave-Ayland
2022-05-19  6:34     ` Michal Suchánek
2022-05-19  6:34       ` Michal Suchánek
2022-05-19  6:34       ` Michal Suchánek
2022-05-19  7:39     ` Thomas Zimmermann
2022-05-20  6:19   ` Javier Martinez Canillas
2022-05-20  6:19     ` Javier Martinez Canillas
2022-05-22 19:35     ` Thomas Zimmermann
2022-05-22 19:35       ` Thomas Zimmermann
2022-05-25  3:15       ` Benjamin Herrenschmidt
2022-05-25  3:15         ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29a8201d-3c0c-eeed-81af-92b351880702@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@linux.ie \
    --cc=benh@kernel.crashing.org \
    --cc=daniel@ffwll.ch \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert@linux-m68k.org \
    --cc=javierm@redhat.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maxime@cerno.tech \
    --cc=mpe@ellerman.id.au \
    --cc=msuchanek@suse.de \
    --cc=paulus@samba.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.