[PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays
Javier Martinez Canillas
javierm at redhat.com
Mon Jan 31 23:21:41 UTC 2022
Hello Simon,
Thanks for your feedback.
On 1/31/22 21:39, Simon Ser wrote:
> On Monday, January 31st, 2022 at 21:36, Simon Ser <contact at emersion.fr> wrote:
>
>> This driver only advertises XRGB8888 in ssd1307_formats. It would be nice to
>> expose R8 as well so that user-space can directly produce suitable buffers.
>> It would also be nice to have some kind of preferred format, so that user-space
>> knows R8 is preferred over XRGB8888.
>
> Hm, since the format used by the hw is actually R1, adding that to drm_fourcc.h
> would be even better.
>
Yes, agreed that would be nice. We discussed this already with Thomas and my
suggestion was to land the driver as is, advertising XRGB8888. Which is also
what the other driver using monochrome does (drivers/gpu/drm/tiny/repaper.c):
https://www.spinics.net/lists/dri-devel/msg331328.html
As a follow-up we can wire up al the needed bits to have a DRM/KMS driver that
could expose a R1 format.
> Let me know if you want me to type up any of the user-space bits.
>
Thanks! I also could help to add the needed support in the user-space stack.
Best reagards,
--
Javier Martinez Canillas
Linux Engineering
Red Hat
More information about the dri-devel
mailing list