Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Pinebook Pro



Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
>On Mon, Sep 19, 2022 at 04:57:21PM +0100, Robert Swindells wrote:
>> 
>> The lima (and panfrost) drivers need to work with a DRM framebuffer,
>> they share buffers between the GPU and framebuffer that MesaLib writes
>> to in userland.
>> 
>> The A20 console driver in the tree isn't a DRM framebuffer. I have done
>> a bit of work on converting it to a DRM driver as my Cubietruck has a
>> good selection of display connectors to try but haven't finished it.
>> Help on this bit would be welcome.
>
>As the author of the A20 framebuffer driver I can probably help with this :)

Great.

> Is there a specification of a DRM framebuffer available ?

Not really, just the Linux sources and the A64 framebuffer.

I think there can be some sharing of drivers between the A20 and A64,
the sunxi_lcdc driver is just a DRM version of your sunxi_tcon one, I
was able to use the sunxi_lcdc driver on the A20 by just adding the
device tree compat strings to it.

The bit missing seems to be a DRM driver for the A20 Display Frontend.
Not sure it needs to do very much by default but the sunxi_drm driver
walks the device tree and expects to find it.

I will generate diffs of what I have done so far.

Robert Swindells


Home | Main Index | Thread Index | Old Index