[PATCH] Add m1bpp (monochrome, 1 bit/pixel) pixel format

Daniel Stone daniel at fooishbar.org
Fri Sep 15 15:23:38 UTC 2017


Hi Drew,

On 15 September 2017 at 16:21, Drew DeVault <sir at cmpwn.com> wrote:
> On 2017-09-15  6:17 PM, Pekka Paalanen wrote:
>> DRM is for driving any kind of display, GPU or not, acceleratable or
>> not. What it gives us is a standard userspace ABI to poke all display
>> devices with.
>>
>> There could be other reasons to not write a DRM driver, but "only for
>> GPU stuff" is not one.
>
> Good to know, thanks for clarifying. I hadn't dug that deeply into it.
> You're correct, though, that there are other reasons not to add it to
> DRM. There's no standard way of connecting this display to your
> computer, and there would be cause for users to want to do it
> differently if an attempt at standardization was made. That's probably a
> solvable problem, but would require extending DRM in ways that aren't
> really worth the trouble imo. It'd be cool, though.

I don't think it would involve extending DRM at all. DRM already
handles all kinds of weird panels, connected through SPI, bit-banged
I2C, DSI, and any number of transports. A lot of these require
per-platform definitions of how the panel is connected, which is done
via DeviceTree. You can look at almost any driver to see how this is
done.

Cheers,
Daniel


More information about the wayland-devel mailing list